beamer: added lines to fix table captions with longtable.

Thanks to Joost Kremers.
This commit is contained in:
John MacFarlane 2013-02-03 10:41:02 -08:00
parent 5ed01e0e8e
commit bc561191b2

View file

@ -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}