From bc561191b2bff547aa634e0d8a6d7a1e5bb71777 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 3 Feb 2013 10:41:02 -0800 Subject: [PATCH] beamer: added lines to fix table captions with longtable. Thanks to Joost Kremers. --- default.beamer | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/default.beamer b/default.beamer index c5562a1a1..74109d359 100644 --- a/default.beamer +++ b/default.beamer @@ -43,6 +43,10 @@ $if(verbatim-in-note)$ $endif$ $if(tables)$ \usepackage{longtable} +% These lines are needed to make table captions work with longtable: +\makeatletter +\def\fnum@table{\tablename~\thetable} +\makeatother $endif$ $if(url)$ \usepackage{url}