diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty index 5ba2f61fcd0..3174d3856b4 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-wrapfig.sty @@ -6,7 +6,7 @@ %% %% lwarp.dtx (with options: `wrapfig') %% This is a generated file. -%% Copyright 2016-2019 Brian Dunn +%% Copyright 2016-2020 Brian Dunn %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -35,7 +35,7 @@ margin:10pt% }% {% - \LWR@wrapposition% + width:\LWR@printlength{\LWR@templengthone}; \LWR@wrapposition; % }% {marginblock}% \setlength{\linewidth}{\LWR@templengthone}% @@ -43,29 +43,35 @@ \NewDocumentEnvironment{wrapfigure}{o m o m} {% +\begin{LWR@setvirtualpage}*% \LWR@subwrapfigure{#2}{#4}% \captionsetup{type=figure}% } {% \endLWR@BlockClassWP% +\end{LWR@setvirtualpage}% } \NewDocumentEnvironment{wraptable}{o m o m} {% +\begin{LWR@setvirtualpage}*% \LWR@subwrapfigure{#2}{#4}% \captionsetup{type=table}% } {% \endLWR@BlockClassWP% +\end{LWR@setvirtualpage}% } \NewDocumentEnvironment{wrapfloat}{m o m o m} {% +\begin{LWR@setvirtualpage}*% \LWR@subwrapfigure{#3}{#5}% \captionsetup{type=#1}% } {% \endLWR@BlockClassWP% +\end{LWR@setvirtualpage}% } \newlength{\wrapoverhang} |