mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
The writer uses features from the longtable package to define the table foot. Furthermore, the table's bottom rule is now part of the foot, where it previously was given as part of the body.
420 B
420 B
Ensure that we don't get duplicated footnotes when
a note occurs in a header cell and \endfirsthead
is used.
% pandoc -t latex
| x | y[^fn] |
|-|-|
|1|2|
: a table
[^fn]: a footnote
^D
\begin{longtable}[]{@{}ll@{}}
\caption{a table}\tabularnewline
\toprule()
x & y\footnote{a footnote} \\
\midrule()
\endfirsthead
\toprule()
x & y{} \\
\midrule()
\endhead
\bottomrule()
\endlastfoot
1 & 2 \\
\end{longtable}