diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-06-05 14:13:58 -0600 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-06-05 14:13:58 -0600 |
commit | 21cc52abe33997ea2f2c539f10d26684b7633bc0 (patch) | |
tree | 0696a72ee641bfdf51289ede94c7a5c0603c7886 /test/command/5367.md | |
parent | c550bf8482310dfbcb20694e7bc969d19acc5f7d (diff) | |
download | pandoc-21cc52abe33997ea2f2c539f10d26684b7633bc0.tar.gz |
LaTeX writer: Fix regression in table header position.
In recent versions the table headers were no longer bottom-aligned
(if more than one line). This patch fixes that by using minipages
for table headers in non-simple tables.
Closes #7347.
Diffstat (limited to 'test/command/5367.md')
-rw-r--r-- | test/command/5367.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/command/5367.md b/test/command/5367.md index 2d3a5e52e..a67011c2f 100644 --- a/test/command/5367.md +++ b/test/command/5367.md @@ -24,11 +24,15 @@ 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} \\ +\begin{minipage}[b]{\linewidth}\centering +Fruit\footnote{header footnote} +\end{minipage} \\ \midrule \endfirsthead \toprule -Fruit{} \\ +\begin{minipage}[b]{\linewidth}\centering +Fruit{} +\end{minipage} \\ \midrule \endhead Bans\footnote{table cell footnote} \\ |