Debian Codegraph @

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

raw
1 .PS
2 # ChipsDPV.m4
3 log_init
4 include(icsDPV.m4)
5 svg_font(sans-serif,8.5bp__)
6
7 Chips: [
8 ic4017DIP
9 {`"4017"' at last [].Chip.sw below ljust}
10 move
11 ic4510DIP
12 {`"4510"' at last [].Chip.sw below ljust}
13 move
14 icVS1053DIP
15 {`"VS1053"' at last [].Chip.sw below ljust}
16
17 DIP_chip_outline with .sw at last [].se+(0.5,0)
18 { `"DIP_chip_outline"' at last [].s below }
19 ]
20
21 DIPs: [
22 DIP0: DIP
23 DIP32: DIP(32,direct=R;bodywid=0.5*scale) with .sw at last [].se+(0.5,0)
24 DIP16: DIP(16,type=Q;pinwid=1bp__) with .sw at DIP32.se+(1.5,0)
25
26 thinlines_
27 { "svg_tt(`DIP')" at DIP0.s - (0,10bp__) }
28 { arrow <- from DIP0.Pin1 up 0.2; "svg_it(`Pin1')" ljust at Here+(-0.05,0.1) }
29 { arrow <- from DIP0.c up 0.7 right 0.25; "svg_it(`Body')" ljust }
30 { arrow <- from DIP0.Pin8 up 0.25 right 0.2 ; "svg_it(`Pin8')" above ljust }
31
32 { "svg_tt(`DIP(32,direct=R;bodywid=0.5*scale)')" ljust \
33 at DIP32.sw - (20bp__,10bp__) }
34 { arrow <- right 0.2 from DIP32.Pin1; "svg_it(`Pin1')" ljust }
35 { spline <- right 0.2 then right 0.1 up 0.1 from DIP32.Pin32
36 "svg_it(`Pin32')" ljust }
37
38 { "svg_tt(`DIP(16,type=Q;pinwid=1bp__)')" at DIP16.sw - (0,10bp__) ljust }
39 thicklines_
40
41 ] with .nw at last [].sw+(0,-0.3)
42
43 command "</g>"
44 .PE