schola_word: Basic Schola Empirica Word document

View source: R/rmarkdown_output.R

schola_wordR Documentation

Basic Schola Empirica Word document

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

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

## 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 Oct. 16, 2024, 6:43 a.m.