powered by
Pre-processes a latex token not recognized as spork. Escapes the common names for Greek letters and escapes latex metacharacters.
latexToken(x, unrecognized = latexToken, math = TRUE, italics = FALSE, ...)
character
function to process unrecognized tokens
whether to wrap in math environment
whether to use italics or not
ignored arguments
Other latex: as_latex.spork(), as_latex(), spork_to_latex()
as_latex.spork()
as_latex()
spork_to_latex()
# NOT RUN { latexToken('foo') latexToken('alpha') latexToken('Alpha') # }
Run the code above in your browser using DataLab