translator_latex: LaTeX translator

translator_latexR Documentation

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")
)

Arguments

x

text to translate

size

font size

Value

translated text

See Also

the latex renderer: renderer_latex uses this translator.


highlight documentation built on Jan. 22, 2023, 1:38 a.m.