File: Capacitors.m4

package info (click to toggle)
texlive-base 2022.20230122-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 943,248 kB
  • sloc: perl: 43,776; sh: 5,749; makefile: 3,870; javascript: 3,034; ruby: 2,266; tcl: 2,130; xml: 1,874; python: 1,025; awk: 606; cpp: 549; lisp: 447; ansic: 103; sed: 8
file content (40 lines) | stat: -rw-r--r-- 1,201 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.PS
# Capacitors.m4
cct_init

movewid = 2 pt__
hm = 2.05
vm = 0.28
{  {capacitor ; move ;"`{\tt capacitor}'" ljust}
   move right_ hm
   {capacitor(,C); move ;"`{\tt capacitor(,C)}'" ljust}
   move right_ hm
   {capacitor(,C+); move ;"`{\tt capacitor(,C+)}'" ljust}
}
   move down vm; right_
{  {capacitor(,P); move ;"`{\tt capacitor(,P)}'" ljust}
   move right_ hm
   {capacitor(,E); move ;"`{\tt capacitor(,E)}'" ljust}
   move right_ hm
   {capacitor(,K); move ;"`{\tt capacitor(,K)}'" ljust}
}
   move down 0.25; right_
{  {capacitor(,M); move ;"`{\tt capacitor(,M)}'" ljust}
   move right_ hm
   {capacitor(,N); move ;"`{\tt capacitor(,N)}'" ljust}
   move right_ hm
   {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
#    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