wrap {latexpdf}R Documentation

Wrap Text in a Latex Environment

Description

Wrap text in a latex environment. x is wrapped in the specified environment, with options and arguments formatted appropriately.

Usage

wrap(x, environment, options = NULL, args = NULL, depth = 0)

Arguments

x

character

environment

name of environment

options

list or vector

args

list or vector

depth

integer (extra spaces on the left)

Value

character

See Also

command

as.ltable.data.frame

Examples

wrap('Hello','center')

[Package latexpdf version 0.1.8 Index]