as_latex.greek {spork} | R Documentation |
Convert Greek to Latex
Description
Converts Greek letter names to latex.
By default, assumes latex package upgreek
is available
so that lower case greek can be typeset upright, e.g. using
backslash-upalpha instead of backslash-alpha. Do use the package
"upgreek" in your document preamble,
or else in your R environment set options(spork_upgreek = FALSE)
.
Usage
## S3 method for class 'greek'
as_latex(x, ..., upgreek = getOption("spork_upgreek", TRUE))
Arguments
x |
greek |
... |
ignored, |
upgreek |
if TRUE, assume latex package |
Value
latex
See Also
Other latex:
[.latex()
,
[[.latex()
,
as_latex()
,
as_latex.default()
,
as_latex.latex()
,
as_latex.spar()
,
as_latex.spork()
,
concatenate.latex()
,
latexToken()
Examples
as_latex(greek())
[Package spork version 0.3.5 Index]