tion">Motivation<a class="anchor" aria-label="anchor" href="#motivation"></a>
</h2>
<p><strong>lecturenotes</strong> is a personalised .Rmd template that I use for writing my lecture notes and academic papers. It is intended for documents that are going to be exported (i.e. “knitted”) to both HTML and PDF formats. In so doing, it tries to take care of various annoyances and inconsistencies that arise between these two formats. For example:</p>
<ul>
<li>Recognizing the author “affiliation” field in 