summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty6
1 files changed, 5 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
index 1c71e905add..497baad7b2b 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
@@ -51,6 +51,7 @@
\newcommand*{\LWR@igxscale}{1}
\newcommand*{\LWR@igyscale}{1}
\newcommand*{\LWR@igclass}{inlineimage}
+\newcommand*{\LWR@igalt}{(image)}
\define@key{igraph}{width}{%
\setlength{\LWR@igwidth}{#1}%
@@ -97,7 +98,7 @@
}
\define@key{igraph}{angle}{\renewcommand*{\LWR@igangle}{#1}}
\define@key{igraph}{class}{\renewcommand*{\LWR@igclass}{#1}}
-
+\define@key{igraph}{alt}{\renewcommand*{\LWR@igalt}{#1}}
\define@key{igraph}{scale}{%
\renewcommand*{\LWR@igxscale}{#1}%
\renewcommand*{\LWR@igyscale}{#1}%
@@ -149,6 +150,7 @@
\AtBeginDocument{
\define@key{Gin}{class}{}
+\define@key{Gin}{alt}{}
}
\AtBeginDocument{
@@ -187,6 +189,7 @@
\renewcommand*{\LWR@igxscale}{1}%
\renewcommand*{\LWR@igyscale}{1}%
\renewcommand*{\LWR@igclass}{inlineimage}%
+\renewcommand*{\LWR@igalt}{(image)}%
\IfValueF{#3}{%
\IfValueTF{#2}%
{\setkeys{igraph}{#2}}%
@@ -306,6 +309,7 @@ img src="%
" \LWR@orignewline%
}{}%
\LWR@origtilde{} class="\LWR@igclass" \LWR@orignewline%
+\LWR@origtilde{} alt="\LWR@igalt" \LWR@orignewline%
}% end of image tags
}% end of href
\endgroup