summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/circuit-macros/examples/dpv/ConnDPV.m4
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuit-macros/examples/dpv/ConnDPV.m4')
-rw-r--r--Master/texmf-dist/doc/latex/circuit-macros/examples/dpv/ConnDPV.m476
1 files changed, 42 insertions, 34 deletions
diff --git a/Master/texmf-dist/doc/latex/circuit-macros/examples/dpv/ConnDPV.m4 b/Master/texmf-dist/doc/latex/circuit-macros/examples/dpv/ConnDPV.m4
index 9500cd8dd08..dd777f1fe4b 100644
--- a/Master/texmf-dist/doc/latex/circuit-macros/examples/dpv/ConnDPV.m4
+++ b/Master/texmf-dist/doc/latex/circuit-macros/examples/dpv/ConnDPV.m4
@@ -3,65 +3,73 @@
cct_init(svg_font(sans-serif,10.5bp__))
T:[
+ ifelse(ifmpost(T)`'ifpostscript(T),,`command "{\sf"')
S1: tstrip(U)
thinlines_
arrow <- left 0.15 from S1.L1; "L1" rjust
arrow <- left 0.15 from S1.L4; "L4" wid 0.2 rjust
- "..." at (0.5 between last "" and 2nd last "")+(-0.15,0.02)
+ ":" at (0.5 between last "" and 2nd last "")+(0,0.02)
arrow <- right 0.25 from S1.R1; "R1" ljust
arrow <- right 0.25 from S1.R4; "R4" ljust
- "..." at (0.5 between last "" and 2nd last "")+(0.15,0.02)
+ ":" at (0.5 between last "" and 2nd last "")+(0.05,0.02)
arrow <- right 0.15 up 0.10 from S1.T1; "T1" ljust
arrow <- right 0.15 up 0.10 from S1.T4; "T4" ljust
- "..." at (0.5 between last "" and 2nd last "")+(0.15,0.02)
+ ":" at (0.5 between last "" and 2nd last "")+(0.15,0.02)
thicklines_
CS1: "`tstrip(U)'" at S1.s+(0,-0.15)
- S2: tstrip(R,5,DO;wid=1.0;ht=0.25) with .sw at S1.se+(0.7,0.15)
+ S2: tstrip(R,5,DO;wid=1.0;ht=0.25) with .sw at S1.se+(0.8,0.15)
thinlines_
arrow <- up 0.2 right 0.1 from S2.T1; "T1" above
arrow <- up 0.2 right 0.1 from S2.T5; "T5" above
"..." at 0.5 between last "" and 2nd last "" above
- CS2: `"tstrip(R,5,"' ljust \
- `" DO;wid=1.0;ht=0.25)"' ljust at S2.sw+(-0.1,-0.2)
+ CS2: `"tstrip(R,5,"' ht 0.1 ljust \
+ `"DO;wid=1.0;ht=0.25)"' ljust at S2.sw+(-0.1,-0.2)
+ ifelse(ifmpost(T)`'ifpostscript(T),,`command "}"')
]
C: [
C1: ccoax
- `"ccoax "' at C1.s below
+ `"ccoax"' at C1.s below
thinlines_
- arrow <- up 0.1 right 0.1 from C1.C.ne; "C" ljust
- arrow <- down 0.05 right 0.1 from C1.S.e; "S" wid 0.1 ljust
+ arrow <- down 0.05 left 0.15 from C1.C.w; "svg_it(C)" rjust
+ arrow <- down 0.05 right 0.1 from C1.S.e; "svg_it(S)" ljust
thicklines_
- C2: ccoax(at C1+(0,0.3),F)
- `"ccoax(,F)"' wid 0.65 at C2.ne ljust
- ] with .C1.sw at T.S2.se+(0.6,0.0)
+ C2: ccoax(at C1+(0,0.4),F)
+ `"ccoax(,F)"' at C2.s below
+ ] with .w at T.e+(0.6,0.0)
+
+B: [
+ tbox(V_2)
+ { "`tbox'(V`'svg_sub(2))" at last [].s below }
+ tbox(V_1,,,<) at last []+(0,-0.4)
+ { "`tbox'(V`'svg_sub(1),,,svg_lt)" at last [].s below }
+ tbox(V_1,,,<>) at last []+(0,-0.4)
+ { "`tbox'(V`'svg_sub(1),,,svg_lt`'svg_gt)" at last [].s below }
+] with .w at C.e + (0.5,-0.1)
Y: [
- tconn(,O)
- {`"tconn(,O)"' at last line.c+(0,-0.2) wid 43 pt__ }
+ P1: tconn(,O)
+ {"`tconn'(,O)" at last line.c+(0,-0.2) wid 43 pt__ }
move to Here+(0.3,0)
- P1: tconn(,>)
- {`"(,&#x3E;)"' at last line.c+(0,-0.2)}
- move to P1.end+(0.3,0)
- tconn(,>>)
- {`"(,&#x3E;&#x3E;)"' at last line.c+(0,-0.2)}
- move to P1.start+(0,linewid)
- P3: tconn(,<)
- {`"tconn(,&#x3C;)"' at last line.c+(0,-0.2)}
+ P2: tconn(,>)
+ {"...(,svg_gt)" at last line.c+(0,-0.2)}
+ move to P2.end+(0.3,0)
+ P3: tconn(,>>)
+ {"...(,svg_gt`'svg_gt)" at last line.c+(0,-0.2)}
move to P3.end+(0.3,0)
- tconn(,<<)
- {`"(,&#x3C;&#x3C;)"' at last line.c+(0,-0.2)}
+ P4: tconn(,<)
+ {"...(,svg_lt)" at last line.c+(0,-0.2)}
+ move to P4.end+(0.3,0)
+ P5: tconn(,<<)
+ {"...(,svg_lt`'svg_lt)" at last line.c+(0,-0.2)}
+ move to P5.end+(0.3,0)
+ P6: tconn(,A)
+ {`"...(,A)"' at last line.c+(0,-0.2)}
+ move to P6.end+(0.3,0)
+ P7: tconn(,M)
+ {`"...(,M)"' at last line.c+(0,-0.2)}
-] with .sw at (C.e.x-0.3,T.s.y)
-
-B: [
- tbox(V`'svg_sub(1))
- { `"tbox'(V`'svg_sub(1))" wid 47bp__ with .nw at last [].sw+(0,-4bp__) }
- tbox(V`'svg_sub(2),,,<) with .sw at last [].se+(0.75,0)
- { `"tbox'(V`'svg_sub(2)`,,,&#x3C;)"' at last [].s below }
- tbox(V`'svg_sub(3),,,<>) with .sw at last [].se+(0.75,0)
- { `"tbox'(V`'svg_sub(3)`,,,&#x3C;&#x3E;)"' at last [].s below }
-] with .nw at T.sw+(0,-0.2)
+] with .nw at T.sw+(0,-0.35)
command "</g>" # end font
.PE