heading: Add a Heading to an RTF Document

View source: R/heading.R

headingR Documentation

Add a Heading to an RTF Document

Description

Add a text heading to an rtf (rich text format) document.

Usage

heading(words, htype = 1, rtf = doc)

Arguments

words

Character scalar text of heading to add to document.

htype

Integer scalar heading type, 1=bold and font size 12, 2=bold and font size 10, 3=italics and font size 10, default 1.

rtf

An rtf object, default doc.

Details

The specified heading is written to the rtf file.

See Also

startrtf for an example, para, tabl, figu, figbig, endrtf, RTF.


JVAdams/GLFC documentation built on Jan. 5, 2023, 12:59 a.m.