UC_word_document: Rbearcat word document

View source: R/uc_rmd.R

UC_word_documentR Documentation

Rbearcat word document

Description

An R Markdown output format for Word documents (docx).

Usage

UC_word_document(toc = FALSE, toc_depth = 2, reference_docx = NULL, ...)

Arguments

toc

logical. set to TRUE to include a table of contents.

toc_depth

number of layers in TOC.

reference_docx

relative path to a docx reference document. If NULL (default), function will use the style.docx file included with the package.

...

other options passed to bookdown::word_document2. See word_document2 and word_document for all available options.

Value

An rmarkdown::output_format object for rendering Word documents.

Author(s)

Saannidhya Rawat


Rbearcat documentation built on March 21, 2026, 5:07 p.m.