summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/doc/Switches.m4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/doc/Switches.m4')
-rw-r--r--graphics/circuit_macros/doc/Switches.m4132
1 files changed, 75 insertions, 57 deletions
diff --git a/graphics/circuit_macros/doc/Switches.m4 b/graphics/circuit_macros/doc/Switches.m4
index 03218d4ab5..d8262be92d 100644
--- a/graphics/circuit_macros/doc/Switches.m4
+++ b/graphics/circuit_macros/doc/Switches.m4
@@ -1,99 +1,117 @@
.PS
# Switches.m4
cct_init
+
movewid = 0.25
-moveht = moveht*1.25
+# Row 1
right_; {
- lswitch; rlabel(,`\hbox{\tt `lswitch'}')
+ lswitch; {S:"\tt ls{}witch" at last [].s+(0,-10bp__)}
move right_
- lswitch(,,O); rlabel(,`\hbox{\tt (,{,}O)}')
+ lswitch(,,O); {"\tt (,,O)" at (last [],S)}
move right_
- lswitch(,,C); rlabel(,`\hbox{\tt (,{,}C)}')
+ lswitch(,,C); {"\tt (,,C)" at (last [],S)}
move right_
- lswitch(,,DA); rlabel(,`\hbox{\tt (,{,}DA)}')
+ lswitch(,,DA); {"\tt (,,DA)" at (last [],S)}
move right_
- lswitch(,,DO); rlabel(,`\hbox{\tt (,{,}DO)}')
+ lswitch(,,dDO); {"\tt (,,dDO)" at (last [],S)}
move right_
- lswitch(,,DC); rlabel(,`\hbox{\tt (,{,}DC)}')
+ lswitch(,,uDC); {"\tt (,,uDC)" at (last [],S)}
}
+# Row 2
move down; right_; {
- lswitch(,,K); rlabel(,`\hbox{\tt (,{,}K)}')
+ lswitch(,,K); {S:"\tt (,,K)" at last [].s+(0,-10bp__)}
move right_
- lswitch(,,KD); rlabel(,`\hbox{\tt (,{,}KD)}')
+ lswitch(,,KD); {"\tt (,,KD)" at (last [],S)}
move right_
- lswitch(,,KOD); rlabel(,`\hbox{\tt (,{,}KOD)}')
+ lswitch(,,KOD); {"\tt (,,KOD)" at (last [],S)}
move right_
- lswitch(,,KCD); rlabel(,`\hbox{\tt (,{,}KCD)}')
+ lswitch(,,KCD); {"\tt (,,KCD)" at (last [],S)}
move right_
- bswitch; rlabel(,`\hbox{\tt `bswitch'}')
+ bswitch; {"\tt `bswitch'" at (last [],S)}
move right_
- bswitch(,,C); rlabel(,`\hbox{\tt (,{,}C)}')
+ bswitch(,,C); {"\tt (,,C)" at (last [],S)}
}
+# Row 3
move down; right_; {
- S: dswitch(,,)
- ifgpic(`{[line invis] at S.c+(0,-0.2)}')
- rlabel(,`\hbox{\tt \shortstack{`dswitch'=\\`switch'(,{,},D)}}')
- thinlines_
- { spline <- from 0.25 along_(S) up 0.1 then up 0.05 left 0.1
- "\tt W" rjust
- spline <- from S.c+(0,m4sc*2) up 0.1 then up 0.05 left 0.1
- "\tt B" rjust }
- thicklines_
- move right_
- S: dswitch(,,WdBK); rlabel(,`\hbox{\tt (,{,}WdBK)}')
- thinlines_
- { spline <- from tr_xy(0,-2) up 0.1 then up 0.10 left 0.1
- "\tt dB" rjust
- spline <- from tr_xy(4,-2) right 0.1 then right 0.05 up 0.15
- "\tt K" above }
- thicklines_
- move right_
- dswitch(,,WBuD); rlabel(,`\hbox{\tt (,{,}WBuD)}')
- move right_
- dswitch(,,WdBKF); rlabel(,`\hbox{\tt (,{,}WdBKF)}')
- move right_
- dswitch(,,WBL); rlabel(,`\hbox{\tt (,{,}WBL)}')
- move right_
- dswitch(,,WdBKL); rlabel(,`\hbox{\tt (,{,}WdBKL)}')
+ D: dswitch(,,); {S: "\tt ds{}witch(,{},)" at last [].s+(0,-10bp__)}
+ thinlines_
+ { spline <- from 0.25 along_(D) up 0.1 then up 0.05 left 0.1
+ {"\tt W" rjust}
+ spline <- from D.c+(0,m4sc*2) up 0.1 then up 0.05 left 0.1
+ {"\tt B" rjust }}
+ thicklines_
+ move right_
+ D: dswitch(,,WdBK); {"\tt (,,WdBK)" at (last [],S)+(0,-4bp__)}
+ thinlines_
+ { spline <- from tr_xy(0,-2) up 0.1 then up 0.10 left 0.1
+ {"\tt dB" rjust}
+ spline <- from tr_xy(4,-2) right 0.1 then right 0.05 up 0.15
+ {"\tt K" above }}
+ thicklines_
+ move right_
+ dswitch(,,WBmdDK); {"\tt (,,WBmdDK)" at (last [],S)}
+ move right_
+ dswitch(,,WBKTr); {"\tt (,,WBKTr)" at (last [],S)}
+ move right_
+ dswitch(,,WdBL); {"\tt (,,WdBL)" at (last [],S+(0,-4bp__))}
+ move right_
+ dswitch(,,WBCo); {"\tt (,,WBCo)" at (last [],S)}
}
+# Row 4
move down; right_; {
- dswitch(,,WBT); rlabel(,`\hbox{\tt (,{,}WBT)}')
+ dswitch(,,WBKCo); {S: "\tt (,,WBKCo)" at last [].s+(0,-10bp__)}
move right_
- dswitch(,,WdBKC); rlabel(,`\hbox{\tt (,{,}WdBKC)}')
+ dswitch(,,WBCb); {"\tt (,,WBCb)" at (last [],S)}
move right_
- dswitch(,,WBM); rlabel(,`\hbox{\tt (,{,}WBM)}')
+ dswitch(,,WBDI); {"\tt (,,WBDI)" at (last [],S)}
move right_
- dswitch(,,WBCO); rlabel(,`\hbox{\tt (,{,}WBCO)}')
+ dswitch(,,WBSd); {"\tt (,,WBSd)" at (last [],S)}
move right_
- dswitch(,,WBMP); rlabel(,`\hbox{\tt (,{,}WBMP)}')
+ dswitch(,,WBFDI); {"\tt (,,WBFDI)" at (last [],S)}
move right_
- dswitch(,,WBoKCP); rlabel(,`\hbox{\tt (,{,}WBoKCP)}')
+ dswitch(,,WBFSd); {"\tt (,,WBFSd)" at (last [],S)}
}
- move down; right_; {
- dswitch(,,WBCY); rlabel(,`\hbox{\tt (,{,}WBCY)}')
+# Row 5
+ move down moveht*5/4; right_; {
+ dswitch(,,WBTh); {S: "\tt (,,WBTh)" at last [].s+(0,-10bp__)}
+ move right_
+ dswitch(,,WBKC); {"\tt (,,WBKC)" at (last [],S)}
+ move right_
+ dswitch(,,WBM); {"\tt (,,WBM)" at (last [],S)}
+ move right_
+ dswitch(,,WBCO); {"\tt (,,WBCO)" at (last [],S)}
+ move right_
+ dswitch(,,WBMP); {"\tt (,,WBMP)" at (last [],S)}
+ move right_
+ dswitch(,,WBoKCP); {"\tt (,,WBoKCP)" at (last [],S)}
+ }
+# Row 6
+ move down moveht*5/4; right_; {
+ dswitch(,,WBCY); {S: "\tt (,,WBCY)" at last [].s+(0,-10bp__)}
move right_
- dswitch(,,WBCZ); rlabel(,`\hbox{\tt (,{,}WBCZ)}')
+ dswitch(,,WBCZ); {"\tt (,,WBCZ)" at (last [],S)}
move right_
- dswitch(,,WBCE); rlabel(,`\hbox{\tt (,{,}WBCE)}')
+ dswitch(,,WBCE); {"\tt (,,WBCE)" at (last [],S)}
move right_
- dswitch(,,WBRH); rlabel(,`\hbox{\tt (,{,}WBRH)}')
+ dswitch(,,WBRH); {"\tt (,,WBRH)" at (last [],S)}
move right_
- dswitch(,,WBRdH); rlabel(,`\hbox{\tt (,{,}WBRdH)}')
+ dswitch(,,WBRdH); {"\tt (,,WBRdH)" at (last [],S)}
move right_
- dswitch(,,WBRHH); rlabel(,`\hbox{\tt (,{,}WBRHH)}')
+ dswitch(,,WBRHH); {"\tt (,,WBRHH)" at (last [],S)}
}
+# Row 7
move down; right_; {
- dswitch(,,WBMMR); rlabel(,`\hbox{\tt (,{,}WBMMR)}')
+ dswitch(,,WBMMR); {S: "\tt (,,WBMMR)" at last [].s+(0,-10bp__)}
move right_
- dswitch(,,WBMM); rlabel(,`\hbox{\tt (,{,}WBMM)}')
+ dswitch(,,WBMM); {"\tt (,,WBMM)" at (last [],S)}
move right_
- dswitch(,,WBMR); rlabel(,`\hbox{\tt (,{,}WBMR)}')
+ dswitch(,,WBMR); {"\tt (,,WBMR)" at (last [],S)}
move right_
- dswitch(,,WBEL); rlabel(,`\hbox{\tt (,{,}WBEL)}')
+ dswitch(,,WBEL); {"\tt (,,WBEL)" at (last [],S)}
move right_
- dswitch(,,WBLE); rlabel(,`\hbox{\tt (,{,}WBLE)}')
+ dswitch(,,WBLE); {"\tt (,,WBLE)" at (last [],S)}
move right_
- dswitch(,,WdBoKEL); rlabel(,`\hbox{\tt (,{,}WdBoKEL)}')
+ dswitch(,,WBoKEL); {"\tt (,,WBoKEL)" at (last [],S)}
}
.PE