Learn R Programming

latexpdf (version 0.1.8)

command: Format a Latex Command

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

command(x, options = NULL, args = NULL, depth = 0)

Value

character

Arguments

x

length one character

options

vector or list

args

vector or list

depth

integer

See Also

wrap

as.ltable.data.frame

Examples

Run this code
command('caption',options='short',args='long')

Run the code above in your browser using DataLab