summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/stackengine
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-01-06 22:26:39 +0000
committerKarl Berry <karl@freefriends.org>2014-01-06 22:26:39 +0000
commit4e551e2b4d8879fedcd48174139620937716d62b (patch)
treef2aca2ec22ba2129f291a045ba50b47ebf2f0fdd /Master/texmf-dist/tex/latex/stackengine
parentc31f47d7025fbd5c796c81a1cb83bac8ca0ebedf (diff)
stackengine (6jan14)
git-svn-id: svn://tug.org/texlive/trunk@32593 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/stackengine')
-rw-r--r--Master/texmf-dist/tex/latex/stackengine/stackengine.sty12
1 files changed, 7 insertions, 5 deletions
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%
}%