Skip to contents

This is the R Markdown template I use for my syllabi. For a discussion of some of its features, see here: http://svmiller.com/blog/2016/07/r-markdown-syllabus/. The skeleton also includes code for a calendar. I discuss this here: http://svmiller.com/blog/2020/08/a-ggplot-calendar-for-your-semester/

Usage

syllabus(...)

templ_syllabus()

Arguments

...

Arguments to rmarkdown::pdf_document.

About YAML header fields

FIELDDESCRIPTION
titleTitle of the class
authorName(s) of the professor(s)
dateThe semester
emailYour email. Technically optional, but you really should use it.
webClass website. Technically optional, but you really should use it.
officehoursYour office hours. Technically optional, but you really should use it.
officeYour office location. Technically optional, but you really should use it.
classroomThe classroom location. Technically optional, but you really should use it.
classhoursWhen/for how long the class meets in a given session. Technically optional, but you really should use it.
coteachingIf TRUE, changes format to allow for a second (third, or fourth) co-teacher

Additional Comments

There is a nested conditionality for co-teachers. If coteaching is TRUE, format changes to allow a second teacher. Conditional on coteaching being TRUE and there being an email3 entry, a third co-teacher is added and entries for the third teacher's office hours and office are assumed. If coteaching is TRUE, email3 has an entry and there is an email4 entry, a fourth co-teacher is added.

In the case of the above nested conditionality for co-teachers, be advised this was a hacky (sic) solution until I got too frustrated with doing it this way. You may want to look at the syllabus2 template in the same package.