Description Usage Arguments Details Value References
The functions escapes characters that are used as LaTeX control sequences.
1 | escape_latex(x, newlines = FALSE, spaces = FALSE)
|
x |
a string to be escaped |
newlines |
if |
spaces |
if |
If x
is of class TeXcontent
, the input string is
returned “as is”.
an string with LaTeX control characters escaped
The function was taken from
Yihui Xie (2016). knitr: A General-Purpose Package for Dynamic Report Generation in R. R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.