summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuit-macros/examples/svg/SixpoleSVG.m4
blob: 430c04506970e2b3e9989b9465eaf93c53f6014a (plain)
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
.PS
# sixpole.m4
define(`biquad',`[
In: Here
  resistor(right_)
E: dot
  resistor
  dot
  {capacitor(down_,C); ground(,T)}
  line right_ elen_/3
  { dot
    line up_ elen_
    amp(to (E,Here),elen_/2)
    capacitor(from E to Here,C) }
  amp(right_,elen_/2)
  Out: Here
  ]')

cct_init
define(`elen_',linewid)

  biquad
  biquad with .In at last [].Out+(-linewid/4,0)
  biquad with .In at last [].Out+(-linewid/4,0)
.PE