mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 11:57:16 +00:00
7a82686adc
And similar for `\midrule` and `\bottomrule`. This facilitates redefining `\toprule`, `\midrule`, and `\bottomrule` without needing to gobble the ()s. Closes #8223.
468 B
468 B
% pandoc -t latex -f html
<table>
<tbody>
<tr>
<td>
<span>
text
<br />
text2
</span>
</td>
</tr>
</tbody>
</table>
^D
\begin{longtable}[]{@{}
>{\raggedright\arraybackslash}p{(\columnwidth - 0\tabcolsep) * \real{1.0000}}@{}}
\toprule\noalign{}
\endhead
\bottomrule\noalign{}
\endlastfoot
\begin{minipage}[t]{\linewidth}\raggedright
{ text\\
text2 }\strut
\end{minipage} \\
\end{longtable}