summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/yquant/yquant.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-08-17 20:49:48 +0000
committerKarl Berry <karl@freefriends.org>2021-08-17 20:49:48 +0000
commit8b106792b613d953ddec1ff0e3f1f3da0e5fd8b3 (patch)
tree3532b4e9a520d4bdfa922e0a331f136358404e2b /Master/texmf-dist/tex/latex/yquant/yquant.sty
parentf1eec09cda1fe0f51c7dd3c722cbc8621e6d1295 (diff)
yquant (17aug21)
git-svn-id: svn://tug.org/texlive/trunk@60259 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/yquant/yquant.sty')
-rw-r--r--Master/texmf-dist/tex/latex/yquant/yquant.sty11
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/yquant/yquant.sty b/Master/texmf-dist/tex/latex/yquant/yquant.sty
index e98878845ce..e10d86a2871 100644
--- a/Master/texmf-dist/tex/latex/yquant/yquant.sty
+++ b/Master/texmf-dist/tex/latex/yquant/yquant.sty
@@ -15,7 +15,7 @@
%
% The Current Maintainer of this work is Benjamin Desef.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{yquant}[2021/07/03 v0.4.1 Yet another quantum circuit library for LaTeX]
+\ProvidesPackage{yquant}[2021/08/17 v0.5 Yet another quantum circuit library for LaTeX]
\RequirePackage{etoolbox}[2018/02/11]
\RequirePackage{tikz}[2015/08/29]
@@ -32,7 +32,7 @@
}
\ProcessOptionsX
\unless\ifdefined\yquant@compat
- \PackageWarning{yquant.sty}{Please specify the `compat` key for yquant. Using `0.3`. Current version is `0.4`.}
+ \PackageWarning{yquant.sty}{Please specify the `compat` key for yquant. Using `0.3`. Current compatibility version `0.4`.}
\def\yquant@compat{1}
\fi
@@ -51,8 +51,11 @@
% usually, \\ is robust; but when using \centering, it is \let to \@centercr, which is not robust (probably because this happens only when not protecting). Fix this, so that \\ does not require \protect if a centered circuit is drawn.
\robustify\@centercr
-\outer\def\useyquantlanguage#1{%
- \RequirePackage{yquantlanguage-#1}
+\def\useyquantlanguage@#1{%
+ \RequirePackage{yquantlanguage-#1}%
+}
+\outer\def\useyquantlanguage{%
+ \forcsvlist\useyquantlanguage@
}
\endinput