Skip to contents

Escape special characters in text intended to go into a LaTeX document

Usage

escape_latex(x, ...)

# S3 method for default
escape_latex(x, ...)

Arguments

x

The character string to escape

...

Passed to methods

Value

`x` with LaTeX special characters escaped

Details

Do not escape text before sending it to this function.