diff options
Diffstat (limited to 'macros/latex/contrib/caption/fallback/v3.3/caption.dtx')
-rw-r--r-- | macros/latex/contrib/caption/fallback/v3.3/caption.dtx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/macros/latex/contrib/caption/fallback/v3.3/caption.dtx b/macros/latex/contrib/caption/fallback/v3.3/caption.dtx index 7ab24aeaac..b311022734 100644 --- a/macros/latex/contrib/caption/fallback/v3.3/caption.dtx +++ b/macros/latex/contrib/caption/fallback/v3.3/caption.dtx @@ -25,7 +25,7 @@ % and the user manuals caption-deu.tex, caption-eng.tex, and caption-rus.tex. % % \fi -% \CheckSum{3694} +% \CheckSum{3695} % % \iffalse %<*driver> @@ -220,7 +220,7 @@ % % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{caption}[2019/09/01 v3.3d Customizing captions (AR)] +\ProvidesPackage{caption}[2022/07/10 v3.3e Customizing captions (AR)] % \end{macrocode} % % \subsection{Loading the kernel} @@ -4411,6 +4411,7 @@ % \changes{v3.1c}{2007/10/06}{\cs{caption} will be saved \& restored now} % \changes{v3.2a}{2011/08/17}{Bugfix: Uses \cs{caption@freeze} instead of \cs{caption@freeze*} now} % \changes{v3.3}{2013/05/01}{Usage of \cs{caption@freeze} replaced by \cs{caption@freezetype}} +% \changes{v3.3e}{2022/07/10}{\cs{ignorespaces} appended} % This macro will be called at the start of the environment, here is a good % opportunity to do some adaptations to |\caption| and |\captionsetup|. % \begin{macrocode} @@ -4424,7 +4425,7 @@ \SC@RestoreCommands % \end{macrocode} % Since the sidecap package uses our |\caption| code outside the -% environment the regular |\captionsetup| will not work. +% environment the regular |\caption|\-|setup| will not work. % So we need a special version here which saves the given argument list % which will be executed later on. % Furthermore we need to make |\caption*| work. @@ -4434,7 +4435,12 @@ % The sidecap package uses |\ifx\label\SC@label| to test if it is just inside a % |SC|\-|figure| or not. So we redefine |\SC@label| here so this test will still work. % \begin{macrocode} - \let\SC@label\label}% + \let\SC@label\label +% \end{macrocode} +% Since the original definition of |\SC@zfloat| ends with |\begin{lrbox}| which ends with |\ignore|\-|spaces|, +% we do have to end our re-definition of |\SC@zfloat| with |\ignore|\-|spaces| as well. +% \begin{macrocode} + \ignorespaces}% % \end{macrocode} % \begin{macrocode} \providecommand*\SC@RestoreCommands{% |