summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/yquant/yquant-lang.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-12-28 22:48:51 +0000
committerKarl Berry <karl@freefriends.org>2021-12-28 22:48:51 +0000
commit3a8f490ec582c95b7adc117b1f8d3debb60b7f88 (patch)
tree555a386e2cd67bb1f172b2a5d65bbfe983ff60df /Master/texmf-dist/tex/latex/yquant/yquant-lang.tex
parentad334beadbb0679b7608a2d9612050802d5273d1 (diff)
yquant (28dec21)
git-svn-id: svn://tug.org/texlive/trunk@61429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/yquant/yquant-lang.tex')
-rw-r--r--Master/texmf-dist/tex/latex/yquant/yquant-lang.tex15
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/yquant/yquant-lang.tex b/Master/texmf-dist/tex/latex/yquant/yquant-lang.tex
index 8658d3af9fa..cc882a7ffb0 100644
--- a/Master/texmf-dist/tex/latex/yquant/yquant-lang.tex
+++ b/Master/texmf-dist/tex/latex/yquant/yquant-lang.tex
@@ -298,7 +298,7 @@
% usually, we will not be in a tikzpicture here, so all the commands that abbreviate some path operation are undefined!
\tikz@installcommands%
% While we want the content to be expanded, protect the most likely TikZ commands - the same ones that we usually substitute in \yquant@env@substikz.
- \protected\def\path{}%
+ \let\path=\yquant@protectedempty%
\let\scoped=\path%
\let\scope=\path%
\let\endscope=\path%
@@ -362,7 +362,7 @@
\def\yquantdefinebox@#1#2{%
\@ifnextchar[{\yquantdefinebox@i{#1}{#2}}%
- {\yquantdefinebox@i{#1}{#2}[/yquant/operators/every box]}%
+ {\yquantdefinebox@i{#1}{#2}[/yquant/operators/every rectangular box]}%
}
\protected\long\def\yquantdefinebox@i#1#2[#3]#4{%
@@ -393,6 +393,16 @@
}
\yquant@langhelper@setup@attrs{box}{value}{}
+\yquant@langhelper@declare@command%
+ {text}%
+ \yquant@register@get@allowmultitrue%
+ {%
+ \expandafter\yquant@prepare%
+ \expandafter{\yquant@lang@attr@value}%
+ {/yquant/operators/every text}%
+ }
+\yquant@langhelper@setup@attrs{text}{value}{}
+
% Hadamard
\yquantdefinebox{h}{$H$}
@@ -601,6 +611,7 @@
{init}%
{%
\yquant@register@get@allowmultitrue%
+ \let\yquant@config@register@default@lazyname=\empty%
% we will count how many registers contain the "clean" flag, and only if this is equal to the number of targets, we apply the shift.
\count8=0 %
}%