R/yaml-options.R

Defines functions yaml_opts

Documented in yaml_opts

#' @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()
}
mattwarkentin/CHL5202 documentation built on March 1, 2020, 2:28 a.m.