powered by
Escape special TeX characters.
escape_tex(term)
A character string to escape
A character string
Ten characters have special meaning in TeX & % $ # _ { } ~ ^ \. This function either escapes them with \, or in the case of the last three, replaces them with special TeX macros.
& % $ # _ { } ~ ^ \