Move 'tables in footnotes' fix out of beamer part of default.latex.

This caused an error in beamer.

Footnotes already work in tables in beamer, without this code.
This commit is contained in:
John MacFarlane 2017-09-12 08:30:00 -07:00
parent b71c7d97d1
commit 2e2795412d

View file

@ -176,14 +176,15 @@ $highlighting-macros$
$endif$
$if(tables)$
\usepackage{longtable,booktabs}
% Fix footnotes in tables (requires footnote package)
\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{}
$if(beamer)$
\usepackage{caption}
% These lines are needed to make table captions work with longtable:
\makeatletter
\def\fnum@table{\tablename~\thetable}
\makeatother
$else$
% Fix footnotes in tables (requires footnote package)
\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{longtable}}{}
$endif$
$endif$
$if(graphics)$