texlive[43221] Master/texmf-dist: stackengine (13feb17)
commits+karl at tug.org
commits+karl at tug.org
Tue Feb 14 00:22:18 CET 2017
Revision: 43221
http://tug.org/svn/texlive?view=revision&revision=43221
Author: karl
Date: 2017-02-14 00:22:17 +0100 (Tue, 14 Feb 2017)
Log Message:
-----------
stackengine (13feb17)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/stackengine/stackengine.pdf
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/tex/latex/stackengine/stackengine.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/stackengine/stackengine.sty 2017-02-13 23:22:04 UTC (rev 43220)
+++ trunk/Master/texmf-dist/tex/latex/stackengine/stackengine.sty 2017-02-13 23:22:17 UTC (rev 43221)
@@ -1,6 +1,6 @@
-\def\stackengineversionnumber{v4.00}
+\def\stackengineversionnumber{v4.01}
\ProvidesPackage{stackengine}
-[2016/10/04 \stackengineversionnumber\
+[2017/02/13 \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
@@ -74,6 +74,10 @@
% V4.00 -Incorporate listofitems package methodology for parsing, requiring
% some package rewrite, primarily macro \@readMANYrows.
% -Eliminated all uses of \protected at edef.fxf
+% V4.01 -Removed unnecessary\global specifiers from \newlength and
+% \setlength, which could also cause potential problems with the
+% calc package.
+% -Changed \global\def to \gdef and \global\edef to \xdef.
\RequirePackage{etoolbox}
\RequirePackage{listofitems}% REQUIRES listofitems.sty AND listofitems.tex
\usepackage{calc}
@@ -84,7 +88,7 @@
\newlength\@boxshift
\newlength\stack at tmplength
\newlength\temp at stkl
-\global\newlength\@stackedboxwidth
+\newlength\@stackedboxwidth
\newsavebox\@addedbox
\newsavebox\@anchorbox
\newsavebox\stackedbox
@@ -125,8 +129,8 @@
%%%%% (but can invoke with \usepackage[oldsyntax]{stackengine} )
\newlength\Sstackgap\newlength\Lstackgap
\newcommand\stackgap{\if S\stacktype\the\Sstackgap\else\the\Lstackgap\fi}
-\global\setlength{\Sstackgap}{3pt}
-\global\setlength{\Lstackgap}{\normalbaselineskip}
+\setlength{\Sstackgap}{3pt}
+\setlength{\Lstackgap}{\normalbaselineskip}
\else%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%% AND REPLACED WITH THE FOLLOWING %%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -162,8 +166,8 @@
%\def\usestackstrut{T}
%%%%% MODES
-\newcommand\stackMath{\global\def\stack at delim{$}}
-\newcommand\stackText{\global\def\stack at delim{}}
+\newcommand\stackMath{\gdef\stack at delim{$}}
+\newcommand\stackText{\gdef\stack at delim{}}
\stackText
\newcommand\strutlongstacks[1]{\def\@strutlongstacks{#1}}
@@ -328,7 +332,7 @@
\stackengine{#1}{}{#2}{U}{\stackalignment}{\quietstack}{F}{\stacktype}}
\newcommand*\savestack[2]{%
- \global\edef\sv at name{\stack at macro@name{#1}}%
+ \xdef\sv at name{\stack at macro@name{#1}}%
\@ifundefined{\sv at name content}{%
\expandafter\newsavebox\expandafter{\csname\sv at name content\endcsname}%
}{}%
More information about the tex-live-commits
mailing list