diff options
author | Karl Berry <karl@freefriends.org> | 2013-09-26 22:25:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-09-26 22:25:51 +0000 |
commit | ad9f9da66a5459b5b58caf5de7af2309b97bf185 (patch) | |
tree | 446d2a36378f7cef941575c917993598e11e3915 /Master/texmf-dist/tex/latex/stackengine | |
parent | 1297f178ba3a3f477c3af759f9a281c91e4e79de (diff) |
stackengine (26sep13)
git-svn-id: svn://tug.org/texlive/trunk@31778 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/stackengine')
-rw-r--r-- | Master/texmf-dist/tex/latex/stackengine/stackengine.sty | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/stackengine/stackengine.sty b/Master/texmf-dist/tex/latex/stackengine/stackengine.sty index 50103f0e9b8..999f532132e 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.1} +\def\stackengineversionnumber{v3.11} \ProvidesPackage{stackengine} -[2013/09/11 \stackengineversionnumber +[2013/09/25 \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 @@ -47,6 +47,8 @@ % each row of a long stack % -Recommend \strutshortanchors{} mode in preference to % \def\usestackstrut{} definition (now deprecated). +% V3.11 -Corrected bug in \stackinset which did not condition the +% anchor when using vertical centering in \stackMath mode \usepackage{calc} \usepackage{ifthen} \newcounter{@stackindex} @@ -322,12 +324,13 @@ %\stackinset{l/c/r}{x}{b/c/t}{y}{inset}{anchor} \newcommand*\stackinset[6]{% \def\conditioned@inset{\stack@delim#5\stack@delim}% + \def\conditioned@anchor{\stack@delim#6\stack@delim}% \ifthenelse{\equal{#4}{}}% {\setlength{\stack@tmplength}{0pt}}% {\setlength{\stack@tmplength}{#4}}% \if c#3% \setlength{\temp@stkl}{% - \heightof{#6}+\depthof{#6}% + \heightof{\conditioned@anchor}+\depthof{\conditioned@anchor}% -\heightof{\conditioned@inset}-\depthof{\conditioned@inset}}% \addtolength{\stack@tmplength}{.5\temp@stkl}% \fi% @@ -340,7 +343,7 @@ \else% \def\conditioned@inset{\stack@lroffset#5\stack@lroffset}% \fi% - \stackengine{-\stack@tmplength}{#6}{\conditioned@inset}% + \stackengine{-\stack@tmplength}{#6}{#5}% {\inset@valign{#3}}{#1}{\quietstack}{T}{S}% } |