Add text in title style.

Description

Add text in title style and add a paragraph bread if needed.

Usage

1
2
3
wdTitle(title,
label = substring(gsub("[, .]", "_", paste("text", title, sep = "_")), 1, 16),
paragraph = TRUE, wdapp = .R2wd)

Arguments

title

the text to format in title style

label

the bookmark text (if given)

paragraph

whether a paragraph break should be added at the end.

wdapp

the handle to the Word Application (usually not needed).

Author(s)

Christian Ritter

Examples

1
2
3
4
5
6
7
8
## Not run: 
wdGet()
wdTitle("Title")
wdSection("Section 1",newpage=TRUE)
wdSubsection("Sub-section 1.1")
wdSubsubsection("Sub-sub-section 1.1.a")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.