for resizing figures, table cells, etc. in LaTeX. `\linewidth`, unlike the others, is sensitive to indented environments like lists. Closes #9775.
29 lines
466 B
Markdown
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}
|
|
```
|