In some cases, the rounding performed by the LaTeX table writer would introduce visible overrun outside the text area. This adds two more decimal places to the width values.
28 lines
435 B
Markdown
28 lines
435 B
Markdown
```
|
|
% 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
|
|
\endhead
|
|
\begin{minipage}[t]{\linewidth}\raggedright
|
|
{ text\\
|
|
text2 }\strut
|
|
\end{minipage} \\
|
|
\bottomrule
|
|
\end{longtable}
|
|
```
|