Learn R Programming

R2wd (version 1.4)

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

Value

    Examples

    Run this code
    wdGet()
    wdTitle("Title")
    wdSection("Section 1",newpage=TRUE)
    wdSubsection("Sub-section 1.1")
    wdSubsubsection("Sub-sub-section 1.1.a")

    Run the code above in your browser using DataLab