summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-stackengine.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-09-02 20:57:55 +0000
committerKarl Berry <karl@freefriends.org>2019-09-02 20:57:55 +0000
commit1bcbcdf719a79c5b851d5506608fd117288f90cc (patch)
tree68aa7a4043fbc9c087fb8499ad1fe4b96a565b62 /Master/texmf-dist/tex/latex/lwarp/lwarp-stackengine.sty
parentdc3d664b996915ebf8a1409711fb346af9f6247a (diff)
lwarp (2sep19)
git-svn-id: svn://tug.org/texlive/trunk@52016 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-stackengine.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-stackengine.sty16
1 files changed, 9 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-stackengine.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-stackengine.sty
index 55112e993f9..32ee6a05d4b 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-stackengine.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-stackengine.sty
@@ -19,8 +19,8 @@
\LetLtxMacro\LWR@orig@stackengine\stackengine
\renewcommand*{\stackengine}[8]{%
\ifstrequal{#4}{O}%
- {\begin{lateximage}}%
- {\begin{lateximage}[][][vertical-align:top]}%
+ {\begin{lateximage}[\ImageAltText]}%
+ {\begin{lateximage}[\ImageAltText][][vertical-align:top]}%
\LWR@orig@stackengine{#1}{#2}{#3}{#4}{#5}{#6}{#7}{#8}%
\end{lateximage}%
}
@@ -32,8 +32,8 @@
\renewcommand*{\@stack}[4]{%
\ifstrequal{#3}{O}%
- {\begin{lateximage}}%
- {\begin{lateximage}[][][vertical-align:top]}%
+ {\begin{lateximage}[\ImageAltText]}%
+ {\begin{lateximage}[\ImageAltText][][vertical-align:top]}%
\LWR@orig@@stack{#1}{#2}{#3}{#4}%
\end{lateximage}%
}
@@ -47,14 +47,16 @@
{}
{\LWR@patcherror{stackengine}{stackanchor patch 2}}
-\xpretocmd{\stackanchor}{\begin{lateximage}[][][vertical-align:middle]}
+\xpretocmd{\stackanchor}
+ {\begin{lateximage}[\ImageAltText][][vertical-align:middle]}
{}
{\LWR@patcherror{stackengine}{stackanchor pre}}
\xapptocmd{\stackanchor}{\end{lateximage}}
{}
{\LWR@patcherror{stackengine}{stackanchor app}}
-\xpretocmd{\Centerstack}{\begin{lateximage}[][][vertical-align:middle]}
+\xpretocmd{\Centerstack}
+ {\begin{lateximage}[\ImageAltText][][vertical-align:middle]}
{}
{\LWR@patcherror{stackengine}{Centerstack pre}}
@@ -68,7 +70,7 @@
}{}%
\begingroup% lwarp
\LWR@restoreorigformatting% lwarp
- \RenewDocumentEnvironment{lateximage}{s o o o}{}{}% lwarp: inside group
+ \RenewDocumentEnvironment{lateximage}{s o s o o}{}{}% lwarp: inside group
\expandafter\LWR@gsavebox\csname\sv@name content\endcsname{#2}%
\expandafter\gdef\expandafter#1\expandafter{%
\expandafter\begin\expandafter{lateximage\expandafter}% lwarp