Convenience functions to get or set contents of item
Value
get_contents
returns the contents of the item as a LaTeX2 list.
The original item
with the contents
replaced by value
.
Examples
get_contents(parseLatex("{abc}"))
#> abc
set_contents(parseLatex("{abc}"), "def")
#> BLOCK: {def}