diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty index 90bab9c3c0d..efdf831f078 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-floatrow.sty @@ -33,29 +33,29 @@ \NewDocumentCommand{\floatbox}{o m o o o +m +m}{% \ifbool{LWR@subcaptionloaded}% {% subcaption -\ifbool{LWR@insubfloatrow}% -{% subcaption in a subfloatrow -\IfValueTF{#3}% -{\@nameuse{sub#2}{#3}}% -{\@nameuse{sub#2}{\linewidth}}% -}% subcaption in a subfloatrow -{% subcaption not in subfloatrow -\@nameuse{#2}% -}% subcaption not in subfloatrow -#6 - -#7 -\ifbool{LWR@insubfloatrow}% -{\@nameuse{endsub#2}}% -{\@nameuse{end#2}}% + \ifbool{LWR@insubfloatrow}% + {% subcaption in a subfloatrow + \IfValueTF{#3}% + {\@nameuse{sub#2}{#3}}% + {\@nameuse{sub#2}{\linewidth}}% + }% subcaption in a subfloatrow + {% subcaption not in subfloatrow + \@nameuse{#2}% + }% subcaption not in subfloatrow + #6 + + #7 + \ifbool{LWR@insubfloatrow}% + {\@nameuse{endsub#2}}% + {\@nameuse{end#2}}% }% subcaption {% assume subfig \ifbool{LWR@insubfloatrow}% {% subfig in a subfloatrow -\begingroup -\let\caption\@firstofone -\subfloat[#6]{#7} -\endgroup + \begingroup + \let\caption\@firstofone + \subfloat[#6]{#7} + \endgroup }% subfig in a subfloatrow {% subfig package, but not a subfig \@nameuse{#2} @@ -130,16 +130,16 @@ \LWR@traceinfo{finished setkeys frowkeys}% \ifthenelse{\equal{\LWR@frowkeywithin}{}} { -\LWR@traceinfo{about to newfloat #1 \LWR@frowkeyplacement\ -\LWR@frowkeyfileext}% -\newfloat{#1}{\LWR@frowkeyplacement}{\LWR@frowkeyfileext} + \LWR@traceinfo{about to newfloat #1 \LWR@frowkeyplacement\ + \LWR@frowkeyfileext}% + \newfloat{#1}{\LWR@frowkeyplacement}{\LWR@frowkeyfileext} }% {% -\LWR@traceinfo{about to newfloat #1\ \LWR@frowkeyplacement\ -\LWR@frowkeyfileext\ \LWR@frowkeywithin}% -\newfloat{#1}{\LWR@frowkeyplacement}% -{\LWR@frowkeyfileext}[\LWR@frowkeywithin]% -\LWR@traceinfo{finished newfloat #1} + \LWR@traceinfo{about to newfloat #1\ \LWR@frowkeyplacement\ + \LWR@frowkeyfileext\ \LWR@frowkeywithin}% + \newfloat{#1}{\LWR@frowkeyplacement}% + {\LWR@frowkeyfileext}[\LWR@frowkeywithin]% + \LWR@traceinfo{finished newfloat #1} }% \ifthenelse{\equal{\LWR@frowkeyname}{}} {} |