This is a function called in the output of the YAML of the Rmd file to specify using the standard Schola word document formatting.
Arguments
- reference_docx
Path to custom template. By default, the built-in one is used.
- ...
Arguments passed on to
bookdown::word_document2number_sectionsWhether to number section headers: if
TRUE, figure/table numbers will be of the formX.i, whereXis the current first-level section number, andiis an incremental number (the i-th figure/table); ifFALSE, figures/tables will be numbered sequentially in the document from 1, 2, ..., and you cannot cross-reference section headers in this case.global_numberingIf
TRUE, number figures and tables globally throughout a document (e.g., Figure 1, Figure 2, ...). IfFALSE, number them sequentially within sections (e.g., Figure 1.1, Figure 1.2, ..., Figure 5.1, Figure 5.2, ...). Note thatglobal_numbering = FALSEwill not work withnumber_sections = FALSEbecause sections are not numbered.base_formatAn output format function to be used as the base format.
Details
If no template is specified, the function will use the reschola's
default template. Path to template is relative to document being compiled.
See the examples below, or read the
bookdown manual
for more details and for a brief guide to Word templating).
See also
Other Report templates and formats:
copy_schola_template(),
open_schola_template(),
schola_pdf(),
schola_word2()