Template
Sample paragraph - $N = #0,#$ - This is the ### sample.
Python-style formatting: #{}#.
Outcomes | N | Mean | (Std.) |
---|---|---|---|
Outcomes ### | #0,# | #1,# | (#2,#) |
Outcomes ### | #0,# | #1,# | (#2,#) |
Outcomes ### | #0,# | #1,# | (#2,#) |
Outcomes ### | #0,# | #1,# | (#2,#) |
pandoc
will compile raw LaTeX inside markdown documents, so
tablefill
will also replace placeholders in LaTeX tables inside
markdown files. The replacement rules for LaTeX also apply here.
\begin{table} \caption{Table caption (e.g. regression results)} \label{tab:anotherExample} \begin{tabular}{p{4.25cm}c} Outcomes & Coef & (SE) \ Variable 1 & #{:.1f}# (#{:.2f}#)## \ Variable 2 & #{:.1f}# (#{:.2f}#)## \ Variable 3 & #{:.1f}# (#{:.2f}#)#*# \ \midrule N & #{:,.0f}# \ \multicolumn{4}{p{5cm}}{\footnotesize Footnotes!} \end{tabular} \end{table} \end{document}