summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/6-6-1.ltx
blob: 2c479a9bf791863fe5f1f02166dc085febe6c9ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
\documentclass{ppex}
\nonstopmode
\usepackage [basic,box,gate,ic,optics]{circ} \usepackage {xspace}
\pagestyle{empty}

\begin{document}
\ResetPreambleCommands
\ReadyForTheFray
\usepackage [basic,box,gate,ic,optics]{circ} \usepackage {xspace}
\providecommand{\Lcs}[1]{\mbox{\normalfont\ttfamily\char'134#1}}
\def\Clpin#1 {\expandafter\atpin\CNAME#1 \lpin{#1} }
\def\Crpin#1 {\expandafter\atpin\CNAME#1 \rpin{#1} }
\newcommand{\CC}[3]{%
    \circuit0 \csname#1\endcsname1 #2 #3 \endcircuit}
\newcommand{\CCX}[3]{%
    \circuit0 \csname#1\endcsname1 {X} #2 #3 \endcircuit}

\begin{tabular}{@{}lllll@{}}
%\hline
(variable) resistor & \Lcs{R}    & \CCX{R}{h}{}
                    & \Lcs{Rvar} & \CCX{Rvar}{S}{r}\\
(variable) capacitor & \Lcs{C}    & \CCX{C}{v}{}
                     & \Lcs{Cvar} & \CCX{Cvar}{v}{} \\
electrolytic capacitor& \Lcs{Cel} & \CCX{Cel}{u}{}       \\
(Zener) diode  & \Lcs{D} & \CCX{D}{u}{}
               & \Lcs{ZD}& \CCX{ZD}{u}{}\\
light-emitting diode & \Lcs{LED} & \CCX{LED}{u}{}       \\
capacitance-variation diode & \Lcs{Dcap} & \CCX{Dcap}{u}{}\\
(variable) voltage source & \Lcs{U}    & \CCX{U}{u}{}
                          & \Lcs{Uvar} &\CCX{Uvar}{u}{}\\
(variable) current source & \Lcs{I}    & \CCX{I}{v}{}
                          & \Lcs{IvaR} & \CCX{Ivar}{v}{}\\
voltmeter, amperemeter    & \Lcs{V}    & \CCX{I}{v}{}
                          & \Lcs{A}    & \CCX{A}{v}{}   \\
coil, switch      & \Lcs{L}           & \CCX{L}{u}{}
                  & \Lcs{S}           & \CCX{S}{v}{}         \\
quartz crystal    & \Lcs{Q}         & \CCX{Q}{h}{}         \\
incandescent lamp & \Lcs{La}     & \CCX{La}{v}{}        \\
npn- pnp-transistor& \Lcs{npn} & \qquad\CCX{npn}{B}{r}
                   & \Lcs{pnp} & \qquad\CCX{pnp}{B}{r}\\
n- p-channel FET & \Lcs{nfet}  & \qquad\CCX{nfet}{G}{r}
                 & \Lcs{pfet}  & \qquad\CCX{pfet}{G}{r}\\
n- p-channel VMOS&\Lcs{nvmos} & \qquad\CCX{nvmos}{G}{r}
                 &\Lcs{pvmos} & \qquad\CCX{pvmos}{G}{r}\\
%\hline
\end{tabular}
\end{document}