typeset | R Documentation |
Typeset a LaTeX document, either from a character value or from an external file.
typeset(tex,
engine=getOption("xdvir.engine"),
...)
## S3 method for class 'LaTeXdocument'
typeset(tex,
engine=NULL,
texFile=NULL,
...)
## S3 method for class 'character'
typeset(tex,
engine=NULL,
texFile=NULL,
sig=FALSE,
...)
tex |
LaTeX code. See Details. |
engine |
The TeX engine that should be used to typeset the LaTeX.
May be the name of a TeX engine (character)
or a |
texFile |
Name of a file to use for LaTeX code. |
sig |
Add a signature to the DVI output? |
... |
Arguments passed to other |
typeset()
expects input to be either a "TeXdocument"
,
as generated by author
, or a
character value containing LaTeX code.
A "DVI"
object as produced by readDVI
.
Paul Murrell
LaTeXpackage
.
## Not run:
# Requires TeX installation
tex <- author("this is a test")
typeset(tex)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.