Uses bookdown package to allow cross-referencing. Uses the styles reference file `mystyles.docx` stored in directory `inst/rmarkdown/templates/elements` to define custom styling.

fm_word(toc = TRUE, toc_depth = 2, ...)

Arguments

toc

TRUE/FALSE (default TRUE). Display a table of contents

toc_depth

the depth of the table of contents. Default is 2

...

additional arguments which can be parsed by the word_document function

See also