Debian Codegraph @

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

raw
1 .PS
2 # `AudioDPV.m4'
3 cct_init(svg_font(sans-serif,11bp__,2bp__))
4
5 define(`In123',`
6 thinlines_
7 arrow <- from `$1'.In1 up 0.05 left 0.15
8 "svg_it(In1)" wid 0.25 rjust above
9 arrow <- left 0.15 from `$1'.In2
10 "svg_it(In2)" rjust
11 arrow <- from `$1'.In3 down 0.05 left 0.15
12 "svg_it(In3)" rjust below
13 thicklines_ ')
14
15 L:[
16 S: speaker
17 `"speaker"' at S.s+(0,-0.2) below
18 In123(S)
19 thinlines_
20 arrow <- from S.In4 left 0.05 up 0.15
21 "svg_it(In4)" above rjust
22 arrow <- from S.In5 right 0.05 up 0.15
23 "svg_it(In5)" above ljust
24 arrow <- from S.In6 left 0.05 down 0.15
25 "svg_it(In6)" below rjust
26 arrow <- from S.In7 right 0.05 down 0.15
27 "svg_it(In7)" below ljust
28 spline <- from S.Box.e+(0,0.05) right 0.27 up 0.10 \
29 then right 0.1 up 0.2
30 "svg_it(Box)" above
31 thicklines_
32 ]
33 [
34 H: speaker(,,H)
35 `"...(,,H)"' at H.s+(0,-0.30) below
36 ] with .sw at last [].se
37 [
38 B: bell
39 `"bell"' at B.s+(0,-0.2) below
40 In123(B)
41 thinlines_
42 arrow <- from B.Box.n+(-0.1,0) up 0.15 left 0.1 ; "svg_it(Box)" above
43 arrow <- from B.Circle.n up 0.15 ; "svg_it(Circle)" above
44 thicklines_
45 ] with .sw at last [].se+(0.35,0)
46 [
47 Z: buzzer
48 `"buzzer"' at Z.s+(0,-0.2) below
49 In123(Z)
50 thinlines_
51 arrow <- from Z.Box.n up 0.15 ; "svg_it(Box)" above
52 thicklines_
53 ] with .sw at last [].se+(0.4,0)
54 R:[
55 Z: buzzer(,,C)
56 `"buzzer(,,C)"' at Z.s+(0,-0.2) below
57 In123(Z)
58 thinlines_
59 spline <- from 0.8<Z.Face.s,Z.Face.n> right 2*arrowht up 0.5*arrowht \
60 then up 0.15 right 0.05
61 "svg_it(Face)" wid 0.5 at Here above
62 thicklines_
63 ] with .sw at last [].se+(0.4,0)
64 [
65 M: microphone
66 `"microphone"' wid 60bp__ at M.s+(0,-0.2) below
67 In123(M)
68 thinlines_
69 arrow <- from M.Circle.n up 0.15 ; "svg_it(Circle)" above
70 thicklines_
71 ] with .sw at last [].se+(0.4,0)
72 [
73 M: microphone(A)
74 "`microphone(A)'" at M.s+(0,-0.2) #below
75 thinlines_
76 arrow <- from M.Head.e+(0,0.05) right 0.2; "svg_it(Head)" wid 40bp__ ljust
77 spline 0.5 <- from M.Head.b down 0.05 right 0.1 then right 0.1
78 "svg_it(Head.b)" ljust
79 arrow <- from M.Stand.s right 0.2; "svg_it(Stand.s)" ljust
80 thicklines_
81 ] with .n at last [].s+(0,-0.2)
82 [[
83 E: earphone
84 `"earphone"' at E.s+(0,-0.2) below
85 In123(E)
86 thinlines_
87 arrow <- from E.Box.n up 0.15 left 0.15 ; "svg_it(Box)" above
88 thicklines_
89 ]
90 [
91 E: earphone(,,C)
92 `"earphone(,,C)"' at E.s+(0,-0.2) below
93 thinlines_
94 arrow <- from E.L up 0.15 left 0.15; "svg_it(L)" rjust
95 arrow <- from E.R up 0.15 right 0.15; "svg_it(R)" ljust
96 "svg_it(N)" at E.N above
97 "svg_it(C)" at E.C
98 thicklines_
99 ] with .sw at last [].se+(0.4,0)
100 ] with .n at (0.5 between L and R,L.s)+(0.5,-0.2)
101
102 command "</g>" # end font
103 .PE