summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex-graphics-companion/6-6-4.ltx
blob: c8bae701354b7d48ccf8297f5e6d35a20427c9d5 (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
\documentclass{ppex}
\nonstopmode
\usepackage [basic]{circ}
\pagestyle{empty}
\setlength\textwidth{135.0pt}
\begin{document}
\ResetPreambleCommands
\ReadyForTheFray
\usepackage [basic]{circ}
\begin{circuit}{0}
\npn1 {?} B l    % transistor in the center
\frompin npn1C   % draw from the collector
\- 1 u           % a little line up
\nl\A1 {$I_C$} v % meter for collector current
\atpin npn1B     % next draw from base
\- 1 l           % a little line left
\<\R1 {510 k$\Omega$} h  % resistance on base
\- 1 l           % one more little line left
\centerto A1     % and align on first A-meter
\nl\A2 {$I_B$} v % draw second A-meter
\frompin A2d     % connect second A-meter to
\vtopin R1l      % resistance.
\frompin A1u
\- 1 u \.1       % Connection point
\frompin A2u
\vtopin .1
\htopin .1       % connect second A-meter to 1.
\- 1 u \cc\connection1
      {$U_b$} u  % connect to voltage
\frompin npn1E   % connect emitter to ground
\- 1 d  \GND1    % ground
\end{circuit}
\end{document}