diff options
author | Norbert Preining <norbert@preining.info> | 2021-10-03 03:01:24 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-10-03 03:01:24 +0000 |
commit | c7bf3f5a728fcb426d1aa38fbec211d4344a3725 (patch) | |
tree | 87fbde2d0e79f9e5fce12cbb71971717568fbf9d /graphics/circuit_macros/examples/Capacitors.m4 | |
parent | ac5a96ddb02c62d71eb214ed35e3be9a154d991f (diff) |
CTAN sync 202110030301
Diffstat (limited to 'graphics/circuit_macros/examples/Capacitors.m4')
-rw-r--r-- | graphics/circuit_macros/examples/Capacitors.m4 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/graphics/circuit_macros/examples/Capacitors.m4 b/graphics/circuit_macros/examples/Capacitors.m4 index d2586f1b9b..d96a6f8827 100644 --- a/graphics/circuit_macros/examples/Capacitors.m4 +++ b/graphics/circuit_macros/examples/Capacitors.m4 @@ -1,5 +1,5 @@ .PS -# `Capacitors.m4' +# Capacitors.m4 cct_init movewid = 2 pt__ @@ -23,16 +23,18 @@ vm = 0.28 move right_ hm {capacitor(,N); move ;"`{\tt capacitor(,N)}'" ljust} move right_ hm - {xtal ; move ;"`{\tt xtal}'" ljust} + {capacitor(,CP); move ;"`{\tt capacitor(,CP)}'" ljust} } move down 0.25; right_ { {capacitor(,dC); move ;"`{\tt capacitor(,dC)}'" ljust} move right_ hm {capacitor(,dF); move ;"`{\tt capacitor(,dF)}'" ljust} move right_ hm - {variable(`capacitor',NN,-30,dimen_/3) - move ;`"{\tt variable(}`{\tt capacitor',}"' ljust \ - `"{\enskip\tt NN,-30,dimen\_/3)}"' ljust - } + {variable(`capacitor',NN,-30,dimen_/3); move +# Stacking the strings normally does not work because the .pdf uses the +# length of the last line. + "`{\tt variable(}{\rm}{\tt capacitor}{\rm}{\tt,}'" ljust + "`{\enskip\tt NN,-30,dimen\_/3)}'" ljust at last ""+(0,-12pt__) + } } .PE |