From dc4ac3f4817f308e57fa969c7576d2fe8f55154b Mon Sep 17 00:00:00 2001 From: samcarter Date: Thu, 11 Jul 2024 21:18:59 +0200 Subject: [PATCH] defined `\fnum@table` to avoid breaking longtable (fix #905) --- CHANGELOG.md | 1 + base/beamerbaselocalstructure.sty | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e16e80..15f6b1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ a major and minor version only. - fixed problem if inmargin theme is used with the `usepdftitle=false` class option (see #885) - fixed spacing problem for right-aligned frametitles without background colour - fixed missing `\newline` if ragged2e is used together with beamerarticle (#900) +- defined `\fnum@table` to avoid breaking longtable (#905) ## [v3.71] diff --git a/base/beamerbaselocalstructure.sty b/base/beamerbaselocalstructure.sty index 1ae6917..d6929b7 100644 --- a/base/beamerbaselocalstructure.sty +++ b/base/beamerbaselocalstructure.sty @@ -560,6 +560,7 @@ {\par\nobreak\end{center}\nobreak} \newcounter{table} \renewcommand\thetable{\@arabic\c@table} +\def\fnum@table{\tablename\nobreakspace\thetable} \newlength\abovecaptionskip \newlength\belowcaptionskip