wrap: Wrap Text in a Latex Environment

View source: R/latex.R

wrapR 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')

bergsmat/latexpdf documentation built on Oct. 27, 2024, 8:45 a.m.