summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/stackengine
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-11-08 23:44:15 +0000
committerKarl Berry <karl@freefriends.org>2013-11-08 23:44:15 +0000
commit6db53996116b2b6e54017be4b8f850ad6abbe7bf (patch)
tree1d4fe9a77f93a39d59318a5f223e170cf27782ff /Master/texmf-dist/tex/latex/stackengine
parent92f13c38adca9511a17969f8efde0f4d0e6e5f3a (diff)
stackengine (8nov13)
git-svn-id: svn://tug.org/texlive/trunk@32100 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/stackengine')
-rw-r--r--Master/texmf-dist/tex/latex/stackengine/stackengine.sty20
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%