git.iko.soy/typeable/pandoc
on master help sign in
LaTeX template: fix footnotes in tables.

This requires the footnote package, which is imported only if present. See #208. Thanks to Václav Haisman.

commit1475299c9aebfe3e47c135d6653202db3b2f6696 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 28 Sep 2016, 11:33 (10 years ago) parentcbbadf9
1 file changed+2
default.latex+2
default.latex+2
@@ -123,6 +123,8 @@ $if(verbatim-in-note)$
123123$endif$
124124$if(tables)$
125125\usepackage{longtable,booktabs}
126+% Fix footnotes in tables (requires footnote package)
127+\IfFileExists{footnote.sty}{\usepackage{footnote}\makesavenoteenv{long table}}{}
126128$endif$
127129$if(graphics)$
128130\usepackage{graphicx,grffile}