Debian Codegraph @

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

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