diff options
author | Karl Berry <karl@freefriends.org> | 2020-04-25 20:51:39 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-04-25 20:51:39 +0000 |
commit | e6ef624d41c49a62e8b2d8e051b4d2cb8dc1ff46 (patch) | |
tree | 8cb484f86ed4e60635b18880d91e3290648b21fc /Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty | |
parent | b3f874e11dec455061f4a2eee43b3992c83a19ad (diff) |
lwarp (25apr20)
git-svn-id: svn://tug.org/texlive/trunk@54877 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty index eeb5e5b4b3d..7441db77cd8 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty @@ -16,19 +16,14 @@ %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. \LWR@ProvidesPackagePass{subcaption}[2018/05/01] -\ifdef{\subcaption@minipage}{ - \xpatchcmd{\subcaption@minipage} - {\minipage} - {\minipagefullwidth\minipage} - {} - {\LWR@patcherror{subcaption}{subcaption@minipage}} -}{} -\ifdef{\subcaptionbox}{ - \xpretocmd{\subcaptionbox} - {\minipagefullwidth} - {} - {\LWR@patcherror{subcaption}{subcaptionbox}} -}{} +\xpretocmd{\subcaption@iiminipage} + {\minipagefullwidth} + {} + {\LWR@patcherror{subcaption}{subcaption@iiminipage}} +\xpretocmd{\subcaptionbox} + {\minipagefullwidth} + {} + {\LWR@patcherror{subcaption}{subcaptionbox}} \endinput %% %% End of file `lwarp-subcaption.sty'. |