#' @title YAML Key-Value Options
#'
#' @description Prints a list of the options specific to the CHL5201 assignment that are passed to the TeX template as LaTeX options.
#'
#' @export
yaml_opts <- function(){
opts <- list(
`citation-style` = c('numeric', 'alphabetic', 'authoryear', 'authortitle',
'verbose', 'verbose-trad1/2/3', 'reading',
'draft', 'debug'),
classoption = c("Any LaTeX article class option"),
keywords = c('String of keywords'),
spacing = c('singlespacing', 'onehalfspacing', 'doublespacing')
)
print(opts)
invisible()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.