officer (version 0.1.2)

fpar: concatenate formatted text

Description

Create a paragraph representation by concatenating formatted text or images. Modify default text and paragraph formatting properties with update.

Usage

fpar(...)

# S3 method for fpar update(object, fp_p = NULL, fp_t = NULL, ...)

fortify_fpar(x)

# S3 method for fpar as.data.frame(x, ...)

# S3 method for fpar format(x, type = "pml", ...)

# S3 method for fpar print(x, ...)

Arguments

...
unused
fp_p
paragraph formatting properties
fp_t
default text formatting properties
x, object
fpar object
type
a string value ("pml", "wml" or "html").

Details

fortify_fpar, as.data.frame are used internally and are not supposed to be used by end user.

Examples

Run this code
fpar(ftext("hello", shortcuts$fp_bold()))

Run the code above in your browser using DataCamp Workspace