| grid.lualatex | R Documentation |
Render LaTeX code in R graphics using LuaTeX engine.
lualatexGrob(tex, ...,
preamble=luaPreamble(),
postamble=getOption("dvir.postamble"),
engine=lualatexEngine)
grid.lualatex(...)
luaPreamble(font="Times")
tex |
A character value containing LaTeX code. |
preamble,postamble |
LaTeX code that is placed around |
engine |
The TeX engine that is used for processing the LaTeX code. |
... |
Arguments passed to |
font |
The default font. |
This function takes LaTeX code as input, processes the LaTeX code to produce a DVI file, reads the DVI file, and renders the result using grid.
The default preamble does some setup appropriate to a standard
LuaTeX document. The luaPreamble function can be used
create variations on that.
The default engine is the lualatexEngine, which runs
lualatex to generate DVI.
A "DVIgrob" object.
Paul Murrell
readDVI, grid.dvi
## Not run:
grid.latex("$x - \\mu$")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.