Debian Codegraph @

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

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