string:latex-encode
builtin-function
(string:latex-encode str)
Escapes characters that have a meaning in latex source.