highlight (version 0.5.0)

translator_latex: LaTeX translator

Description

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

Usage

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

Value

translated text

Arguments

x

text to translate

size

font size

See Also

the latex renderer: renderer_latex uses this translator.