File: Resistors.m4

package info (click to toggle)
texlive-base 2024.20250309-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,058,192 kB
  • sloc: perl: 44,903; sh: 5,008; makefile: 4,278; javascript: 3,034; ruby: 2,428; tcl: 2,131; xml: 1,874; python: 1,385; pascal: 1,249; cpp: 549; awk: 512; lisp: 447; ansic: 103; sed: 8
file content (36 lines) | stat: -rw-r--r-- 1,060 bytes parent folder | download
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
.PS
# Resistors.m4
cct_init

movewid = 2 pt__
hm = 2.05
vm = 0.28
{  {A:resistor ; move ;"`{\tt resistor}'" ljust}
   move right_ hm
   {Q:resistor(,5,Q) ; move ;"`\tt $\ldots$(,5{,}Q) '" ljust}
   move right_ hm
   {V:resistor(,,V) ; move ;"`{\tt $\ldots$(,{,}V)}'" ljust}
}
   move down vm; right_
{  {ES:resistor(,,ES); move ;"`\tt $\ldots$(,{,}ES) '" ljust}
   move right_ hm
   {H:resistor(,4,H) ; move ;"`\tt $\ldots$(,4{,}H) '" ljust}
   move right_ hm
   {AC:resistor(,,AC) ; move ;"`{\tt $\ldots$(,{,}AC)}'" ljust}
}
   move down vm; right_
{  {B:resistor(,,B) ; move ;"`{\tt $\ldots$(,{,}B)}'" ljust}
   move right_ hm
   {F:resistor(,,F) ; move ;"`\tt $\ldots$(,{,}F) '" ljust}
   move right_ hm
   {E:resistor(,,E) ; move ; "`\tt $\ldots$(,{,}E) $\equiv$ ebox'" ljust}
}
   move down vm*1.1; right_
{  {ebox(,,,0.9) ; move ;"`{\tt ebox(,{,},0.9)}'" ljust}
   move right_ hm
   {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