diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /graphics/circuit_macros/examples/svg/EmarrowsSVG.m4 |
Initial commit
Diffstat (limited to 'graphics/circuit_macros/examples/svg/EmarrowsSVG.m4')
-rw-r--r-- | graphics/circuit_macros/examples/svg/EmarrowsSVG.m4 | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/graphics/circuit_macros/examples/svg/EmarrowsSVG.m4 b/graphics/circuit_macros/examples/svg/EmarrowsSVG.m4 new file mode 100644 index 0000000000..33372ae290 --- /dev/null +++ b/graphics/circuit_macros/examples/svg/EmarrowsSVG.m4 @@ -0,0 +1,31 @@ +.PS +# `Emarrows.m4' +cct_init(svg_font(sans-serif,11bp__)) + hskip = 0.6 +[ + { em_arrows(N) + box dotted wid last [].wid ht last [].ht at last [].c + thinlines_ + arrow <- up 0.12 from last [].Head;`"Head"' above + arrow <- down 0.12 from last [].Tail;`"Tail"' below + `"A1"' rjust below at last [].A1.c + `"A2"' ljust above at last [].A2.c + thicklines_ + move down 0.25 from last [].s + move up 0.2 from last [].n + `"em_arrows(N)"' wid 1.0 at last [].s+(0,-0.20) below } + { em_arrows(ND,45) with .sw at last [].se+(hskip*1.5,0) + `"em_arrows(ND,45)"' at last [].s below } + { em_arrows(I) with .sw at last [].se+(hskip,0) + `"...(I)"' at last [].s+(0,-9bp__) below } + { em_arrows(ID) with .sw at last [].se+(hskip,0) + `"...(ID)"' at last [].s+(0,-2bp__) below } + { em_arrows(E) with .sw at last [].se+(hskip,0) + `"...(E)"' at last [].s+(0,-2bp__) below } + { em_arrows(ED) with .sw at last [].se+(hskip,0) + `"...(ED)"' wid .75 at last [].s+(0,-2bp__) below } + ] +# box wid last [].wid ht last [].ht at last [] + + command "</g>" # end font +.PE |