summaryrefslogtreecommitdiff
path: root/graphics/pgf/contrib/yquant/tex/yquant.sty
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pgf/contrib/yquant/tex/yquant.sty')
-rw-r--r--graphics/pgf/contrib/yquant/tex/yquant.sty9
1 files changed, 7 insertions, 2 deletions
diff --git a/graphics/pgf/contrib/yquant/tex/yquant.sty b/graphics/pgf/contrib/yquant/tex/yquant.sty
index c402c6342c..2395f67462 100644
--- a/graphics/pgf/contrib/yquant/tex/yquant.sty
+++ b/graphics/pgf/contrib/yquant/tex/yquant.sty
@@ -11,17 +11,18 @@
% and version 1.3c or later is part of all distributions of LaTeX version 2005/12/01 or
% later.
%
-% This work has the LPPL maintenance status `maintained'.
+% This work has the LPPL maintenance status `author-maintained'.
%
% The Current Maintainer of this work is Benjamin Desef.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{yquant}[2020/04/11 v0.1.2 Yet another quantum circuit library for LaTeX]
+\ProvidesPackage{yquant}[2020/06/13 v0.3 Yet another quantum circuit library for LaTeX]
\RequirePackage{etoolbox}[2018/02/11]
\RequirePackage{tikz}[2015/08/29]
\RequirePackage{trimspaces}[2009/09/17]
\usetikzlibrary{arrows.meta,decorations.pathreplacing,decorations.pathmorphing}
+\newif\ifyquantdebug
\input yquant-config.tex
\input yquant-tools.tex
\input yquant-registers.tex
@@ -35,6 +36,10 @@
% 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}
+}
+
\endinput
%%
%% End of file `yquant.sty'. \ No newline at end of file