summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/yquant/yquant.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/yquant/yquant.sty')
-rw-r--r--Master/texmf-dist/tex/latex/yquant/yquant.sty19
1 files changed, 17 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/yquant/yquant.sty b/Master/texmf-dist/tex/latex/yquant/yquant.sty
index 2d6631b8f2b..ecbee654e01 100644
--- a/Master/texmf-dist/tex/latex/yquant/yquant.sty
+++ b/Master/texmf-dist/tex/latex/yquant/yquant.sty
@@ -1,7 +1,7 @@
% yquant.sty
% Typesetting quantum circuits using a flow-oriented language
%
-% Copyright 2019-2020 Benjamin Desef
+% Copyright 2019-2021 Benjamin Desef
%
% This work may be distributed and/or modified under the conditions of the LaTeX Project
% Public License, either version 1.3c of this license or (at your option) any later
@@ -15,13 +15,27 @@
%
% The Current Maintainer of this work is Benjamin Desef.
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{yquant}[2020/10/27 v0.3.3 Yet another quantum circuit library for LaTeX]
+\ProvidesPackage{yquant}[2021/03/27 v0.4 Yet another quantum circuit library for LaTeX]
\RequirePackage{etoolbox}[2018/02/11]
\RequirePackage{tikz}[2015/08/29]
\RequirePackage{trimspaces}[2009/09/17]
+\RequirePackage{xkeyval}[2005/05/07]
\usetikzlibrary{arrows.meta,decorations.pathreplacing,decorations.pathmorphing}
+\define@choicekey+{yquant.sty}{compat}[\val\yquant@compat]{newest,0.3,0.4}{
+ \ifnum\yquant@compat=0 %
+ \def\yquant@compat{2} % current version
+ \fi%
+}{
+ \PackageWarning{yquant.sty}{Invalid value for `compat` key specified. Using `0.3`.}
+}
+\ProcessOptionsX
+\unless\ifdefined\yquant@compat
+ \PackageWarning{yquant.sty}{Please specify the `compat` key for yquant. Using `0.3`. Current version is `0.4`.}
+ \def\yquant@compat{1}
+\fi
+
\newif\ifyquantdebug
\input yquant-config.tex
\input yquant-tools.tex
@@ -29,6 +43,7 @@
\input yquant-env.tex
\input yquant-langhelper.tex
\input yquant-circuit.tex
+\input yquant-prepare.tex
\input yquant-draw.tex
\input yquant-shapes.tex
\input yquant-lang.tex