translator_latex: LaTeX translator

Description Usage Arguments Value Author(s) See Also Examples

Description

This function translates character vectors so that they nicely print in LaTeX. In particular this uses latex boxes.

Usage

1
2
3
translator_latex(x, size = c("normalsize", "tiny", "scriptsize", 
    "footnotesize", "small", "large", "Large", "LARGE", "huge", 
    "Huge") )

Arguments

x

text to translate

size

font size

Value

translated text

Author(s)

Romain Francois <romain@r-enthusiasts.com>

See Also

the latex renderer: renderer_latex uses this translator.

Examples

1
2
3
4
5
6
## Not run: 
# the code is probably the best description of what this does
translator_latex
translator_latex( "#<" )

## End(Not run)

Dasonk/highlight documentation built on May 6, 2019, 1:37 p.m.