File: Series.m4

package info (click to toggle)
circuit-macros 10.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 6,532 kB
  • sloc: makefile: 909; sh: 49
file content (24 lines) | stat: -rw-r--r-- 404 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.PS
# Series.m4
cct_init

[
  setdir_(Right)
  resistor; llabel(,R); capacitor; llabel(,C);
  inductor; llabel(,L)
]
[

  pushdef(`elen_',dimen_)
  resistor; llabel(,R); capacitor; llabel(,C);
  inductor; llabel(,L)
  popdef(`elen_')
] with .nw at last [].sw + (0,-0.15)

[
  resistor; llabel(,R)
  capacitor( right_ dimen_/4); llabel(,C)
  inductor; llabel(,L)
] with .nw at last [].sw + (0,-0.15)

.PE