command: Format a Latex Command

Description Usage Arguments Value See Also Examples

View source: R/latex.R

Description

Format a latex command. x is formated as a latex command, with the options (possibly named) inserted in square brackets, and the arguments each enclosed in curly braces. depth spaces are added to the left end of the string.

Usage

1

Arguments

x

length one character

options

vector or list

args

vector or list

depth

integer

Value

character

See Also

wrap

as.ltable.data.frame

Examples

1
command('caption',options='short',args='long')

latexpdf documentation built on Aug. 18, 2021, 1:07 a.m.