cfdbe85e71
For example, in \begin{tabular}{>{$}l<{$}>{$}l<{$} >{$}l<{$}} each cell will be interpreted as if it has a `$` before its content and a `$` after (math mode).
24 lines
629 B
Markdown
24 lines
629 B
Markdown
See https://groups.google.com/forum/#!topic/pandoc-discuss/_VXtqihCyDU.
|
|
|
|
```
|
|
% pandoc -f latex -t native
|
|
\begin{tabular}{>{$}l<{$}>{$}l<{$} >{$}l<{$}}
|
|
\toprule
|
|
& f1 & f2 \\
|
|
\midrule
|
|
e & 0.5 & 4 \\
|
|
f & 0.5 & 5,5 \\
|
|
\bottomrule
|
|
\end{tabular}
|
|
^D
|
|
[Table [] [AlignLeft,AlignLeft,AlignLeft] [0.0,0.0,0.0]
|
|
[[Plain [Math InlineMath ""]]
|
|
,[Plain [Math InlineMath "f1"]]
|
|
,[Plain [Math InlineMath "f2"]]]
|
|
[[[Plain [Math InlineMath "e"]]
|
|
,[Plain [Math InlineMath "0.5"]]
|
|
,[Plain [Math InlineMath "4"]]]
|
|
,[[Plain [Math InlineMath "f"]]
|
|
,[Plain [Math InlineMath "0.5"]]
|
|
,[Plain [Math InlineMath "5,5"]]]]]
|
|
```
|