summaryrefslogtreecommitdiff
path: root/graphics/circuit_macros/examples/svg/ResistorsSVG.m4
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/circuit_macros/examples/svg/ResistorsSVG.m4')
-rw-r--r--graphics/circuit_macros/examples/svg/ResistorsSVG.m430
1 files changed, 22 insertions, 8 deletions
diff --git a/graphics/circuit_macros/examples/svg/ResistorsSVG.m4 b/graphics/circuit_macros/examples/svg/ResistorsSVG.m4
index 4fb0be47f0..4da2b4f344 100644
--- a/graphics/circuit_macros/examples/svg/ResistorsSVG.m4
+++ b/graphics/circuit_macros/examples/svg/ResistorsSVG.m4
@@ -8,26 +8,40 @@ vm = 0.28
hm = 2.05
vm = 0.28
-{ {resistor ; move ; svgLink(NportSVG.svg,"`resistor'" ljust)}
+{
+ {resistor ; move ; svgLink(NportSVG.svg,"`resistor'" ljust)}
move right_ hm
{resistor(,,Q) ; move ; "`resistor(,,Q) '" ljust}
move right_ hm
- {resistor(,,E) ; move
- "`resistor(,,E)'" ljust " svg_equiv `ebox'" ljust}
+ {resistor(,,V) ; move ; "`resistor(,,V) '" ljust}
}
move down vm; right_
-{ {resistor(,,ES) ; move ; "`resistor(,,ES) '" ljust}
+{
+ {resistor(,,ES) ; move ; "`resistor(,,ES) '" ljust}
move right_ hm
{resistor(,,H) ; move ; "`resistor(,,H) '" ljust}
move right_ hm
- {ebox(,,,0.5) ; move ; "`ebox(,,,0.5) '" ljust}
+ {resistor(,,AC) ; move ; "`resistor(,,AC) '" ljust}
}
move down vm; right_
-{ {resistor(,,V) ; move ; "`resistor(,,V) '" ljust}
+{
+ {resistor(,,B) ; move ; "`resistor(,,B) '" ljust}
+ move right_ hm
+ {resistor(,,E) ; move
+ "`resistor(,,E)'" ljust " svg_equiv `ebox'" ljust}
move right_ hm
{ebox(,0.5,0.3) ; move ;"`ebox(,0.5,0.3) '" ljust}
- move right_ hm+4bp__
- {resistor(,,B) ; move movewid-4bp__ ; "`resistor(,,B) '" ljust}
+}
+ move down vm; right_
+{
+ {ebox(,,,0.6) ; move ; "`ebox(,,,0.6) '" ljust}
+ move right_ hm
+ {ebox(,,,,shaded "green") ; move ;"`ebox(,,,,shaded \"green\") '" ljust}
+}
+ move down vm; right_
+{
+ {ebox(,wdth=0.2;box=dashed shaded "green";text="X") ; move
+ "`ebox(,wdth=0.2;box=dashed shaded \"green\";text=\"X\")'" ljust}
}
command "</g>" # end font