aboutsummaryrefslogtreecommitdiff
path: root/test/command/5367.md
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-01-04 13:57:41 -0800
committerJohn MacFarlane <[email protected]>2023-01-04 13:57:41 -0800
commit7a82686adcf6efd68b32c5e471b3059be5085165 (patch)
tree19419f47079b351a1f57ae03485452f2fd5987a3 /test/command/5367.md
parentc4995fea41c305d94fc929fc1aca165bf6d592d6 (diff)
Use `\toprule\noalign{}` instead of `\toprule()` in LaTeX tables.
And similar for `\midrule` and `\bottomrule`. This facilitates redefining `\toprule`, `\midrule`, and `\bottomrule` without needing to gobble the ()s. Closes #8223.
Diffstat (limited to 'test/command/5367.md')
-rw-r--r--test/command/5367.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/command/5367.md b/test/command/5367.md
index 1ee7ce749..205ccf098 100644
--- a/test/command/5367.md
+++ b/test/command/5367.md
@@ -23,19 +23,19 @@ hello\footnote{doc footnote}
\begin{longtable}[]{@{}
>{\centering\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{0.1667}}@{}}
\caption[Sample table.]{Sample table.\footnote{caption footnote}}\tabularnewline
-\toprule()
+\toprule\noalign{}
\begin{minipage}[b]{\linewidth}\centering
Fruit\footnote{header footnote}
\end{minipage} \\
-\midrule()
+\midrule\noalign{}
\endfirsthead
-\toprule()
+\toprule\noalign{}
\begin{minipage}[b]{\linewidth}\centering
Fruit{}
\end{minipage} \\
-\midrule()
+\midrule\noalign{}
\endhead
-\bottomrule()
+\bottomrule\noalign{}
\endlastfoot
Bans\footnote{table cell footnote} \\
\end{longtable}