Development on twri_docx()
is complete. It is recommended to use
officedown::rdocx_document()
directly. This function is retained for older
templates that include the function, although rendered documents might be
inconsistent. It is suggested to update any reports to the latest version of
twriTemplates as twri_docx()
may be removed in future versions.
Loads an Rmarkdown template that will produce a Microsoft word document consistent with institute brand guidance.
Arguments
- base_format
character, either
rmarkdown::word_document
orbookdown::word_document2
(default)- tables
empty list, used by
officedown::rdocx_document()
- plots
empty list, used by
officedown::rdocx_document()
- lists
empty list, used by
officedown::rdocx_document()
- mapstyles
empty list, used by
officedown::rdocx_document()
- page_size
empty list, used by
officedown::rdocx_document()
- page_margins
empty list, used by
officedown::rdocx_document()
- reference_num
if
TRUE
text for references to sections will be the section number. IfFALSE
the text for references to sections will be the section title. Default isTRUE
.- toc
logical defaults FALSE. The template utilizes the TOC function in Word that can be manually removed or customized.
- number_sections
logical
- fig_captions
logical
- reference_docx
character, specifies the template document to use.
- ...
additional arguments to
officedown::rdocx_document()