Files
John MacFarlane 7a82686adc 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.
2023-01-04 13:57:41 -08:00

274 B

% pandoc -f html -t latex
<table id="test">
  <tr><td>one</td><td>two</td></tr>
</table>
^D
\begin{longtable}[]{@{}ll@{}}
\caption{}\label{test}\tabularnewline
\toprule\noalign{}
\endfirsthead
\endhead
\bottomrule\noalign{}
\endlastfoot
one & two \\
\end{longtable}