mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 21:25:48 +00:00
40 lines
475 B
Markdown
40 lines
475 B
Markdown
```
|
|
% pandoc -t latex
|
|
|
|
|
|--|--
|
|
|a|b
|
|
|
|
: {#foo .unnumbered}
|
|
^D
|
|
{\def\LTcaptype{none} % do not increment counter
|
|
\begin{longtable}[]{@{}ll@{}}
|
|
\toprule\noalign{}
|
|
\endhead
|
|
\bottomrule\noalign{}
|
|
\endlastfoot
|
|
a & b \\
|
|
\end{longtable}
|
|
}
|
|
|
|
```
|
|
```
|
|
% pandoc -t latex
|
|
|
|
|
|--|--
|
|
|a|b
|
|
|
|
: {.float}
|
|
^D
|
|
{\def\LTcaptype{none} % do not increment counter
|
|
\begin{table}[]
|
|
\centering
|
|
\begin{tabular}{@{}ll@{}}
|
|
\toprule\noalign{}
|
|
a & b \\
|
|
\bottomrule\noalign{}
|
|
\end{tabular}
|
|
\end{table}
|
|
}
|
|
|
|
```
|