escape_latex: Escape Symbols for LaTeX Output

escape_latexR Documentation

Escape Symbols for LaTeX Output

Description

This function is a copy of the non-exported function escape_latex() from the knitr package. This function is not exported.

Usage

escape_latex(x, newlines = FALSE, spaces = FALSE)

Arguments

x

Character.

newlines

Logical. Determines if \n are escaped.

spaces

Logical. Determines if multiple spaces are escaped.


papaja documentation built on Sept. 29, 2023, 9:07 a.m.