diff options
Diffstat (limited to 'graphics/circuit_macros/examples/Resistors.m4')
-rw-r--r-- | graphics/circuit_macros/examples/Resistors.m4 | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/graphics/circuit_macros/examples/Resistors.m4 b/graphics/circuit_macros/examples/Resistors.m4 index 5e96f95822..8dd31005c8 100644 --- a/graphics/circuit_macros/examples/Resistors.m4 +++ b/graphics/circuit_macros/examples/Resistors.m4 @@ -5,36 +5,32 @@ cct_init movewid = 2 pt__ hm = 2.05 vm = 0.28 -{ {resistor ; move ;"`{\tt resistor}'" ljust} +{ {A:resistor ; move ;"`{\tt resistor}'" ljust} move right_ hm - {resistor(,,Q) ; move ;"`\tt resistor(,{,}Q) '" ljust} + {Q:resistor(,5,Q) ; move ;"`\tt $\ldots$(,5{,}Q) '" ljust} move right_ hm - {resistor(,,V) ; move ;"`{\tt resistor(,{,}V)}'" ljust} + {V:resistor(,,V) ; move ;"`{\tt $\ldots$(,{,}V)}'" ljust} } move down vm; right_ -{ {resistor(,,ES) ; move ;"`\tt resistor(,{,}ES) '" ljust} +{ {ES:resistor(,,ES); move ;"`\tt $\ldots$(,{,}ES) '" ljust} move right_ hm - {resistor(,,H) ; move ;"`\tt resistor(,{,}H) '" ljust} + {H:resistor(,4,H) ; move ;"`\tt $\ldots$(,4{,}H) '" ljust} move right_ hm - {resistor(,,AC) ; move ;"`{\tt resistor(,{,}AC)}'" ljust} + {AC:resistor(,,AC) ; move ;"`{\tt $\ldots$(,{,}AC)}'" ljust} } move down vm; right_ -{ {resistor(,5,B) ; move ;"`{\tt resistor(,5,B)}'" ljust} +{ {B:resistor(,,B) ; move ;"`{\tt $\ldots$(,{,}B)}'" ljust} move right_ hm - {resistor(,,E) ; move - "`\shortstack[l]{\tt resistor(,{,}E)\\ {\tt $\equiv$ ebox}}'" ljust} + {F:resistor(,,F) ; move ;"`\tt $\ldots$(,{,}F) '" ljust} move right_ hm - {ebox(,0.5,0.3) ; move ;"`{\tt ebox(,0.5,0.3)}'" ljust} + {E:resistor(,,E) ; move ; "`\tt $\ldots$(,{,}E) $\equiv$ ebox'" ljust} } - move down vm; right_ + move down vm*1.1; right_ { {ebox(,,,0.9) ; move ;"`{\tt ebox(,{,},0.9)}'" ljust} move right_ hm - {ebox(,,,,shaded "yellow") ; move - "`{\tt ebox(,{,},{,}shaded \"yellow\")}'" ljust} -} - move down vm; right_ -{ {ebox(,wdth=0.2;box=dashed shaded "green";text="X") ; move - "`{\tt ebox(,wdth=0.2;box=dashed shaded \"green\";text=\"X\")}'" ljust} + {ebox(,wdth=0.2;box=dashed shaded "green";text="H") ; move + "`\shortstack[l]{\tt ebox(,wdth=0.2;box=dashed shaded \"green\";\\' \ + `\tt text=\"H\")}'" ljust} } .PE |