summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/basicarith/basicarith.sty19
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'.