diff options
Diffstat (limited to 'graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty')
-rw-r--r-- | graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty b/graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty index 5e11576ca2..ae4035128c 100644 --- a/graphics/pgf/contrib/circuitikz/doc/ctikzmanutils.sty +++ b/graphics/pgf/contrib/circuitikz/doc/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 |