aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-02-03 10:41:02 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-02-03 10:41:02 -0800
commitbc561191b2bff547aa634e0d8a6d7a1e5bb71777 (patch)
treec139e1d490d0802fa4ccf2d213e6776db4415548
parent5ed01e0e8ee7e8577e38e75d6d29c00479b09ead (diff)
downloadpandoc-bc561191b2bff547aa634e0d8a6d7a1e5bb71777.tar.gz
beamer: added lines to fix table captions with longtable.
Thanks to Joost Kremers.
-rw-r--r--default.beamer4
1 files changed, 4 insertions, 0 deletions
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}