twri_docx | R Documentation |
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.
twri_docx(
base_format = "bookdown::word_document2",
tables = list(),
plots = list(),
lists = list(),
mapstyles = list(),
page_size = list(),
page_margins = list(),
reference_num = TRUE,
toc = FALSE,
number_sections = TRUE,
fig_captions = TRUE,
reference_docx = "format.docx",
...
)
base_format |
character, either |
tables |
empty list, used by |
plots |
empty list, used by |
lists |
empty list, used by |
mapstyles |
empty list, used by |
page_size |
empty list, used by |
page_margins |
empty list, used by |
reference_num |
if |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.