I could not find solutions for work - in LaTeX. I created a new longtable environment to make tables the way I wanted them. It was easier in the end. Here is an example Rmd file.
--- title: "Custom table" header-includes: - \usepackage{longtable,booktabs} output: pdf_document --- \newenvironment{mylong} {\begin{longtable}[l]{p{.25in}p{3in}p{3in}}Line & Statements & Reasons\\ \toprule\addlinespace } { \addlinespace\bottomrule\end{longtable} } \begin{mylong} 1& $a+b=a+d$ & Given P10, if $b=d$, then 1 is true\\ 2& $a+b=c$ & Given\\ 3& $a+d=c$ & Given P9, if 1 and 2 are true, then 3 is true. QED\\ \end{mylong}
Eli holmes
source share