<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%% 
%%  The LaTeX Graphics Companion, 2ed (first printing May 2007)
%% 
%%  Example 8-6-1 on page 577.
%% 
%%  Copyright (C) 2007 Michel Goossens, Frank Mittelbach, Denis Roegel, Sebastian Rahtz, Herbert Vo\ss 
%% 
%%  It 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.
%% 
%%  See http://www.latex-project.org/lppl.txt for details.
%% 

\documentclass{ttctexa}
\pagestyle{empty}
\setcounter{page}{6}
\setlength\textwidth{427.6677pt}

\StartShownPreambleCommands
\usepackage[basic]{circ}
\usepackage{array}
\StopShownPreambleCommands
\begin{document}
\providecommand{\Lcs}[1]{\mbox{\normalfont\ttfamily\char'134#1}}
\def\cdef#1 #2 #3 {%
\Lcs{#1}&amp;\raisebox{\depth}%
   {\begin{circuit}0 \csname #1\endcsname{n} {\,} #2 \end{circuit}}
&amp;}
\def\cdefiv#1 #2 #3 {%
\Lcs{#1} &amp;\raisebox{\depth}%
   {\begin{circuit}0 \csname #1\endcsname{n} {\,} #3 #2 \end{circuit}}
&amp;}
\def\cdefviii#1 #2 #3{%
\Lcs{#1}&amp;\raisebox{\depth}%
   {\begin{circuit}0 \csname #1\endcsname{n} {\,} : u \end{circuit}}
&amp;}
\setlength{\extrarowheight}{5mm}
\begin{tabular}{@{}llclclcl@{}}
ground and junction &amp;
\Lcs{GND}&amp; \raisebox{\depth}{\begin{circuit}0 \GND{n} \end{circuit}} &amp;
\Lcs{gnd}&amp; \raisebox{\depth}{\begin{circuit}0 \gnd{n} \end{circuit}} &amp;
\Lcs{.}  &amp; \begin{circuit}0 \.{n} \end{circuit}
\\
resistors and capacitor &amp;
\cdef         R     l     {resistor}
\cdefviii     Rvar  U     {variable resistor}
\cdef         C     u     {capacitor}
\\
capacitors and diode &amp;
\cdef         Cvar  u     {variable capacitor}
\cdefiv       Cel   u     -
\cdefiv       D     u     K
\\
various diodes &amp;
\cdefiv       ZD    u     K
\Lcs{LED} &amp; \begin{circuit}0 \LED{n} {\,} K u \end{circuit}
&amp;
\cdefiv       Dcap  u     K
\\
sources &amp;
\cdefiv       U     u     +
\cdefiv       Uvar  u     +
\cdef         I     u     {current source}
\\
source and meters &amp;
\cdef         Ivar  u     {variable current source}
\cdef         V     u     {voltmeter}
\cdef         A     u     {amperemeter}
\\
coil, crystal &amp;
\cdefiv       L     u     .
\cdef         xtal  u     {quartz crystal}
\\
lamps, switch &amp;
\cdef         La    u    {incandescent lamp}
\cdef         GasLa u    {gas lamp}
\cdef         S     u     {switch}
\\
(photo) transistors &amp;
\cdefviii     npnEC T     {npn-transistor (no base)}
\cdefviii     pnp   T     {pnp-transistor}
\Lcs{npnPH} &amp; \begin{circuit}0 \npnPH{n} {\,} E l \end{circuit}
\\
FET and VMOS &amp;
\cdefviii     nfet  T     {n-channel FET}
\cdefviii     pfet  T     {p-channel FET}
\cdefviii     nvmos T     {}
\\
VMOS &amp;
\cdefviii     pvmos T     {}
\cdefviii     namos T     {}
\cdefviii     pamos T     {}
\end{tabular}
\end{document}
</pre></body></html>