From 4e551e2b4d8879fedcd48174139620937716d62b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 6 Jan 2014 22:26:39 +0000 Subject: stackengine (6jan14) git-svn-id: svn://tug.org/texlive/trunk@32593 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/stackengine/stackengine.sty | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/stackengine/stackengine.sty b/Master/texmf-dist/tex/latex/stackengine/stackengine.sty index 88fae292c58..b0402a1f9a6 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.23} +\def\stackengineversionnumber{v3.24} \ProvidesPackage{stackengine} -[2013/11/14 \stackengineversionnumber\ +[2014/01/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 @@ -66,6 +66,8 @@ % EOL itself is a space token), the \stackon / \stackunder % family of macros do not ignore spaces in their arguments. % -Reinstated \usepackage{calc} (Oops!) +% V3.24 -Replaced references to \roman with \romannumeral, since \roman +% is redefined by packages like spanish babel. \RequirePackage{etoolbox} \usepackage{calc} @@ -112,7 +114,7 @@ \expandafter\ifstrempty\expandafter{\@postSEP}{% \toggletrue{@doneROWreads}% }{}% - \csedef{arg\roman{ROWcellindex@}}{\expandonce{\@preSEP}}% + \csedef{arg\romannumeral\theROWcellindex@}{\expandonce{\@preSEP}}% }% % \narg GIVES HOW MANY ROWS WERE PROCESSED \xdef\narg{\arabic{ROWcellindex@}}% @@ -271,7 +273,7 @@ \if T\@strutlongstacks\if L#4\def\@STRT{\strut}\fi\fi% \sbox{\stackedbox}{% \@STRT\stack@delim\ignorespaces% - \csname arg\roman{@stackindex}\endcsname% + \csname arg\romannumeral\the@stackindex\endcsname% \unskip\stack@delim}% \ifnum\narg>1% \togglefalse{stackloop@done}% @@ -281,7 +283,7 @@ \whileboolexpr{test {\nottoggle{stackloop@done}}}{% \addtocounter{@stackindex}{\@stacksign 1}% \stackengine{\csname#4stackgap\endcsname}% - {\ignorespaces\csname arg\roman{@stackindex}\endcsname\unskip}% + {\ignorespaces\csname arg\romannumeral\the@stackindex\endcsname\unskip}% {\usebox{\stackedbox}}{#3}{#1}{T}{\useanchorwidth}{#4}% \ifnum\@stackcondition\else\toggletrue{stackloop@done}\fi% }% -- cgit v1.2.3