summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty13
1 files changed, 6 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty
index c74ce7ea01f..4eb11999622 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty
@@ -22,15 +22,14 @@
\newlength{\LWR@wrapwidth}
-
\newcommand*{\LWR@wrapposition}{}
\newcommand*{\LWR@subwrapfigure}[2]{%
\LWR@maybeincthisfloat%
\renewcommand*{\LWR@wrapposition}{}%
\ifthenelse{%
-\equal{#1}{r}\OR\equal{#1}{R}\OR%
-\equal{#1}{o}\OR\equal{#1}{O}%
+ \equal{#1}{r}\OR\equal{#1}{R}\OR%
+ \equal{#1}{o}\OR\equal{#1}{O}%
}%
{\renewcommand*{\LWR@wrapposition}{float:right}}%
{\renewcommand*{\LWR@wrapposition}{float:left}}%
@@ -42,7 +41,7 @@
\LWR@htmltag{div class="marginblock" id="autofloat-\arabic{LWR@thisfloat}"
style="width:\rndprintlength{\LWR@wrapwidth} ; %
\LWR@wrapposition"%
-}
+}%
\LWR@startpars
}
@@ -51,7 +50,7 @@ style="width:\rndprintlength{\LWR@wrapwidth} ; %
\LWR@subwrapfigure{#2}{#4}%
\captionsetup{type=figure}%
}
-{
+{%
\LWR@htmldivclassend{div}
}
@@ -60,7 +59,7 @@ style="width:\rndprintlength{\LWR@wrapwidth} ; %
\LWR@subwrapfigure{#2}{#4}%
\captionsetup{type=table}%
}
-{
+{%
\LWR@htmldivclassend{div}
}
@@ -69,7 +68,7 @@ style="width:\rndprintlength{\LWR@wrapwidth} ; %
\LWR@subwrapfigure{#3}{#5}%
\captionsetup{type=#1}%
}
-{
+{%
\LWR@htmldivclassend{div}
}