R/printing-latex.R
latex_escape.Rd
Escapes the characters that LaTeX treats specially, so the string prints as plain text, as SymPy's latex_escape().
latex_escape()
latex_escape(s)
A character scalar.
The escaped string.
latex_escape("50% of $x_1$") #> [1] "50\\% of \\$x\\_1\\$"