Skip to contents

This is a function called in output in the YAML of the driver Rmd file to specify using the McMaster Graduate Thesis LaTeX template and cls files.

Usage

thesis_pdf(toc = TRUE, toc_depth = 3, highlight = "default", ...)

Arguments

toc

A Boolean (TRUE or FALSE) specifying whether table of contents should be created

toc_depth

A positive integer

highlight

Syntax highlighting style. Supported styles include "default", "tango", "pygments", "kate", "monochrome", "espresso", "zenburn", and "haddock". Pass NULL to prevent syntax highlighting.

...

Further arguments passed to or from other methods.

Value

A modified pdf_document based on McMaster Graduate Thesis LaTeX template

Examples

if (FALSE) {
output:macdown::thesis_pdf
}