summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty')
-rw-r--r--Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty10
1 files changed, 10 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty
index 5ed75c1419d..a1d107891d7 100644
--- a/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty
+++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-caption.sty
@@ -75,6 +75,15 @@
{\LWR@patcherror{caption}{@xdblfloat}}
}
+\long\def\caption@@@text#1#2#3[#4]#5{%
+ \begin{BlockClass}{figurecaption}% lwarp
+ \begingroup
+ #3{\csname c@#1\endcsname #4\relax}%
+ #2{\caption@fnum{#1}}{#5}%
+ \endgroup%
+ \end{BlockClass}% lwarp
+}
+
\caption@AtBeginDocument{
\IfPackageLoadedTF{lwarp-scrextend}{
\LetLtxMacro\captionbelow\caption
@@ -83,6 +92,7 @@
\LetLtxMacro\captionofabove\captionof
}{}
}
+
\endinput
%%
%% End of file `lwarp-caption.sty'.