 href="#before-you-begin"></a>
</h2>
<p>This template is for knitting R Markdown documents to <em>both</em> HTML and PDF format. It tries to take care of various inconsistencies between the two formats with minimum effort from the user. Just click “Knit” (in Rstudio) and it will automatically export to both formats. As the name suggests, I predominantly use it for my lecture notes. But I find that it works well for writing papers too.</p>
<p>See the package <a href="https://github.com/grantmcdermott/lec