diff options
author | Karl Berry <karl@freefriends.org> | 2021-06-11 19:53:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-06-11 19:53:34 +0000 |
commit | b6623b70d37bb1d67234317f1f7d2273a209ba5d (patch) | |
tree | c1c292ea1b47ae82c2f33509dceb3e2fc07c4c3d /Master/texmf-dist/tex/latex/keyfloat | |
parent | f888bb465a6524e211567841351d70e3c7de6d81 (diff) |
keyfloat (11jun21)
git-svn-id: svn://tug.org/texlive/trunk@59557 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/keyfloat')
-rw-r--r-- | Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty | 27 |
1 files changed, 8 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty b/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty index 1e4e559f6ef..a31f6ea7c75 100644 --- a/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty +++ b/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty @@ -18,7 +18,8 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{keyfloat} - [2021/06/08 v2.04 Key/value interface for floats and subfloats.] + [2021/06/11 v2.05 Key/value interface for floats and subfloats.] + @@ -73,22 +74,6 @@ \RequirePackage{placeins} \RequirePackage{wrapfig} -\RequirePackage{xpatch} - -\ifdef{\WF@wr} -{ - \xpatchcmd{\WF@wr} - {\gdef} - {\xdef} - {} - { - \PackageError{keyfloat} - {Unable to patch wrapfig \protect\WF@wr} - {Please inform the keyfloat author.} - } -} -{} - \PassOptionsToPackage{expand}{gettitlestring} @@ -732,8 +717,12 @@ \ifstrequal{#2}{W}% {% [W] \KFLT@findwidths% - \wrapfloat{\KFLT@type}[\KFLT@wn]{\KFLT@wp}[\KFLT@wo]% - {\KFLT@wrapwidth+2\KFLTlooseframewidth}% + \edef\next{% + \noexpand\wrapfloat% + {\KFLT@type}[\KFLT@wn]{\KFLT@wp}[\KFLT@wo]% + {\KFLT@wrapwidth+2\KFLTlooseframewidth}% + }% + \next% \minipage{\KFLT@wrapwidth+2\KFLTlooseframewidth}% \hbadness=10000\relax% \normalcolor\reset@font\normalsize% |