Debian Codegraph @

texmf-dist/doc/latex/circuit-macros/examples/dpv/ResistorsDPV.m4

raw
1 .PS
2 # ResistorsDPV.m4
3 cct_init(svg_font(sans-serif,11pt__))
4 textwid = 1.5
5
6 movewid = 2 pt__
7 hm = 2.05
8 vm = 0.28
9 { {A:resistor ; move ;"`resistor'" ljust}
10 move right_ hm
11 {Q:resistor(,4,QR); move ;"`...(,4,QR) '" ljust}
12 move right_ hm
13 {V:resistor(,,V) ; move ; "`...(,,V)'" ljust}
14 }
15
16 move down vm; right_
17 { {B:resistor(,,B) ; move ;"`...(,,B)'" ljust}
18 move right_ hm
19 {F:resistor(,,F) ; move ;"`...(,,F) '" ljust}
20 move right_ hm
21 {H:resistor(,4,H); move;"`...(,4,H) '" ljust}
22 }
23
24 move down vm; right_
25 { {E:resistor(,,E) ; move ; "`...(,,E)' svg_equiv `ebox'" ljust}
26 move right_ hm
27 {ES:resistor(,,ES); move ; "`...(,,ES) '" ljust}
28 move right_ hm
29 {EX:resistor(,,EX); move ; "`...(,,EX) '" ljust}
30 }
31 move down vm*1.1; right_
32 { {AC:resistor(,,AC) ; move ;"`...(,,AC)'" ljust}
33 move right_ hm
34 {LD:resistor(,type=LD;env=fill_(0.9)) ; move
35 "`...(,type=LD;env=fill_(0.9))'" ljust}
36 }
37 move down vm*1.1; right_
38 {
39 {T:resistor(,type=T;env=fill_(0.9)) ; move
40 "`...(,type=T;" ljust "env=fill_(0.9))'" ljust}
41 move right_ hm
42 {LDE:resistor(,type=LDE;env=fill_(0.9);body=fill_(1)) ; move
43 "`...(,type=LDE;env=fill_(0.9);'" ljust "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 "`ebox(,wdth=0.2;box=dashed shaded \"green\";text=\"H\")'" ljust}
50 }
51
52 command "</g>" # end font
53 .PE