aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-06-21 23:31:27 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-06-21 23:33:00 -0700
commit8eed5b90d09a4a0c2592c92215fa96c69cf35234 (patch)
treea208157c986b8a52f2b081d115d472b37c86c411 /test
parent9867231779c32ddc2cce85d869de2ef586707244 (diff)
downloadpandoc-8eed5b90d09a4a0c2592c92215fa96c69cf35234.tar.gz
LaTeX writer: add strut at end of minipage if it contains...
line breaks. Without them, the last line is shorter than it should be, at least in some cases.
Diffstat (limited to 'test')
-rw-r--r--test/command/7272.md2
-rw-r--r--test/tables/nordics.latex8
2 files changed, 5 insertions, 5 deletions
diff --git a/test/command/7272.md b/test/command/7272.md
index 3b9064c9c..d27b25143 100644
--- a/test/command/7272.md
+++ b/test/command/7272.md
@@ -20,7 +20,7 @@
\endhead
\begin{minipage}[t]{\linewidth}\raggedright
{ text\\
-text2 }
+text2 }\strut
\end{minipage} \\
\bottomrule
\end{longtable}
diff --git a/test/tables/nordics.latex b/test/tables/nordics.latex
index 1dcac7319..6f17a163e 100644
--- a/test/tables/nordics.latex
+++ b/test/tables/nordics.latex
@@ -11,10 +11,10 @@ Name
Capital
\end{minipage} & \begin{minipage}[b]{\linewidth}\centering
Population\\
-(in 2018)
+(in 2018)\strut
\end{minipage} & \begin{minipage}[b]{\linewidth}\centering
Area\\
-(in km\textsuperscript{2})
+(in km\textsuperscript{2})\strut
\end{minipage} \\
\midrule
\endfirsthead
@@ -25,10 +25,10 @@ Name
Capital
\end{minipage} & \begin{minipage}[b]{\linewidth}\centering
Population\\
-(in 2018)
+(in 2018)\strut
\end{minipage} & \begin{minipage}[b]{\linewidth}\centering
Area\\
-(in km\textsuperscript{2})
+(in km\textsuperscript{2})\strut
\end{minipage} \\
\midrule
\endhead