typeset | R Documentation |
Generate a DVI File from TeX Code and return the name of the DVI file.
typeset(tex, preamble=getOption("dvir.preamble"), postamble=getOption("dvir.postamble"), engine=latexEngine, tinytex=FALSE, file=NULL, quiet=TRUE)
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. |
tinytex |
Should dvir attempt to use tinytex to perform the processing? |
file |
The name of a file to read LaTeX code from. If |
quiet |
Suppress TeX engine output? |
This function takes TeX code as input, creates a TeX document, and processes the TeX document to produce a DVI file.
The name of the DVI file.
Paul Murrell
readDVI
, grid.dvi
## Not run: typeset("$x - \\mu$") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.