diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/stackengine')
-rw-r--r-- | Master/texmf-dist/tex/latex/stackengine/stackengine.sty | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/stackengine/stackengine.sty b/Master/texmf-dist/tex/latex/stackengine/stackengine.sty index d974a3d91c6..a70e627f521 100644 --- a/Master/texmf-dist/tex/latex/stackengine/stackengine.sty +++ b/Master/texmf-dist/tex/latex/stackengine/stackengine.sty @@ -1,6 +1,6 @@ -\def\stackengineversionnumber{v3.21} +\def\stackengineversionnumber{v3.22} \ProvidesPackage{stackengine} -[2013/10/15 \stackengineversionnumber\ +[2013/11/06 \stackengineversionnumber\ Stacking text and objects in convenient ways] % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -55,8 +55,10 @@ % \bracketVectorstack, \braceVectorstack, \vertvectorstack, % and \ensurestackMath % V3.21 -Corrected a bug in \stackinset introduced in V3.11 +% V3.22 -Removed \usepackage{calc} +% -Corrected \@STRT placement to not inadvertantly force a \mathop +% on rows beginning with a minus sign. \RequirePackage{etoolbox} -\usepackage{calc} \newtoggle{@doneROWreads} \newtoggle{stackloop@done} @@ -181,9 +183,9 @@ \def\@STRT{}% \if T\@strutlongstacks\if L#8\def\@STRT{\strut}\fi\fi% \sbox{\stackedbox}{% - \sbox{\@anchorbox}{\stack@delim\@STRT#2\stack@delim}% - \sbox{\@addedbox}{\stack@delim\@STRT#3\stack@delim}% - \settowidth{\@stackedboxwidth}{\stack@delim\@STRT#2\stack@delim}% + \sbox{\@anchorbox}{\@STRT\stack@delim#2\stack@delim}% + \sbox{\@addedbox}{\@STRT\stack@delim#3\stack@delim}% + \settowidth{\@stackedboxwidth}{\@STRT\stack@delim#2\stack@delim}% \if F#7% \ifdim\wd\@addedbox>\@stackedboxwidth% \settowidth{\@stackedboxwidth}{\stack@delim\@STRT#3\stack@delim}% @@ -207,14 +209,14 @@ \usebox{\@anchorbox}% \hspace{-.5\wd\@anchorbox}% \hspace{-.5\wd\@addedbox}% - \raisebox{\@boxshift}{\stack@delim\@STRT#3\stack@delim}% + \raisebox{\@boxshift}{\@STRT\stack@delim#3\stack@delim}% \hspace{-.5\wd\@addedbox}% \hspace{.5\@stackedboxwidth}% \else% \if l#5% \usebox{\@anchorbox}% \hspace{-\wd\@anchorbox}% - \raisebox{\@boxshift}{\stack@delim\@STRT#3\stack@delim}% + \raisebox{\@boxshift}{\@STRT\stack@delim#3\stack@delim}% \hspace{-\wd\@addedbox}% \hspace{\@stackedboxwidth}% \else% @@ -223,7 +225,7 @@ \hspace{-\wd\@anchorbox}% \usebox{\@anchorbox}% \hspace{-\wd\@addedbox}% - \raisebox{\@boxshift}{\stack@delim\@STRT#3\stack@delim}% + \raisebox{\@boxshift}{\@STRT\stack@delim#3\stack@delim}% \fi% \fi% \fi% |