
Wrap text in a latex environment. x
is wrapped in the specified environment, with options and arguments formatted appropriately.
wrap(x, environment, options = NULL, args = NULL, depth = 0)
character
name of environment
list or vector
list or vector
integer (extra spaces on the left)
character
# NOT RUN {
wrap('Hello','center')
# }
Run the code above in your browser using DataLab