Debian Codegraph @

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

raw
1 .PS
2 # ContactDPV
3 cct_init
4 svg_font(sans-serif,11bp__)
5
6 movw = 0.45
7 {
8 contact
9 {S:"svg_tt(`contact')" at last [].s+(0,-0.15)
10 "svg_it(`P')" rjust at last [].P.w
11 "svg_it(`O')" ljust at last [].O
12 "svg_it(`C')" ljust at last [].C }
13 move right_ movw; contact(R)
14 {"svg_tt(`(R)')" at (last [].s,S)
15 "svg_it(`P')" rjust at last [].P.w
16 "svg_it(`O')" ljust at last [].O
17 "svg_it(`C')" ljust at last [].C }
18 move right_ movw; contact(O); {"svg_tt(`(O)')" at (last [],S)}
19 move right_ movw; contact(C); {"svg_tt(`(C)')" at (last [],S)}
20
21 move right_ movw; contact(P)
22 {S: "svg_tt(`(P)')" at last [].s+(0,-0.15)
23 "svg_it(`P')" rjust at last [].P.w
24 "svg_it(`O')" ljust at last [].O
25 "svg_it(`C')" ljust at last [].C }
26 move right_ movw; contact(PR)
27 {S: "svg_tt(`(PR)')" at last [].s+(0,-0.15)
28 "svg_it(`P')" rjust at last [].P.w
29 "svg_it(`O')" ljust at last [].O
30 "svg_it(`C')" ljust at last [].C }
31 move right_ movw; contact(PO); {"svg_tt(`(PO)')" at (last [],S)}
32 {"svg_it(`O')" ljust at last [].O
33 "svg_it(`C')" ljust at last [].C }
34 move right_ movw; contact(PC); {"svg_tt(`(PC)')" at (last [],S)}
35 }
36
37 move down 0.75; right_ ; {
38 contact(I); {S: "svg_tt(`(I)')" at last [].s+(0,-12bp__)
39 "svg_it(`P')" rjust at last [].P.w
40 "svg_it(`O')" ljust at last [].O.e
41 "svg_it(`C')" ljust at last [].C.e }
42 move right_ movw; contact(RI)
43 {"svg_tt(`(RI)')" at (last [],S)
44 "svg_it(`P')" rjust at last [].P.w
45 "svg_it(`O')" ljust at last [].O.e
46 "svg_it(`C')" ljust at last [].C.e }
47 move right_ movw; contact(OI); {"svg_tt(`(OI)')" at (last [],S)}
48 move right_ movw; contact(CI); {"svg_tt(`(CI)')" at (last [],S)}
49
50 move right_ movw; contact(PI); {"svg_tt(`(PI)')" at (last [],S) }
51 {"svg_it(`O')" ljust at last [].O.e
52 "svg_it(`C')" ljust at last [].C.e }
53 move right_ movw; contact(PIO); {"svg_tt(`(PIO)')" at (last [],S) }
54 move right_ movw; contact(PIC); {"svg_tt(`(PIC)')" at (last [],S) }
55 }
56
57 movewid = movw
58 move down 0.65; right_; {
59 K: contact(T)
60 {S: "svg_tt(`(T)')" at last [].s+(0,-0.15)
61 thinlines_
62 spline <- right 0.09 then up 0.05 right 0.05 from K.C; "svg_it(`C')"
63 spline <- right 0.09 then down 0.05 right 0.05 from K.O; "svg_it(`O')"
64 thicklines_ }
65 move; K: contact(RT)
66 {"svg_tt(`(RT)')" at (last [],S)
67 thinlines_
68 spline <- right 0.09 then up 0.05 right 0.05 from K.O; "svg_it(`O')"
69 spline <- right 0.09 then down 0.05 right 0.05 from K.C; "svg_it(`C')"
70 thicklines_ }
71 move; contact(OT); {S: "svg_tt(`(OT)')" at (last [],S) }
72 move; contact(CT); {S: "svg_tt(`(CT)')" at (last [],S) }
73 move; contact(PT); {S: "svg_tt(`(PT)')" at (last [],S) }
74 move; contact(PTO); {S: "svg_tt(`(PTO)')" at (last [],S) }
75 move; contact(PTC); {S: "svg_tt(`(PTC)')" at (last [],S) }
76 }
77
78 move down 0.65; right_; {
79 K: contact(U)
80 {S: "svg_tt(`(U)')" at last [].s+(0,-0.15)
81 thinlines_
82 spline <- right 0.09 then up 0.05 right 0.05 from K.C; "svg_it(`C')"
83 spline <- right 0.09 then down 0.05 right 0.05 from K.O; "svg_it(`O')"
84 thicklines_ }
85 move; K: contact(RU)
86 {"svg_tt(`(RU)')" at (last [],S)
87 thinlines_
88 spline <- right 0.09 then up 0.05 right 0.05 from K.O; "svg_it(`O')"
89 spline <- right 0.09 then down 0.05 right 0.05 from K.C; "svg_it(`C')"
90 thicklines_ }
91 move; K: contact(OU); {S: "svg_tt(`(OU)')" at (last [],S)
92 "svg_it(`O')" ljust at K.O.e }
93 move; K: contact(CU); {S: "svg_tt(`(CU)')" at (last [],S)
94 "svg_it(`C')" ljust at K.C.e }
95 move; contact(PU); {S: "svg_tt(`(PU)')" at (last [],S) }
96 move; contact(PUO); {S: "svg_tt(`(PUO)')" at (last [],S) }
97 move; contact(PUC); {S: "svg_tt(`(PUC)')" at (last [],S) }
98 }
99
100 command "</g>" # end font
101 .PE