schola_word: Basic Schola Empirica Word document

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/rmarkdown_output.R

Description

This is a function called in the output of the YAML of the Rmd file to specify using the standard Schola word document formatting.

Usage

1
2
3
4
schola_word(
  reference_docx = find_resource("schola_word", "template.docx"),
  ...
)

Arguments

reference_docx

Path to custom template. By default, the built-in one is used.

...

Arguments passed on to bookdown::word_document2

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).

Value

A modified word_document2 with the standard Schola formatting.

Author(s)

Petr Bouchal

Jan Netik

See Also

Other Report templates and formats: copy_schola_template(), open_schola_template(), schola_pdf(), schola_word2()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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)

scholaempirica/reschola documentation built on Jan. 22, 2022, 2 p.m.