wdTitle {R2wd}R Documentation

Add text in title style.

Description

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

Usage

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

Examples

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

[Package R2wd version 1.1 Index]