diff options
author | Karl Berry <karl@freefriends.org> | 2020-03-24 20:57:29 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-03-24 20:57:29 +0000 |
commit | 2788d9fb9b228a993b9396b91c9fcd4845635b64 (patch) | |
tree | 134367b5ecbcd84d94aa0946a6aa94be11b92027 /Master/texmf-dist/tex/latex/yquant/yquant.sty | |
parent | 5de4049c3701b77b230e19cd22c0f1b0e3ac762e (diff) |
yquant (24mar20)
git-svn-id: svn://tug.org/texlive/trunk@54527 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.sty | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/yquant/yquant.sty b/Master/texmf-dist/tex/latex/yquant/yquant.sty new file mode 100644 index 00000000000..25c0873b70e --- /dev/null +++ b/Master/texmf-dist/tex/latex/yquant/yquant.sty @@ -0,0 +1,40 @@ +% yquant.sty +% Typesetting quantum circuits using a flow-oriented language +% +% Copyright 2019-2020 Benjamin Desef +% +% This work may be distributed and/or modified under the conditions of the LaTeX Project +% Public License, either version 1.3 of this license or (at your option) any later +% version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or +% later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The Current Maintainer of this work is Benjamin Desef. +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{yquant}[2020/03/22 v0.1.1 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} + +\input yquant-config.tex +\input yquant-tools.tex +\input yquant-registers.tex +\input yquant-env.tex +\input yquant-langhelper.tex +\input yquant-circuit.tex +\input yquant-draw.tex +\input yquant-shapes.tex +\input yquant-lang.tex + +% 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 + +\endinput +%% +%% End of file `yquant.sty'.
\ No newline at end of file |