summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-subcaption.sty21
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'.