diff options
author | Karl Berry <karl@freefriends.org> | 2022-01-10 21:28:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-01-10 21:28:10 +0000 |
commit | 3c62f06e388783aac7edc1711b73670d47ef9ec7 (patch) | |
tree | af31b3d966ccae03bf5ca069f6dde0821611fcef /Master/texmf-dist/tex/latex | |
parent | d11db15f4ca13efd03358b7f8212591346432d15 (diff) |
keyfloat (10jan22)
git-svn-id: svn://tug.org/texlive/trunk@61561 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty b/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty index 5b90a20a7c3..955446ff7e4 100644 --- a/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty +++ b/Master/texmf-dist/tex/latex/keyfloat/keyfloat.sty @@ -18,7 +18,7 @@ \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{keyfloat} - [2021/06/29 v2.06 Key/value interface for floats and subfloats.] + [2022/01/10 v2.07 Key/value interface for floats and subfloats.] @@ -351,10 +351,20 @@ \newcommand{\KFLT@frame}[1] {% \ifbool{KFLT@ft}% - {\KFLTtightframe{#1}}% + {% + {% + \hfuzz=\linewidth% + \KFLTtightframe{#1}% + }% + }% {% not tightframe \ifbool{KFLT@f}% - {\KFLTlooseframe{#1}}% + {% + {% + \hfuzz=\linewidth% + \KFLTlooseframe{#1}% + }% + }% {#1}% no frame }% not looseframe } @@ -742,7 +752,9 @@ \NewDocumentCommand{\KFLT@boxkeys}{+m m} {% \KFLT@defaults% - \renewcommand{\KFLT@type}{#2}% + \ifbool{KFLT@inkeysubfloats}% + {\renewcommand{\KFLT@type}{\@captype}}% + {\renewcommand{\KFLT@type}{#2}}% \edef\next{\noexpand\setkeys{KFLT@keys}{\KFLT@sharedkeys}}% \next% \setkeys{KFLT@keys}{#1}% @@ -1293,7 +1305,6 @@ {% \KFLT@endsubfloats{#1}{#2}% } - \NewDocumentEnvironment{keysubfloats}{s O{tbp} m m +m O{}} {\KFLT@keysubfloats{#1}{#2}{#3}{#4}{#5}{#6}} {\endKFLT@keysubfloats} |