From c7bf3f5a728fcb426d1aa38fbec211d4344a3725 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 3 Oct 2021 03:01:24 +0000 Subject: CTAN sync 202110030301 --- .../circuit_macros/examples/svg/ResistorsSVG.m4 | 30 ++++++++++++++++------ 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'graphics/circuit_macros/examples/svg/ResistorsSVG.m4') 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 "" # end font -- cgit v1.2.3