diff options
author | Karl Berry <karl@freefriends.org> | 2014-10-28 22:36:45 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-10-28 22:36:45 +0000 |
commit | 675c2b874dcbe2c6cea060f7667f9619ae64ee3b (patch) | |
tree | fdaee6c968ac30affcb7348f2289aa2c39861217 /Master/texmf-dist/tex | |
parent | 31ae0d507c9b43a68b2b4e2f44f41a756b23b8c9 (diff) |
basicarith (28oct14)
git-svn-id: svn://tug.org/texlive/trunk@35460 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/basicarith/basicarith.sty | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/Master/texmf-dist/tex/latex/basicarith/basicarith.sty b/Master/texmf-dist/tex/latex/basicarith/basicarith.sty index a91f1328e94..c5568a5f599 100644 --- a/Master/texmf-dist/tex/latex/basicarith/basicarith.sty +++ b/Master/texmf-dist/tex/latex/basicarith/basicarith.sty @@ -26,7 +26,7 @@ %% derived files basicarith.sty and basicarith.pdf. \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{basicarith}[2015/01/01 v1.0 support for typesetting basic arithmetic in the American fashion] +\ProvidesPackage{basicarith}[2015/01/01 v1.1 support for typesetting basic arithmetic in the American fashion] \newif\ifshowdivisionwork % switch for drop arrows \showdivisionworktrue \DeclareOption{noshowdivwork}{\showdivisionworkfalse} @@ -71,13 +71,13 @@ \let\next=\auxcountchar% \advance\b@charcount by1% \fi% -\ifx\char; \advance\b@charcount by-1\fi% +\ifx\char;\advance\b@charcount by-1\fi% \next% }% \def\auxcountchar{% \afterassignment\countunlessnil\gobblechar% }% -\def\countchar#1{\edef\xx{#1}\b@charcount=0 \expandafter\auxcountchar\xx\nil} +\def\countchar#1{\def\xx{#1}\b@charcount=0 \expandafter\auxcountchar\xx\nil} \def\b@expandloop#1{% \hbox{% \b@xloop#1\relax @@ -91,10 +91,10 @@ \rlap{\hbox to0pt{\hss#1\hss}}% \else% \hbox to\b@digitwid{\hfil{% -\csname -speciallinestyle\romannumeral\b@linenum\endcsname% -\csname -specialdigitstyle\romannumeral\b@colnum\endcsname#1}\hfil}% +\csname speciallinestyle\romannumeral\b@linenum\endcsname% +\csname specialdigitstyle\romannumeral\b@colnum\endcsname% +#1% +}\hfil}% \fi% \expandafter\b@xloop% \fi% @@ -189,7 +189,6 @@ specialdigitstyle\romannumeral\b@colnum\endcsname#1}\hfil}% }% \advance\b@divisorlen by\b@divparenlen% }% - \def\ldsoluline#1#2{% \advance\b@fulldivlen by\b@divisorlen% \advance\b@fulldivlen by\b@topdivline% @@ -233,7 +232,6 @@ specialdigitstyle\romannumeral\b@colnum\endcsname#1}\hfil}% \fi% }% }% - \def\linestyle#1#2{% \b@loopi=0% \loop\ifnum\the\b@loopi<\the\b@maxrows% @@ -243,7 +241,6 @@ specialdigitstyle\romannumeral\b@colnum\endcsname#1}\hfil}% \fi \repeat }% - \def\digstyle#1#2{% \b@loopi=0% \loop\ifnum\the\b@loopi<\the\b@maxcols% @@ -267,7 +264,6 @@ specialdigitstyle\romannumeral\b@colnum\endcsname#1}\hfil}% \expandafter\def\csname specialdigitstyle\romannumeral\b@loopi\endcsname{}% \repeat }% - \def\problembox#1{% \leavevmode\vbox{#1}% }% @@ -281,7 +277,6 @@ specialdigitstyle\romannumeral\b@colnum\endcsname#1}\hfil}% \showdivisionworkfalse% } \cleardigitstyles - \endinput %% %% End of file `basicarith.sty'. |