summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty32
1 files changed, 5 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
index 44fa0d952f6..49e594da490 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-keyfloat.sty
@@ -6,7 +6,7 @@
%%
%% lwarp.dtx (with options: `keyfloat')
%% 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
@@ -43,34 +43,12 @@
}%
\normalcolor%
}
-\providecommand*{\KFLT@LWR@hook@keysubfloats}{}
-\renewcommand*{\KFLT@LWR@hook@keysubfloats}{%
- \ifbool{KFLT@keywrap}{%
- }{%
- \ifnumequal{\value{KFLT@keyfloatdepth}}{0}{%
- \setlength{\linewidth}{6in}%
- \setlength{\textwidth}{6in}%
- \setlength{\textheight}{9in}%
- }{}%
- }%
- \normalcolor%
-}
+\LetLtxMacro\KFLT@LWR@hook@keysubfloats\KFLT@LWR@hook@boxouter
\let\KFLT@LWR@hook@keyfloatsminipage\relax
\let\endKFLT@LWR@hook@keyfloatsminipage\relax
\newenvironment*{KFLT@LWR@hook@keyfloatsminipage}[1]{}{}
-\providecommand*{\KFLT@LWR@hook@keyfloats}{}
-\renewcommand*{\KFLT@LWR@hook@keyfloats}{%
- \ifbool{KFLT@keywrap}{%
- }{%
- \ifnumequal{\value{KFLT@keyfloatdepth}}{0}{%
- \setlength{\linewidth}{6in}%
- \setlength{\textwidth}{6in}%
- \setlength{\textheight}{9in}%
- }{}%
- }%
- \normalcolor%
-}
+\LetLtxMacro\KFLT@LWR@hook@keyfloats\KFLT@LWR@hook@boxouter
\renewcommand*{\KFLT@maybeendfloatrow}{%
\ifnumless{\value{KFLT@thiscol}}{\value{KFLT@numcols}}%
@@ -252,8 +230,7 @@
\DeclareDocumentEnvironment{keywrap}{m +m}
{%
- \LWR@ensuredoingapar%
- \setlength{\linewidth}{6in}% in case #1 has \linewidth
+ \begin{LWR@setvirtualpage}*
\setlength{\LWR@templengthone}{#1}%
\begin{LWR@BlockClassWP}%
{%
@@ -266,6 +243,7 @@
\booltrue{KFLT@keywrap}%
#2%
\end{LWR@BlockClassWP}%
+ \end{LWR@setvirtualpage}%
}
{}
}% AtBeginDocument