texlive[41733] Master/texmf-dist: stackengine (19jul16)

commits+karl at tug.org commits+karl at tug.org
Wed Jul 20 00:26:51 CEST 2016


Revision: 41733
          http://tug.org/svn/texlive?view=revision&revision=41733
Author:   karl
Date:     2016-07-20 00:26:51 +0200 (Wed, 20 Jul 2016)
Log Message:
-----------
stackengine (19jul16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/stackengine/stackengine.pdf
    trunk/Master/texmf-dist/doc/latex/stackengine/stackengine.tex
    trunk/Master/texmf-dist/tex/latex/stackengine/stackengine.sty

Modified: trunk/Master/texmf-dist/doc/latex/stackengine/stackengine.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/stackengine/stackengine.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/stackengine/stackengine.tex	2016-07-19 22:26:36 UTC (rev 41732)
+++ trunk/Master/texmf-dist/doc/latex/stackengine/stackengine.tex	2016-07-19 22:26:51 UTC (rev 41733)
@@ -42,7 +42,6 @@
 \sffamily%
 A sectional index for this package is found in \S\ref{s:index}.
 
-Note: See \S\ref{s:bc} for details on backward compatibility.
 \rmfamily%
 
 \section{Definitions and Terms}
@@ -72,14 +71,19 @@
 \Longstack{{{\rl t}} {{\rl y}} {{\rl k}} {{\rl e}}}
 \normalsize\\
 
+\begin{sloppypar}
 In this package, the default spacing (\textit{i.e.}, stacklength) for
-the long stack, saved in \vb|\Lstackgap| is the value
-\vb|\baselineskip|.  For short stacks, the default stacklength, stored in
+the long stack, saved in \vb|\Lstackgap| is the length
+\vb|\normalbaselineskip| (note that \vb|\normalbaselineskip| has the same 
+value as \vb|\baselineskip|, but can be safely used inside a \vb|tabular|
+environment).
+For short stacks, the default stacklength, stored in
 \vb|\Sstackgap|, is 3pt, which corresponds to the same spacing found in
 \TeX's \vb|\shortstack| command.  The default stack type constructed by
 this package is short, denoted by the definition of \vb|\stacktype| as
 ``S'' (as opposed to ``L'' for long stacks).  These defaults can be
 changed.
+\end{sloppypar}
 
 \subsection{Baseline}
 \setstackgap{L}{.8\baselineskip}
@@ -174,7 +178,7 @@
 \margcmd{Lstackgap}
 \vb|\Lstackgap| is the inter-item baselineskip for
 any stacking command that builds a long stack.  It defaults to
-\vb|\baselineskip|.  To change these defaults, the following macro
+\vb|\normalbaselineskip|.  To change these defaults, the following macro
 is provided:
 \margcmd{setstackgap}
 
@@ -306,10 +310,12 @@
 
 \subsubsection{\cmd{stackengine}\label{s:stackeng}}
 
+\begin{sloppypar}
 The basic (and most general) stacking macro provided by this package is
 \vb|\stackengine|.  Nearly all other macros of this package merely
 provide an abbreviated invocation form of this macro, tailored for a
 particular application.  The syntax is:
+\end{sloppypar}
 
 \itshape
 \vb|\stackengine{\Sstackgap| or

Modified: trunk/Master/texmf-dist/tex/latex/stackengine/stackengine.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/stackengine/stackengine.sty	2016-07-19 22:26:36 UTC (rev 41732)
+++ trunk/Master/texmf-dist/tex/latex/stackengine/stackengine.sty	2016-07-19 22:26:51 UTC (rev 41733)
@@ -1,6 +1,6 @@
-\def\stackengineversionnumber{v3.24}
+\def\stackengineversionnumber{v3.25}
 \ProvidesPackage{stackengine}
-[2014/01/06 \stackengineversionnumber\ 
+[2016/07/19 \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
@@ -68,6 +68,8 @@
 %       -Reinstated \usepackage{calc} (Oops!)
 % V3.24 -Replaced references to \roman with \romannumeral, since \roman
 %        is redefined by packages like spanish babel.
+% V3.25 -Default longstack gap is now \normalbaselineskip, so as to
+%        automatically work in tabular environments.
 \RequirePackage{etoolbox}
 \usepackage{calc}
 
@@ -110,7 +112,7 @@
   \setcounter{ROWcellindex@}{0}%
   \whileboolexpr{test {\nottoggle{@doneROWreads}}}{%
     \stepcounter{ROWcellindex@}%
-    \expandafter\@processROW\@postSEP||%
+      \expandafter\@processROW\@postSEP||%
     \expandafter\ifstrempty\expandafter{\@postSEP}{%
       \toggletrue{@doneROWreads}%
     }{}%
@@ -134,7 +136,7 @@
 \newlength\Sstackgap\newlength\Lstackgap
 \newcommand\stackgap{\if S\stacktype\the\Sstackgap\else\the\Lstackgap\fi}
 \global\setlength{\Sstackgap}{3pt}
-\global\setlength{\Lstackgap}{\baselineskip}
+\global\setlength{\Lstackgap}{\normalbaselineskip}
 \else%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%% AND REPLACED WITH THE FOLLOWING %%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex-live-commits mailing list