Text may contain several characters with special meanings in LaTeX. This function will transform a character vector so that it is safe to use within LaTeX tables.

escape_latex(text)

Arguments

text

a character vector containing the text that is to be LaTeX-escaped.

Value

A character vector.

Function ID

7-26

See also