sanitize_for_latex: Sanitize certain symbols for LaTeX

View source: R/table2_utils.R

sanitize_for_latexR Documentation

Sanitize certain symbols for LaTeX

Description

Escapes special LaTeX characters ( preserving existing LaTeX commands. Uses negative lookbehind to avoid double-escaping already escaped characters.

Usage

sanitize_for_latex(x)

Arguments

x

Character vector to sanitize.

Value

Character vector with special characters escaped for LaTeX.


summata documentation built on May 7, 2026, 5:07 p.m.