From 77362f5f4b083c21c2044b0c54d228da42804c72 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 1 Dec 2022 03:01:22 +0000 Subject: CTAN sync 202212010301 --- graphics/circuit_macros/examples/files.tex | 128 ++++++++++++++++++----------- 1 file changed, 78 insertions(+), 50 deletions(-) (limited to 'graphics/circuit_macros/examples/files.tex') diff --git a/graphics/circuit_macros/examples/files.tex b/graphics/circuit_macros/examples/files.tex index 22c3a5c5fd..4a90ac0332 100644 --- a/graphics/circuit_macros/examples/files.tex +++ b/graphics/circuit_macros/examples/files.tex @@ -61,6 +61,12 @@ \src{Fuses.m4}.} } +\bfig{ + \centerline{\getpic{Arresters}} + \caption{The {\tt arrester} macro + \src{Arresters.m4}.} + } + \bfig{ \centerline{\getpic{MoreTable}} \caption{Additional two-terminal elements @@ -152,12 +158,12 @@ \src{Pconn.m4}.} } -\bfig{ +\ifmpost\else\ifpostscript\else\bfig{ \centerline{\getpic{EVplugs}} \caption{Electric vehicle charging plug patterns make extensive use of {\sl key=value} pairs to set options \src{EVplugs.m4}.} - } + }\fi\fi \bfig{ \centerline{\getpic{Headers}} @@ -411,6 +417,12 @@ } \end{sidewaysfigure} %}% \end{landscape} +\bfig{ + \centerline{\getpic{UNO}} + \caption{An Arduino UNO circuit adapted and redrawn + \src{UNO.m4}.} + } + \bfig{ \centerline{\getpic{Tubediags}} \caption{Electron-tube diagrams: a few bottom-view base diagrams, @@ -515,28 +527,28 @@ \src{ex00.m4}.} } -\bfig{ +\ifmpost\else\ifpostscript\else\bfig{ \centerline{\getpic{EEP}} \caption{A test of experimental single-line diagram macros \src{EEP.m4}.} - } + }\fi\fi -\bfig{ - \centerline{\getpic{control}} - \caption{Control-system block diagrams - \src{control.m4}.} - } +\ifpostscript\else\bfig{ + \centerline{\getpic{ex05}} + \caption{Use of {\tt darrow} and {\tt Darc} + \src{ex05.m4}.} + }\fi \bfig{ \centerline{\getpic{GrayCode}} - \caption{Gray code 10-bit encoder disk pattern + \caption{Gray code 10-bit encoder disk pattern and a crossbar switch \src{GrayCode.m4}.} } \bfig{ - \centerline{\getpic{Crossbar}} - \caption{A crossbar switch - \src{Crossbar.m4}.} + \centerline{\getpic{control}} + \caption{Control-system block diagrams + \src{control.m4}.} } \bfig{ @@ -559,6 +571,24 @@ \src{ex06.m4}.} } +\bfig{ + \centerline{\getpic{Geometry}} + \caption{Some geometrical constructions + \src{Geometry.m4}.} + } + +\bfig{ + \centerline{\getpic{Loglog}} + \caption{A graph drawn using the pic language + \src{Loglog.m4}.} + } + +\ifmpost\else\bfig{ + \centerline{\getpic{Smithchart}} + \caption{A Smith chart + \src{Smithlchart.m4}.} + }\fi + \bfig{ \centerline{\getpic{ex09}} \caption{Illustrating the macro @@ -583,19 +613,6 @@ \src{Plate.m4}.} } -\bfig{ - \centerline{\getpic{ex05}} - \caption{The Kalman canonical decomposition of a dynamical system: - use of {\tt darrow} - \src{ex05.m4}.} - } - -\bfig{ - \centerline{\getpic{Loglog}} - \caption{A graph drawn using the pic language - \src{Loglog.m4}.} - } - \bfig{ \centerline{\getpic{random}} \caption{Testing random number generation using @@ -631,17 +648,28 @@ \src{csc.m4}.} } -\bfig{ - \centerline{\getpic{rose}} - \caption{Redrawn from a detail of the set design for the musical - {\it Dracula,} used for testing {\tt dpic}. This diagram - consumes much \LaTeX\ main memory but can be produced - directly as pdf using \hbox{\tt dpic -d}, - as svg using \hbox{\tt dpic -v}, - or as postscript using \hbox{\tt dpic -r} - since no text formatting is required +\ifpostscript\bfig{% For psfrag + \includegraphics[width=\textwidth]{rose.eps} %\centerline{\getpic{rose}} + \caption{The left object, used for testing {\tt dipic,} is redrawn from + a detail of the set design for the musical {\it Dracula.} This + consumes much \LaTeX\ main memory but can be produced directly + as pdf using \hbox{\tt dpic -d}, as svg using \hbox{\tt dpic -v}, + or as postscript using \hbox{\tt dpic -r} since no text formatting + is required. The right object adjusts the size of dots to produce + a halftone effect \src{rose.m4}.} - } + }\else% +\ifmpost\else\bfig{% + \includegraphics[width=\textwidth]{rose.pdf} %\centerline{\getpic{rose}} + \caption{The left object, used for testing {\tt dipic,} is redrawn from + a detail of the set design for the musical {\it Dracula.} This + consumes much \LaTeX\ main memory but can be produced directly + as pdf using \hbox{\tt dpic -d}, as svg using \hbox{\tt dpic -v}, + or as postscript using \hbox{\tt dpic -r} since no text formatting + is required. The right object adjusts the size of dots to produce + a halftone effect + \src{rose.m4}.} + }\fi\fi \bfig{ \centerline{\getpic{diamond}} @@ -662,12 +690,18 @@ \src{Buttons.m4}.} } +\ifmpost\else\ifpostscript\else\bfig{% Exclude mpost and psfrag + \includegraphics[scale=0.7]{keyboard.pdf} %\centerline{\getpic{keyboard}} + \caption{This diagram has been produced as svg with dpic -v + (then converted to pdf for inclusion in examples.pdf) + \src{keyboard.m4}.} + }\fi\fi + \bfig{ \centerline{\getpic{Dini}} \caption{Dini surface and an icosahedron \src{Dini.m4}.} } -\clearpage \bfig{ \centerline{\getpic{Sierpinski}} @@ -708,17 +742,11 @@ \bfig{ \centerline{\getpic{Btree}} - \caption{A binary tree + \caption{Trees \src{Btree.m4}.} } \ifmpost\else% Tex capacity exceeded at this point under metapost -\bfig{ - \centerline{\getpic{Ttree}} - \caption{Another tree - \src{Ttree.m4}.} - } - % Overlaying a figure with line graphics depends on the postprocessor: \ifpst% PSTricks \bfig{% @@ -744,18 +772,18 @@ \bfig{% \centerline{\boxdims{InclA}{%ignore% \includegraphics[width=3in]{../Incl}}% - \hspace*{-3in}\includegraphics{Inclpdf}}% + \hspace*{-3in}\includegraphics{Incleps}}% \caption{Overlaying a figure with line graphics %ignore% - \src{Inclpdf.m4}.} + \src{Incleps.m4}.} } \else\ifpostscript% Postscript with psfrag (.eps.gz not allowed) -\bfig{% +ifpostscript(,\bfig{% \centerline{\boxdims{InclA}{%ignore% \includegraphics[width=3in]{Incl.eps}}% - \hspace*{-3in}\includegraphics{Inclpdf.eps}}% + \hspace*{-3in}\includegraphics{Incleps.eps}}% \caption{Overlaying a figure with line graphics %ignore% - \src{Inclpdf.m4}.} - } + \src{Incleps.m4}.} + }) \fi\fi\fi\fi\fi \fi % ifmpost -- cgit v1.2.3