| 1 |
.PS |
| 2 |
# `NportDPV.m4' |
| 3 |
cct_init(svg_font(sans-serif,11bp__)) |
| 4 |
|
| 5 |
textoffset = 2bp__ |
| 6 |
Twoport: nport |
| 7 |
|
| 8 |
"W1a" wid 0.35 above rjust at Twoport.W1a |
| 9 |
"W1b" below rjust at Twoport.W1b |
| 10 |
"E1a" above ljust at Twoport.E1a |
| 11 |
"E1b" below ljust at Twoport.E1b |
| 12 |
|
| 13 |
#Nport: nport(wid 1 ht 1.5 fill_(0.9) svgLinkString(Np.svg,n-port,B),1,2,3,4) \ |
| 14 |
# with .Box.w at Twoport.Box.e+(1.0,0) |
| 15 |
Nport: nport(wid 1.75 ht 1 fill_(0.9),1,2,3,4) \ |
| 16 |
with .Box.w at Twoport.Box.e+(1.25,0) |
| 17 |
svgLink(Np.svg,"n-port" at Nport,B) |
| 18 |
|
| 19 |
"W1a" rjust at Nport.W1a |
| 20 |
"W1b" rjust at Nport.W1b |
| 21 |
|
| 22 |
"E1a" ljust at Nport.E1a |
| 23 |
"E3b" ljust at Nport.E3b |
| 24 |
|
| 25 |
"N1a" above at Nport.N1a.n |
| 26 |
"N1b " above at Nport.N1b.n |
| 27 |
" N2a" above at Nport.N2a.n |
| 28 |
"N2b" above at Nport.N2b.n |
| 29 |
|
| 30 |
"S1a" below at Nport.S1a.s |
| 31 |
"S4b" below at Nport.S4b.s |
| 32 |
|
| 33 |
"..." at 0.5<Nport.S1a,Nport.S4b>+(0,-0.10) |
| 34 |
"..." at 0.5<Nport.E1a,Nport.E3b>+(0.15,0.05) |
| 35 |
|
| 36 |
Nterm: nterm with .Box.w at Nport.Box.e+(1.0,0) |
| 37 |
"W1" rjust at Nterm.W1 |
| 38 |
"E1" wid 0.2 ljust at Nterm.E1 |
| 39 |
"S1" below at Nterm.S1.s |
| 40 |
|
| 41 |
`"nport"' at Twoport.s+(0,-0.3) |
| 42 |
`"nport(wid 1.5 ht 1.75 fill_(0.9),1,2,3,4)"' ljust at Nport.sw+(0,-0.3) |
| 43 |
`"svgLink(Np.svg,\"n-port\" at Nport,B)"' ljust at Nport.sw+(0,-0.5) |
| 44 |
`"nterm"' at Nterm.s+(0,-0.3) |
| 45 |
|
| 46 |
command "</g>" # end font |
| 47 |
.PE |