Debian Codegraph @

texmf-dist/doc/latex/circuit-macros/examples/Inductors.m4

raw
1 .PS
2 # Inductors.m4
3 cct_init
4 ifpostscript(,latexcommand({\tt)) # disable "command" for psfrag
5
6 movewid = 2 pt__
7 hm = 2.05
8 vm = 0.4
9 { {I: inductor ; move ;"`{inductor}'" ljust}
10 move right_ hm
11 {inductor(,W); move ;"`{inductor(,W)}'" ljust}
12 move right_ hm
13 {inductor(,L); move ;"`{inductor(,L)}'" ljust}
14 }
15
16 move down vm; right_
17 { {inductor(,,3,M) ; move ;"`{...(,,3,M)}'" ljust}
18 move right_ hm
19 {inductor(,W,6,P1); variable; move
20 "`...(,W,6,P1);'" ljust "`variable'" ljust}
21 move right_ hm
22 {inductor(,L,9,K); move ;"`{...(,L,9,K)}'" ljust}
23 }
24
25 move down vm; right_
26 { {inductor(,,,M3); addtaps(-,1/2,-dimen_/6); move; `"...(,{,},M3)"' ljust
27 {`"addtaps(-,1/2,-dimen\_/6)"' ljust at (I.start,last ""+(0,-0.2)) }
28 }
29 move right_ hm
30 {ebox(,,,0) ; move ;"`{ebox(,{,},0)}'" ljust}
31 move right_ hm -10bp__
32 {TI: tapped(`ebox(,,,0)',-,1/4,-dimen_/6,3/4,-dimen_/6) ; move ;
33 "`tapped(\char96{}ebox(,{,},0)\char39,'" ljust at Here+(10bp__,3bp__)
34 "`-,1/4,-dimen\_/6,'" ljust at last ""+(0,-11pt__)
35 "`3/4,-dimen\_/6)'" ljust at last ""+(0,-11pt__)
36 "\sl Tap1" at TI.Tap1 rjust below
37 "\sl Tap2" at TI.Tap2 ljust below }
38 }
39
40 move down vm*5/4; right_
41 { {shielded(`inductor(,,,M)') ; move
42 `"shielded("' ljust `"\char96inductor(,{,},M)\char39)"' ljust
43 move to (3rd last line.start,Here)
44 shielded(`ebox(,,,0)',R) ; move; `"shielded(`ebox(,{,},0)',R)"' ljust }
45 }
46
47 ifpostscript(,latexcommand(}))
48 .PE