summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/caption/ltcaption.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-06-10 20:47:27 +0000
committerKarl Berry <karl@freefriends.org>2020-06-10 20:47:27 +0000
commitab2350d84cd86ce4be11206a765c6625e5cc2e5f (patch)
treee41cf5c553a7741b31843ff26ebcc00bcd2d52ff /Master/texmf-dist/source/latex/caption/ltcaption.dtx
parent099bed71ffa7fb4e19f4e614c077a149aae72930 (diff)
caption (10jun20)
git-svn-id: svn://tug.org/texlive/trunk@55507 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/caption/ltcaption.dtx')
-rw-r--r--Master/texmf-dist/source/latex/caption/ltcaption.dtx11
1 files changed, 8 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/caption/ltcaption.dtx b/Master/texmf-dist/source/latex/caption/ltcaption.dtx
index 343dbf695b4..314528d58b3 100644
--- a/Master/texmf-dist/source/latex/caption/ltcaption.dtx
+++ b/Master/texmf-dist/source/latex/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}