b5b5ef92cb
+ Remove the `\strut` that was added at the end of minipage environments in cells. + Replace `\tabularnewline` with `\\ \addlinespace`. Closes #6842, closes #6860.
439 B
439 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} \\ \addlinespace
\midrule
\endfirsthead
\toprule
x & y{} \\ \addlinespace
\midrule
\endhead
1 & 2 \\ \addlinespace
\bottomrule
\end{longtable}