In 2.11.3 we started adding `\addlinespace`, which produced less
dense tables. This wasn't an intentional change; I misunderstood
a comment in the discussion leading up to the change. This commit
restores the earlier default table appearance.
Note that if you want a less dense table, you can use something like
`\def\arraystretch{1.5}` in your header.
Closes #6996.
28 lines
397 B
Markdown
28 lines
397 B
Markdown
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
|
|
1 & 2 \\
|
|
\bottomrule
|
|
\end{longtable}
|
|
```
|