diff options
author | Karl Berry <karl@freefriends.org> | 2020-01-23 21:55:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-01-23 21:55:34 +0000 |
commit | 3cbe503dbda14b8212adf6cad6bfb8fd7882f427 (patch) | |
tree | 8ccfafbbf4144b832ab2a077ffaee017d053509d /Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty | |
parent | f74db910cfdba799460326738cc42e0ee57c3366 (diff) |
circuitikz (23jan20)
git-svn-id: svn://tug.org/texlive/trunk@53515 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty b/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty index 5e11576ca24..ae4035128c1 100644 --- a/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty +++ b/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty @@ -3,6 +3,7 @@ \RequirePackage{ifthen} \RequirePackage{xparse} \RequirePackage{showexpl} +\RequirePackage{ragged2e} % % The following trick is used to silence showexpl a bit, so that the % logs are readable... @@ -61,7 +62,7 @@ \end{circuitikz}% }{\sloppy% {#4, type: node\IfBooleanT{#1}{, fillable}% - } (\texttt{node[#3]\IfValueT{#7}{(N)}\{#5\}}). \index{#3}% + } (\texttt{node[\detokenize{#3}]\IfValueT{#7}{(N)}\{\detokenize{#5}\}}). \index{#3}% \checkclass{N}% }% } @@ -131,14 +132,14 @@ } -\def\geolrcoord#1{\showanchors{#1}{text}(north/90/0.4, north east/45/0.4, east/0/0.4, +\newcommand{\geolrcoord}[2][]{\showanchors[#1]{#2}{text}(north/90/0.4, north east/45/0.4, east/0/0.4, south east/-45/0.4, south/-90/0.4, south west/-135/0.4, west/180/0.4, north west/135/0.4, left/160/0.4, right/30/0.4, center/-120/0.3 ) } -\def\geocoord#1{\showanchors{#1}{text}(north/90/0.4, north east/45/0.4, east/0/0.4, +\newcommand{\geocoord}[2][]{\showanchors[#1]{#2}{text}(north/90/0.4, north east/45/0.4, east/0/0.4, south east/-45/0.4, south/-90/0.4, south west/-135/0.4, west/180/0.4, north west/135/0.4, center/-120/0.3 |