View source: R/rmarkdown_output.R
schola_word | R Documentation |
This is a function called in the output of the YAML of the Rmd file to specify using the standard Schola word document formatting.
schola_word(
reference_docx = find_resource("schola_word", "template.docx"),
...
)
reference_docx |
Path to custom template. By default, the built-in one is used. |
... |
Arguments passed on to |
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).
A modified word_document2
with the standard Schola formatting.
Petr Bouchal
Jan Netik
Other Report templates and formats:
copy_schola_template()
,
open_schola_template()
,
schola_pdf()
,
schola_word2()
## Not run:
# # with the default template
output:
reschola::schola_word
# with a user-specified template
output:
reschola::schola_word:
reference_docx:template.docx
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.