This is a function called in the output of the yaml of the Rmd file to specify using the standard ptrr word document formatting. By default, it uses the Word template built into the package as the `reference_docx` YAML option

ptrr_word(
  reference_docx = find_resource("ptrr_word", "template.docx"),
  number_sections = FALSE,
  ...
)

Arguments

reference_docx

Reference docx file to use, defaults to file included in package.

number_sections

Whether to number sections, defaults to FALSE.

...

Arguments to be passed to `[bookdown::word_document2]`

Value

A modified `word_document2` with the standard ptrr formatting.

Examples

if (FALSE) { # \dontrun{
  output: ptrr::ptrr_word
} # }