heading: Add a Heading to an RTF Document

Description Usage Arguments Details References See Also

View source: R/heading.R

Description

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

Usage

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

References

This is a copy of the heading function from the [GLFC] package.

See Also

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


JVAdams/EchoNet2Fish documentation built on Feb. 15, 2021, 4:27 a.m.