LaTeX translator

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)