summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/ex01.m4
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-10-03 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2021-10-03 03:01:24 +0000
commitc7bf3f5a728fcb426d1aa38fbec211d4344a3725 (patch)
tree87fbde2d0e79f9e5fce12cbb71971717568fbf9d /graphics/circuit_macros/examples/ex01.m4
parentac5a96ddb02c62d71eb214ed35e3be9a154d991f (diff)
CTAN sync 202110030301
Diffstat (limited to 'graphics/circuit_macros/examples/ex01.m4')
-rw-r--r--graphics/circuit_macros/examples/ex01.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/circuit_macros/examples/ex01.m4 b/graphics/circuit_macros/examples/ex01.m4
index e672fccc36..a566c4c2dd 100644
--- a/graphics/circuit_macros/examples/ex01.m4
+++ b/graphics/circuit_macros/examples/ex01.m4
@@ -17,13 +17,13 @@ Timer: [
define(`elen_',`linewid')
Vs: dot
down_
- variable(`resistor(,E); llabel(,\SI{1}{M})')
- resistor(,E); llabel(,\SI{100}{\kilo{}})
+ variable(`resistor(,,E); llabel(,\SI{1}{M})')
+ resistor(,,E); llabel(,\SI{100}{\kilo{}})
capacitor(,E); llabel(\SI{220}{\micro{}})
Zero: dot
dot(at Vs+(elen_*4/3,0))
- resistor(,E); llabel(,\SI{33}{\kilo{}})
+ resistor(,,E); llabel(,\SI{33}{\kilo{}})
line to (Here,Zero) chop 0 chop elen_
C2: capacitor; llabel(\SI{0.1}{\micro{}})
dot
@@ -41,7 +41,7 @@ R: dot
B: buzzer(,,C) with .In3 at Here
line from B.In1 to (R,B.In1)
reversed(`diode',to (Here,Vs),LE); "red" at last line.c+(elen_/2,0)
- resistor(down_ elen_ from R,E); llabel(,\num{470})
+ resistor(down_ elen_ from R,,E); llabel(,\num{470})
diode(to (Here,Zero),LE); {"green" at last line.c+(elen_*2/3,0)}
line to Zero chop 0 chop -elen_
line up_ (Vs.y-Here.y)/3