Debian Codegraph @

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

raw
1 .PS
2 # RelayDPV
3 cct_init
4 svg_font(sans-serif,10bp__)
5
6 skip = 1.1
7
8 R1:relay
9 {"svg_it(V1)" wid 0.16 rjust at last [].V1
10 "svg_it(V2)" ljust at last [].V2
11 "svg_it(P1)" rjust at last [].P1-(dotrad_,0)
12 "svg_it(O1)" ljust at last [].O1
13 "svg_it(C1)" ljust at last [].C1 }
14 S: "svg_tt(`relay')" at last [].s+(0,-0.2)
15
16 R5:relay(2,CTh) with .sw at last [].sw+(skip,0)
17 { for_(1,2,1,`
18 "svg_it(P`'m4x)" rjust at last [].P`'m4x-(dotrad_,0)
19 "svg_it(C`'m4x)" ljust at last [].C`'m4x ') }
20 "svg_tt((2,CTh))" at (last [],S)
21
22 R4:relay(2,O) with .sw at last [].sw+(skip,0)
23 {for_(1,2,1,`
24 "svg_it(P1)" rjust at last [].P1-(dotrad_,0)
25 "svg_it(O`'m4x)" ljust at last [].O`'m4x ')}
26 "svg_tt((2,O))" at (last [],S)
27
28 R3:relay(2,PIAX) with .sw at last [].sw+(skip,0)
29 {"svg_it(V1)" rjust at last [].V1
30 "svg_it(V2)" rjust at last [].V2
31 for_(1,2,1,`
32 "svg_it(P`'m4x)" rjust at last [].P`'m4x-(dotrad_,0)
33 "svg_it(O`'m4x)" ljust at last [].O`'m4x+(dotrad_,0)
34 "svg_it(C`'m4x)" ljust at last [].C`'m4x+(dotrad_,-2pt__) ') }
35 "svg_tt((2,PIAX))" at (last [],S)
36
37 R2:relay(2,R) with .sw at last [].sw+(skip,0)
38 {"svg_it(V1)" rjust at last [].V1
39 "svg_it(V2)" wid 0.2 ljust at last [].V2
40 for_(1,2,1,`
41 "svg_it(P`'m4x)" rjust at last [].P`'m4x-(dotrad_,0)
42 "svg_it(O`'m4x)" ljust at last [].O`'m4x
43 "svg_it(C`'m4x)" ljust at last [].C`'m4x ') }
44 "svg_tt(`relay(2,R)')" at (last [],S)
45
46 command "</g>)" # end font
47 .PE