escapeLatexSpecials | R Documentation |
Escape special LaTeX characters for use in LaTeX labels
escapeLatexSpecials(x)
x |
String or vector of strings. |
String or vector of strings with all occurences of "#", "$", "%", "&", "~", "_", "^", ">", "<" replaced by escaped counterparts which should render fine when used in a tikz plot, for example.
from https://stackoverflow.com/questions/36338629/escaping-special-latex-characters-in-r
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.