ptrr_word: Basic ptrr word document

View source: R/rmarkdown-output.R

ptrr_wordR Documentation

Basic ptrr word document

Description

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

Usage

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

## Not run: 
  output: ptrr::ptrr_word

## End(Not run)

petrbouchal/ptrr documentation built on Oct. 10, 2024, 7:21 a.m.