Debian Codegraph @

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

raw
1 .PS
2 # relaycoilDPV.m4
3 cct_init
4
5 spc = dimen_/3
6 { relaycoil; S: "svg_tt(`relaycoil')" at last [].s+(0,-20bp__)
7 { "svg_it(V1)" wid 15bp__ at last [].V1 rjust
8 "svg_it(V2)" at last [].V2 ljust }
9 relaycoil(S) with .nw at last [].ne+(spc*2,0); "svg_tt((S))" at (last [],S)
10 K: relaycoil(NX) with .nw at last [].ne+(spc*3,0); "svg_tt((NX))" \
11 at (last [],S)
12 { thinlines_
13 spline <- from K.A1 left 7bp__ then up 4bp__ left 4bp__
14 "svg_it(A1)" rjust
15 arrow <- from K.A2 left 10bp__; "svg_it(A2)" rjust
16 spline <- from K.A3 left 7bp__ then down 4bp__ left 4bp__
17 "svg_it(A3)" rjust
18 spline <- from K.B1 right 7bp__ then up 4bp__ right 4bp__
19 "svg_it(B1)" ljust
20 arrow <- from K.B2 right 10bp__; "svg_it(B2)" ljust
21 spline <- from K.B3 right 7bp__ then down 4bp__ right 4bp__
22 "svg_it(B3)" ljust
23 thicklines_
24 }
25 relaycoil(AXSR) with .nw at last [].ne+(spc*4,0); "svg_tt((AXSR))" \
26 at (last [],S)
27 { "svg_it(V1)" at last [].V1 rjust; "svg_it(V2)" at last [].V2 rjust }
28 relaycoil(BXSR) with .nw at last [].ne+(spc*2,0); "svg_tt((BXSR))" \
29 at (last [],S)
30 { "svg_it(V1)" at last [].V1 ljust; "svg_it(V2)" at last [].V2 ljust }
31 relaycoil(SR) with .nw at last [].ne+(spc*2,0); "svg_tt((SR))" at (last [],S)
32 spx = spc*3/4
33 relaycoil(SO) with .nw at last [].ne+(spx,0); "svg_tt((SO))" at (last [],S)
34 relaycoil(SOR) with .nw at last [].ne+(spx,0); "svg_tt((SOR))" at (last [],S)
35 relaycoil(PC) with .nw at last [].ne+(spx,0); "svg_tt((PC))" at (last [],S)
36 }
37 {
38 move down_ 3/4; right_
39 relaycoil(HS); S: "svg_tt((HS))" at last [].s+(0,-12bp__)
40 relaycoil(NAC) with .nw at last [].ne+(spx,0); "svg_tt((NAC))" at (last [],S)
41 relaycoil(AC) with .nw at last [].ne+(spx,0); "svg_tt((AC))" at (last [],S)
42 relaycoil(ML) with .nw at last [].ne+(spx,0); "svg_tt((ML))" at (last [],S)
43 relaycoil(PO) with .nw at last [].ne+(spx,0); "svg_tt((PO))" at (last [],S)
44 relaycoil(RM) with .nw at last [].ne+(spx,0); "svg_tt((RM))" at (last [],S)
45 relaycoil(RH) with .nw at last [].ne+(spx,0); "svg_tt((RH))" at (last [],S)
46 relaycoil(TH) with .nw at last [].ne+(spx,0); "svg_tt((TH))" at (last [],S)
47 relaycoil(EL) with .nw at last [].ne+(spx,0); "svg_tt((EL))" at (last [],S)
48 relaycoil(MR) with .sw at last [].se+(spx,0); "svg_tt((MR))" at (last [],S)
49 }
50
51 .PE