diff options
Diffstat (limited to 'macros/latex/contrib/caption/ltcaption.dtx')
-rw-r--r-- | macros/latex/contrib/caption/ltcaption.dtx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/macros/latex/contrib/caption/ltcaption.dtx b/macros/latex/contrib/caption/ltcaption.dtx index 343dbf695b..314528d58b 100644 --- a/macros/latex/contrib/caption/ltcaption.dtx +++ b/macros/latex/contrib/caption/ltcaption.dtx @@ -2,7 +2,7 @@ % % This is file `ltcaption.dtx'. % -% Copyright (C) 2007-2013 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm) +% Copyright (C) 2007-2020 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm) % % -------------------------------------------------------------------------- % @@ -28,7 +28,7 @@ % caption-deu.tex, caption-eng.tex, caption-rus.tex. % % \fi -% \CheckSum{378} +% \CheckSum{381} % % \iffalse %<*driver> @@ -464,7 +464,7 @@ % % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{ltcaption}[2018/08/26 v1.4a longtable captions (AR)] +\ProvidesPackage{ltcaption}[2020/05/30 v1.4b longtable captions (AR)] % \end{macrocode} % % \begin{macrocode} @@ -554,6 +554,7 @@ % % \begin{macro}{\LT@array} % \changes{v1.1a}{2008/03/21}{Improved redefinition of \cs{refstepcounter} etc.} +% \changes{v1.4b}{2020/05/30}{Re-definition of \cs{captionnewline} added} % We insert our stuff into the definition of |\LT@array| here. % Since the \package{hyperref} package patches |\LT@array| as well % and since this only works with the original definition of |\LT@array|, @@ -582,6 +583,10 @@ % \begin{macrocode} \def\lst@@caption{\relax}% % \end{macrocode} +% Re-define |\caption|\-|newline| so |\par| will be used inside longtables instead of |\\|. +% \begin{macrocode} + \def\captionnewline{\par}% +% \end{macrocode} % \begin{macrocode} \ltcaption@ORI@LT@array}} % \end{macrocode} |