diff options
author | Karl Berry <karl@freefriends.org> | 2013-11-28 23:20:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-11-28 23:20:56 +0000 |
commit | d5690b37f2228a32b2465f503ced8d209a22c3f8 (patch) | |
tree | 035749e9501010da4d15c2f0deaded290c5d358a /Master/texmf-dist/tex | |
parent | 0d4abdd78e3627f2cfe29467cb2d5c7f3fe8fe77 (diff) |
pgf-soroban (28nov13)
git-svn-id: svn://tug.org/texlive/trunk@32269 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/pgf-soroban/pgf-soroban.sty | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/pgf-soroban/pgf-soroban.sty b/Master/texmf-dist/tex/latex/pgf-soroban/pgf-soroban.sty index b9c730f448a..43278e4b01e 100644 --- a/Master/texmf-dist/tex/latex/pgf-soroban/pgf-soroban.sty +++ b/Master/texmf-dist/tex/latex/pgf-soroban/pgf-soroban.sty @@ -4,11 +4,11 @@ %%% ==================================================================== %%% @LaTeX-file{ %%% filename = "pgf-soroban.sty", -%%% version = "1.0", -%%% date = "2007/12/10", +%%% version = "1.1", +%%% date = "2013/11/27", %%% author = "Alain Delmotte", %%% address = "Alain Delmotte, -%%% avenue du Marathon, 6, +%%% rampe du Couvent, 11a, %%% B-1348 Louvain-la-Neuve %%% BELGIUM", %%% email = "esperanto@swing.be", @@ -55,27 +55,27 @@ \newcommand{\tige}[4][1]{\setcounter{xx}{20*(#2-1+#1) - 10}% \support{\value{xx}} \ifthenelse{#3>4}{\bille{\value{xx},62}{\colbil}}{\bille{\value{xx},68.2}{\colbil}} -\ifthenelse{\(#3=0\)\or\(#3=5\)}{\foreach \m in {5.3,16,26.7,37.4} {\bille{\value{xx},\m}{\colbil};}}{% -\ifthenelse{\(#3=1\)\or\(#3=6\)}{\foreach \m in {5.3,16,26.7,46.9} {\bille{\value{xx},\m}{\colbil};}}{% -\ifthenelse{\(#3=2\)\or\(#3=7\)}{\foreach \m in {5.3,16,36.3,46.9} {\bille{\value{xx},\m}{\colbil};}}{% -\ifthenelse{\(#3=3\)\or\(#3=8\)}{\foreach \m in {5.3,25.6,36.3,46.9} {\bille{\value{xx},\m}{\colbil};}}{% -\ifthenelse{\(#3=4\)\or\(#3=9\)}{\foreach \m in {14.9,25.6,36.3,46.9} {\bille{\value{xx},\m}{\colbil};}}{% +\ifthenelse{\(#3=0\)\or\(#3=5\)}{\foreach \m in {5.3,16,26.7,37.4} {\bille{\value{xx},\m}{\colbil}}}{% +\ifthenelse{\(#3=1\)\or\(#3=6\)}{\foreach \m in {5.3,16,26.7,46.9} {\bille{\value{xx},\m}{\colbil}}}{% +\ifthenelse{\(#3=2\)\or\(#3=7\)}{\foreach \m in {5.3,16,36.3,46.9} {\bille{\value{xx},\m}{\colbil}}}{% +\ifthenelse{\(#3=3\)\or\(#3=8\)}{\foreach \m in {5.3,25.6,36.3,46.9} {\bille{\value{xx},\m}{\colbil}}}{% +\ifthenelse{\(#3=4\)\or\(#3=9\)}{\foreach \m in {14.9,25.6,36.3,46.9} {\bille{\value{xx},\m}{\colbil}}}{% }}}}} \ifthenelse{#4=1}{\draw[fill=black,x= \unba, y= \unba] (\value{xx},54.4) circle(\unba);}{} } \newcommand{\binoire}[4][1]{% \setcounter{xx}{20*(#2-1+#1)-10} -\ifthenelse{#3=1}{\bille{\value{xx},5.3}{#4};}{% 1 en bas xooo o -\ifthenelse{#3=2}{\bille{\value{xx},16}{#4};}{% 2 oxoo o -\ifthenelse{#3=3}{\bille{\value{xx},26.7}{#4};}{% 3 ooxo o -\ifthenelse{#3=4}{\bille{\value{xx},37.4}{#4};}{% 4 ooox o -\ifthenelse{#3=5}{\bille{\value{xx},46.9}{#4};}{% 6 ooo x o -\ifthenelse{#3=6}{\bille{\value{xx},36.3}{#4};}{% 7 oo xo o -\ifthenelse{#3=7}{\bille{\value{xx},25.6}{#4};}{% 8 o xoo o -\ifthenelse{#3=8}{\bille{\value{xx},14.9}{#4};}{% 9 xooo o -\ifthenelse{#3=9}{\bille{\value{xx},68.2}{#4};}{% 5 * 0 oooo x -\ifthenelse{#3=10}{\bille{\value{xx},62}{#4};}{% 5 * 1 oooo x +\ifthenelse{#3=1}{\bille{\value{xx},5.3}{#4}}{% 1 en bas xooo o +\ifthenelse{#3=2}{\bille{\value{xx},16}{#4}}{% 2 oxoo o +\ifthenelse{#3=3}{\bille{\value{xx},26.7}{#4}}{% 3 ooxo o +\ifthenelse{#3=4}{\bille{\value{xx},37.4}{#4}}{% 4 ooox o +\ifthenelse{#3=5}{\bille{\value{xx},46.9}{#4}}{% 6 ooo x o +\ifthenelse{#3=6}{\bille{\value{xx},36.3}{#4}}{% 7 oo xo o +\ifthenelse{#3=7}{\bille{\value{xx},25.6}{#4}}{% 8 o xoo o +\ifthenelse{#3=8}{\bille{\value{xx},14.9}{#4}}{% 9 xooo o +\ifthenelse{#3=9}{\bille{\value{xx},68.2}{#4}}{% 5 * 0 oooo x +\ifthenelse{#3=10}{\bille{\value{xx},62}{#4}}{% 5 * 1 oooo x }}}}}}}}}} } |