wdSection {R2wd}R Documentation

Start a new section of the document.

Description

Start a section by: Adding a section break, switching to Heading1 style, adding the section title, adding a bookmark, adding a paragraph break, switching to Normal style.

Usage

wdSection(title, label = gsub(" ", "_", paste("sec", title, sep = "_")),
newpage = FALSE, wdapp = .R2wd)

Arguments

title section title
label bookmark text (will be generated automatically if missing)
newpage whether the section should start on a new page (doesn't work)
wdapp handle to Word Application (usually not needed).

Author(s)

Christian Ritter

Examples

## Not run: 
wdGet()
wdTitle("R2wd a package to ... ")
wdSection("Introduction",newpage=TRUE)

## End(Not run)

[Package R2wd version 1.1 Index]