ys_sanitize: Functions to sanitize text for TeX documents

View source: R/utils.R

ys_sanitizeR Documentation

Functions to sanitize text for TeX documents

Description

Based on xtable::sanitize().

Usage

ys_sanitize(x)

ys_dont_sanitize(x)

ys_mild_sanitize(x)

Arguments

x

text to sanitize

Examples

ys_sanitize("Concentration ($\\mu$g)")
ys_sanitize("H&M")


metrumresearchgroup/yspec documentation built on Dec. 22, 2024, 1:37 a.m.