summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/caption/caption-eng.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/caption/caption-eng.tex')
-rw-r--r--macros/latex/contrib/caption/caption-eng.tex13
1 files changed, 10 insertions, 3 deletions
diff --git a/macros/latex/contrib/caption/caption-eng.tex b/macros/latex/contrib/caption/caption-eng.tex
index 8a10baffd0..a26aa0ca3b 100644
--- a/macros/latex/contrib/caption/caption-eng.tex
+++ b/macros/latex/contrib/caption/caption-eng.tex
@@ -31,7 +31,7 @@
% caption-deu.tex, caption-eng.tex, caption-rus.tex.
%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesFile{caption-eng.tex}[2020/08/30 v3.5 The caption package]
+\ProvidesFile{caption-eng.tex}[2020/09/12 v3.5 The caption package]
\hbadness=9999 \newcount\hbadness \hfuzz=20pt % Make TeX shut up.
%\errorcontextlines=3
@@ -4184,7 +4184,7 @@ and \package{subfig} packages even if the \package{caption} package isn't loaded
But some adaptions have to be done for the \package{caption} package,
and for this reason the hook
-\begin{quote}|\At|\-|Caption|\-|Package|\marg{code}\end{quote}
+\begin{quote}|\AtCaptionPackage|\marg{code}\end{quote}
is offered to authors of adaption files.
The \meta{code} inside the hook will be executed right before the given package
options will be evaluated.
@@ -4192,7 +4192,14 @@ options will be evaluated.
For example the adaption file for the \KOMAScript\ document classes
uses |\At|\-|Begin|\-|Caption| to re-define the \package{caption} package
options |figure|\-|position| and |table|\-|position| to issue a warning
-that using these options has little effect here.
+that using these options have little effect here.
+
+\DescribeMacro{\AfterCaptionPackage}
+The additional hook
+\begin{quote}|\AfterCaptionPackage|\marg{code}\end{quote}
+is offered to authors of adaption files as well.
+The \meta{code} inside the hook will be executed at the very end of the
+\package{caption} package.
% --------------------------------------------------------------------------- %