[latex3-commits] [git/LaTeX3-latex3-latex2e] lt4.15: reset at font in longtable captions, issue #133 (977a5da5)
David Carlisle
d.p.carlisle at gmail.com
Sun Mar 28 21:50:16 CEST 2021
Repository : https://github.com/latex3/latex2e
On branch : lt4.15
Link : https://github.com/latex3/latex2e/commit/977a5da53b2219833268901162ad17db1b980b11
>---------------------------------------------------------------
commit 977a5da53b2219833268901162ad17db1b980b11
Author: David Carlisle <d.p.carlisle at gmail.com>
Date: Sun Mar 28 20:50:16 2021 +0100
reset at font in longtable captions, issue #133
>---------------------------------------------------------------
977a5da53b2219833268901162ad17db1b980b11
required/tools/longtable.dtx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/required/tools/longtable.dtx b/required/tools/longtable.dtx
index 4f34466e..a4c87872 100644
--- a/required/tools/longtable.dtx
+++ b/required/tools/longtable.dtx
@@ -2000,6 +2000,8 @@
% and modified to call \cs{@makecaption}}
% \changes{v3.14}{1995/05/02}
% {Use the first arg to remove counter for star form}
+% \changes{v4.15}{2021/03/28}
+% {\cs{reset at font} for gh/133}
% \begin{macrocode}
\def\LT at makecaption#1#2#3{%
\LT at mcol\LT at cols c{\hbox to\z@{\hss\parbox[t]\LTcapwidth{%
@@ -2007,6 +2009,7 @@
% Based on article class "\@makecaption", "#1" is "\@gobble" in star
% form, and "\@firstofone" otherwise.
% \begin{macrocode}
+ \reset at font
\sbox\@tempboxa{#1{#2: }#3}%
\ifdim\wd\@tempboxa>\hsize
#1{#2: }#3%
@@ -2220,7 +2223,7 @@
%
% \begin{macro}{\LT at p@ftntext}
% \changes{v4.15}{2021/03/28}
-% {make long for gh/364}
+% {make long for gh/364}
% Inside the `p' column, just save up the footnote text in a token
% register.
% \begin{macrocode}
More information about the latex3-commits
mailing list.