View source: R/reduce_whitespace.R
reduce_whitespace | R Documentation |
Remove excess whitespace recursively
reduce_whitespace(items, recursive = TRUE, all = FALSE)
items |
A LaTeX2 object. |
recursive |
Apply to all lists within |
all |
If |
items
with double spaces or double newlines set to single,
and trailing spaces removed (or all whitespace removed, if all
is TRUE
).
parsed <- parseLatex("a {b\n\nc}")
parsed
reduce_whitespace(parsed)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.