summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/doc/VariableMan.m4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/doc/VariableMan.m4')
-rw-r--r--graphics/circuit_macros/doc/VariableMan.m428
1 files changed, 28 insertions, 0 deletions
diff --git a/graphics/circuit_macros/doc/VariableMan.m4 b/graphics/circuit_macros/doc/VariableMan.m4
new file mode 100644
index 0000000000..e52e30913d
--- /dev/null
+++ b/graphics/circuit_macros/doc/VariableMan.m4
@@ -0,0 +1,28 @@
+.PS
+# `Variable.m4'
+cct_init
+
+define(`elen_',dimen_); down_
+[ { variable(`resistor',A) }; {"A" at last line.end below}; move right
+ { variable(`resistor',N) }; {"N" at last line.end below}; move right
+ { variable(`resistor',uN) }; {"uN" at last line.end below}; move right
+ { variable(`resistor',NN) }; {"uN" at last line.end below}; move right
+ { variable(`resistor',uNN) }; {"uNN" at last line.end below}; #; move right
+ ]
+[
+ skp = 0.4
+ hskip = linewid*0.5
+ cskip = hskip
+Orig: Here
+ { move right cskip+elen_+hskip
+ line invis right_ elen_ "\tt C"; move right_ hskip
+ line invis right_ elen_ "\tt S" }
+ Loopover_(`char',
+ `move down skp ifelse(char,A,*0.5)
+ { line invis right_ cskip "\tt char"
+ variable(`capacitor(,C)',char); move right_ hskip
+ variable(`capacitor(,C)',char`'C); move right_ hskip
+ variable(`capacitor(,C)',char`'S) }',
+ A,P,L,N)
+ ] with .w at last [].e+(0.4,0)
+.PE