diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-01-02 07:56:07 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-01-02 07:56:07 -0800 |
commit | 9a18cf4b591364e7f0dc9b976628e91f8b31a6cf (patch) | |
tree | bc532f38ff675b978169e185298ff0935a1a4572 /test/command | |
parent | 17e3efc785fa8b0680ec6d4ebaac1ea6bdb57e1a (diff) | |
download | pandoc-9a18cf4b591364e7f0dc9b976628e91f8b31a6cf.tar.gz |
LaTeX writer: revert table line height increase in 2.11.3.
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.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/2378.md | 6 | ||||
-rw-r--r-- | test/command/5367.md | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/test/command/2378.md b/test/command/2378.md index e81855367..59359c653 100644 --- a/test/command/2378.md +++ b/test/command/2378.md @@ -14,14 +14,14 @@ is used. \begin{longtable}[]{@{}ll@{}} \caption{a table}\tabularnewline \toprule -x & y\footnote{a footnote} \\ \addlinespace +x & y\footnote{a footnote} \\ \midrule \endfirsthead \toprule -x & y{} \\ \addlinespace +x & y{} \\ \midrule \endhead -1 & 2 \\ \addlinespace +1 & 2 \\ \bottomrule \end{longtable} ``` diff --git a/test/command/5367.md b/test/command/5367.md index 4dbcca771..2d3a5e52e 100644 --- a/test/command/5367.md +++ b/test/command/5367.md @@ -24,14 +24,14 @@ hello\footnote{doc footnote} >{\centering\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{0.17}}@{}} \caption[Sample table.]{Sample table.\footnote{caption footnote}}\tabularnewline \toprule -Fruit\footnote{header footnote} \\ \addlinespace +Fruit\footnote{header footnote} \\ \midrule \endfirsthead \toprule -Fruit{} \\ \addlinespace +Fruit{} \\ \midrule \endhead -Bans\footnote{table cell footnote} \\ \addlinespace +Bans\footnote{table cell footnote} \\ \bottomrule \end{longtable} |