pandoc/test/command/4056.md
John MacFarlane eeaa3b048c LaTeX reader: support column specs like *{2}{r}.
This is equivalent to `rr`.  We now expand it like a macro.

Closes #4056.
2017-11-12 14:46:29 -08:00

440 B

% pandoc -f markdown -t native
\parbox[t]{0.4\textwidth}{
\begin{shaded}
\end{shaded}
}
^D
[RawBlock (Format "latex") "\\parbox[t]{0.4\\textwidth}{\n\\begin{shaded}\n\\end{shaded}\n}"]
% pandoc -f latex -t native
\begin{tabular}{l*{2}{r}}
Blah & Foo & Bar \\
\end{tabular}
^D
[Table [] [AlignLeft,AlignRight,AlignRight] [0.0,0.0,0.0]
 [[]
 ,[]
 ,[]]
 [[[Plain [Str "Blah"]]
  ,[Plain [Str "Foo"]]
  ,[Plain [Str "Bar"]]]]]