aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-09-28 11:33:33 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2016-09-28 11:34:00 +0200
commit1475299c9aebfe3e47c135d6653202db3b2f6696 (patch)
tree07b230369bed16f18383917d002ddc7a82cfc4f9
parentcbbadf94c8772337a6489a2d0f636030e2a13d00 (diff)
downloadpandoc-1475299c9aebfe3e47c135d6653202db3b2f6696.tar.gz
LaTeX template: fix footnotes in tables.
This requires the footnote package, which is imported only if present. See #208. Thanks to Václav Haisman.
-rw-r--r--default.latex2
1 files changed, 2 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index 0128d998a..3ff8be2ab 100644
--- a/default.latex
+++ b/default.latex
@@ -123,6 +123,8 @@ $if(verbatim-in-note)$
$endif$
$if(tables)$
\usepackage{longtable,booktabs}
+% Fix footnotes in tables (requires footnote package)
+\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{}
$endif$
$if(graphics)$
\usepackage{graphicx,grffile}