Debian Codegraph @

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

raw
1 .PS
2 # Resistors.m4
3 cct_init
4
5 movewid = 2 pt__
6 hm = 2.05
7 vm = 0.28
8 { {A:resistor ; move ;"`{\tt resistor}'" ljust}
9 move right_ hm
10 {Q:resistor(,4,QR); move ;"`\tt $\ldots$(,4{,}QR) '" ljust}
11 move right_ hm
12 {V:resistor(,,V) ; move ; "`{\tt $\ldots$(,{,}V)}'" ljust}
13 }
14
15 move down vm; right_
16 { {B:resistor(,,B) ; move ;"`{\tt $\ldots$(,{,}B)}'" ljust}
17 move right_ hm
18 {F:resistor(,,F) ; move ;"`\tt $\ldots$(,{,}F) '" ljust}
19 move right_ hm
20 {H:resistor(,4,H); move;"`\tt $\ldots$(,4{,}H) '" ljust}
21 }
22
23 move down vm; right_
24 { {E:resistor(,,E) ; move ; "`\tt $\ldots$(,{,}E)$\equiv$ebox'" ljust}
25 move right_ hm
26 {ES:resistor(,,ES); move ; "`\tt $\ldots$(,{,}ES) '" ljust}
27 move right_ hm
28 {EX:resistor(,,EX); move ; "`\tt $\ldots$(,{,}EX) '" ljust}
29 }
30 move down vm*1.1; right_
31 { {AC:resistor(,,AC) ; move ;"`{\tt $\ldots$(,{,}AC)}'" ljust}
32 move right_ hm
33 {LD:resistor(,type=LD;env=fill_(0.9)) ; move
34 "`\tt $\ldots$(,type=LD;env=fill\_(0.9))'" ljust}
35 }
36 move down vm*1.1; right_
37 {
38 {T:resistor(,type=T;env=fill_(0.9)) ; move
39 "`\tt $\ldots$(,type=T;" ljust "\tt env=fill\_(0.9))'" ljust}
40 move right_ hm
41 {LDE:resistor(,type=LDE;env=fill_(0.9);body=fill_(1)) ; move
42 "`\tt $\ldots$(,type=LDE;env=fill\_(0.9);'" ljust \
43 "\tt body=fill\_(1))'" ljust}
44 }
45
46 move down vm*1.1; right_
47 {
48 {ebox(,wdth=0.2;box=dashed shaded "green";text="H") ; move
49 "`\tt ebox(,wdth=0.2;box=dashed shaded \"green\";text=\"H\")'" ljust}
50 }
51
52 .PE