diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-30 20:30:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-30 20:30:02 +0000 |
commit | 8624a5d970faf95011e4ab23ae9e567bc93a8575 (patch) | |
tree | feec6bb6fe5a35bbece9b29e82b64e2b947294c4 /Master/texmf-dist/doc/latex/circuit-macros/examples/svg/CountingSVG.m4 | |
parent | a63a0445b5ba9dafe9858cdc6f18f3b3711b35b1 (diff) |
circuit_macros (30nov22)
git-svn-id: svn://tug.org/texlive/trunk@65149 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/circuit-macros/examples/svg/CountingSVG.m4')
-rw-r--r-- | Master/texmf-dist/doc/latex/circuit-macros/examples/svg/CountingSVG.m4 | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Master/texmf-dist/doc/latex/circuit-macros/examples/svg/CountingSVG.m4 b/Master/texmf-dist/doc/latex/circuit-macros/examples/svg/CountingSVG.m4 deleted file mode 100644 index a972ba663f6..00000000000 --- a/Master/texmf-dist/doc/latex/circuit-macros/examples/svg/CountingSVG.m4 +++ /dev/null @@ -1,32 +0,0 @@ -.PS -# CountingSVG.m4 -gen_init(svg_font(sans-serif,11bp__)) - - g = 0.4 # grid size - define grid { (($2)*g,-($1)*g) } - circlerad = 0.1 - -for i=1 to 4 do { # 66% becomes 66%% in the sprintf string: - sprintf("svg_it(S`'svg_sub(%g,66%):)",i) ljust at grid(i,-0.5) - for j=1 to 4 do { if i+j < 8 then { - sprintf("svg_it(s`'svg_sub(%g%g,66%))",i,j) at grid(i,j) } } } - -"." at grid(4.6,0) -"." at grid(4.7,0) -"." at grid(4.8,0) -for i=1 to 3 do { `"..."' at grid(i,5) } -"..." at grid(4,4) - -P: grid(1,1) -for k=3 to 5 do { - for i=1 to k-1 do { if (k%2==1) then { m=i; n=k-i } else { m=k-i; n=i } - Q: grid(m,n) - arrow from P to Q chop - P: Q } - } - -move from grid(1,1)+(-0.5,0.1) \# Adjust bounding box - to grid(4,4)+(0.5,-0.45) - - command "</g>" # end font -.PE |