get_contents | R Documentation |
Convenience functions to get or set contents of item
get_contents(item)
set_contents(item, value)
item |
An item from a Latex list (or a LaTeX2 list with one item). |
value |
An object that can be coerced to be a LaTeX2 object. |
get_contents
returns the contents of the item as a LaTeX2 list.
The original item
with the contents
replaced by value
.
get_contents(parseLatex("{abc}"))
set_contents(parseLatex("{abc}"), "def")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.