summaryrefslogtreecommitdiff
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
parent92f13c38adca9511a17969f8efde0f4d0e6e5f3a (diff)
stackengine (8nov13)
git-svn-id: svn://tug.org/texlive/trunk@32100 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/stackengine/stackengine.pdfbin376590 -> 348457 bytes
-rw-r--r--Master/texmf-dist/doc/latex/stackengine/stackengine.tex34
-rw-r--r--Master/texmf-dist/tex/latex/stackengine/stackengine.sty20
3 files changed, 31 insertions, 23 deletions
diff --git a/Master/texmf-dist/doc/latex/stackengine/stackengine.pdf b/Master/texmf-dist/doc/latex/stackengine/stackengine.pdf
index 6ede5bb37a7..b1859d14e06 100644
--- a/Master/texmf-dist/doc/latex/stackengine/stackengine.pdf
+++ b/Master/texmf-dist/doc/latex/stackengine/stackengine.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/stackengine/stackengine.tex b/Master/texmf-dist/doc/latex/stackengine/stackengine.tex
index b46c362923f..c9772b1a514 100644
--- a/Master/texmf-dist/doc/latex/stackengine/stackengine.tex
+++ b/Master/texmf-dist/doc/latex/stackengine/stackengine.tex
@@ -34,18 +34,15 @@ baseline changes, \textit{etc.}\\
\rule{0em}{2.7em}\large Steven B. Segletes\\
steven.b.segletes.civ@mail.mil\\
\rule{0em}{1.7em}\today\\
-\stackengineversionnumber a%
-\footnote{V3.21a alters only the documentation. V3.21 of
-\textsf{stackengine.sty} is still current.}% THE "a" IS FOR V3.21 ONLY
-% TO DENOTE DOCUMENTATION CHANGES ONLY
+\stackengineversionnumber%
\end{center}
%\tableofcontents
\sffamily%
-New! A sectional index for this package is found in \S\ref{s:index}.
+A sectional index for this package is found in \S\ref{s:index}.
-Note: See \S\ref{s:bc} for details on a small syntax change in V2.0.
+Note: See \S\ref{s:bc} for details on backward compatibility.
\rmfamily%
\section{Definitions and Terms}
@@ -1364,12 +1361,12 @@ The author of this package profoundly apologizes for the fact that the
syntax of this package changed between versions 1.0 and 2.0 of this
package.
-In version 1.0 of this package, stackgaps could be directly defined by
-setting the \LaTeX{} lengths \vb|\Sstackgap| and \vb|\Lstackgap|.
-The problem with this approach is that, under fontsize changes, these
-stackgaps were not automatically updated to reflect the new fontsize.
-As of V2.0, that deficiency was remedied. The syntax that replaces
-these length specifications is
+In\margcmd{setstackgap} version 1.0 of this package, stackgaps could be
+directly defined by setting the \LaTeX{} lengths \vb|\Sstackgap| and
+\vb|\Lstackgap|. The problem with this approach is that, under fontsize
+changes, these stackgaps were not automatically updated to reflect the
+new fontsize. As of V2.0, that deficiency was remedied. The syntax
+that replaces these length specifications is
\itshape
\vb| \setstackgap{S}{|inter-item stackgap\vb|}|\\
@@ -1381,7 +1378,8 @@ instead \vb|\def|s), and cannot be set via the \vb|\Sstackgap=...|
or \vb|\setlength{\Sstackgap}{...}| syntax. It is these settings
which will need to be revised to modernize older code.
-While not encouraged, the V1.0 syntax may be recovered via
+While\margtt{[oldsyntax]} not encouraged, the V1.0 syntax may be
+recovered via
\vb| \usepackage[oldsyntax]{stackengine}|
@@ -1394,7 +1392,15 @@ when the text is \vb|\normalsize|, the gap length is set in a
\vb|\normalsize| font, even if the fontsize is later changed. To
overcome this behavior, the stackgap must be redefined at the new
fontsize, or better still, \vb|[oldsyntax]| usage needs to be
-relegated.\vspace{-1.5ex}
+relegated.
+
+Additionally,\margcmd{usepackage\{calc\}} V3.22 officially removed its
+reliance upon and any reference to the \textsf{calc} package (instead
+opting to use features of the \textsf{etoolbox} package). If any of
+your older source code that loaded {\ste} relied on features of the
+\textsf{calc} package that were loaded implicitly by way of \ste, you
+may have to explicitly add \vb|\usepackage{calc}| to your source code,
+to retain those features.
\clearpage
\section{Acknowledgements}
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%