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.sty7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
index ac1b3e59d65..2610fb0c7b8 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-graphics.sty
@@ -100,6 +100,13 @@
\define@key{igraph}{class}{\renewcommand*{\LWR@igclass}{#1}}
\define@key{igraph}{alt}{\renewcommand*{\LWR@igalt}{#1}}
\define@key{igraph}{scale}{%
+ \ifthenelse{\equal{#1}{1}}{}{% must expand #1
+ \PackageWarning{lwarp}{%
+ It is recommended to use\MessageBreak
+ [width=xx\protect\linewidth]\MessageBreak
+ instead of [scale=yy],%
+ }%
+ }%
\renewcommand*{\LWR@igxscale}{#1}%
\renewcommand*{\LWR@igyscale}{#1}%
}