sanitize: Helper function for LaTeX export

Description Usage Arguments Value Author(s) Examples

View source: R/report-utils-tex.R

Description

Sanitizes strings for LaTeX

Usage

1
    sanitize(str, dash = TRUE)

Arguments

str

character string to be escaped

dash

shoud a dash ('-') should be escaped to a '\nobreakdash-'?

Value

escaped character

Author(s)

iQuantitator,Florian P Breitwieser

Examples

1
    sanitize("\textbf{123-123}")

isobar documentation built on Nov. 8, 2020, 7:48 p.m.