Files
pandoc/test/command/7272.md
T
John MacFarlane 7e7735bb6b Use \linewidth instead of \columnwidth or \textwidth...
for resizing figures, table cells, etc. in LaTeX.  `\linewidth`,
unlike the others, is sensitive to indented environments like
lists.

Closes #9775.
2024-05-31 15:03:06 -06:00

29 lines
466 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{(\linewidth - 0\tabcolsep) * \real{1.0000}}@{}}
\toprule\noalign{}
\endhead
\bottomrule\noalign{}
\endlastfoot
\begin{minipage}[t]{\linewidth}\raggedright
{ text\\
text2 }\strut
\end{minipage} \\
\end{longtable}
```