diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty b/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty index 3c5b38eb28c..68b1bd37b75 100644 --- a/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty +++ b/Master/texmf-dist/doc/latex/circuitikz/ctikzmanutils.sty @@ -106,7 +106,7 @@ } %% New circuit description macros \newcommand{\twopartbox}[2]{% - \leavevmode\null\par\noindent\fbox{\parbox[c]{0.3\linewidth}{#1} \parbox[c]{0.6\linewidth}{\raggedright #2}\par\noindent}% + \leavevmode\null\par\noindent\fbox{\parbox[c]{0.3\linewidth}{#1} \parbox[c]{0.6\linewidth}{\RaggedRight #2}\par\noindent}% } % filling color for filled-enabled component \colorlet{fillcol}{cyan!30!white} @@ -142,7 +142,7 @@ \foreach \n/\a/\d in {#7} \path(N-\n) \showcoordb(N-\n)<\a:\d>; } \end{circuitikz}% - }{\sloppy% + }{\sloppy {#4, type: node\IfBooleanT{#1}{, fillable}% } (\texttt{node[\detokenize{#3}]\IfValueT{#7}{(N)}\{\detokenize{#5}\}}). \index{#3}% \checkclass{N}% @@ -157,7 +157,7 @@ % optional between []: internal nodes specification list % 1 2 3 4 5 6 7 8 \NewDocumentCommand{\circuitdescbip}{s o m d<> m m d() d[]} -{ +{% \index{#3} \tikz\foreach \i in {#6} {\index{\i|see{#3}} }; \twopartbox{% \begin{circuitikz} @@ -173,16 +173,15 @@ \foreach \n/\a/\d in {#8} \path(B-\n) \showcoordb(B-\n)<\a:\d>; } \end{circuitikz}% - }{\sloppy% + }{\sloppy \texttt{\textbf{#3}}: #5, \texttt{type: path-style\IfBooleanT{#1}{, fillable}% \IfValueT{#8}{, \texttt{name=B}}% - \IfValueTF{#4}{, nodename: #4.}{ + \IfValueTF{#4}{, nodename: #4.}{% \IfValueTF{#2}{, nodename: #2shape.%\drawphantomshape{#2shape}% }{, nodename: #3shape.%\drawphantomshape{#3shape}% }}% }% - \ifthenelse{\equal{#6}{}}{ }{% - Aliases: \texttt{#6}. }\checkclass{B}% + \ifthenelse{\equal{#6}{}}{ }{ Aliases: \texttt{#6}. }\checkclass{B}% }% } |