9a18cf4b59
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.
655 B
655 B
% pandoc -t latex
hello[^1]
: Sample table.[^2]
-----------
Fruit[^3]
-----------
Bans[^4]
-----------
dolly[^5]
[^1]: doc footnote
[^2]: caption footnote
[^3]: header footnote
[^4]: table cell footnote
[^5]: doc footnote
^D
hello\footnote{doc footnote}
\begin{longtable}[]{@{}
>{\centering\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{0.17}}@{}}
\caption[Sample table.]{Sample table.\footnote{caption footnote}}\tabularnewline
\toprule
Fruit\footnote{header footnote} \\
\midrule
\endfirsthead
\toprule
Fruit{} \\
\midrule
\endhead
Bans\footnote{table cell footnote} \\
\bottomrule
\end{longtable}
dolly\footnote{doc footnote}