TeXengine | R Documentation |
Define and register a TeX engine for authoring, typesetting, and rendering LaTeX documents.
TeXengine(name,
version,
command,
isEngine,
fontFile,
glyphIndex,
options=NULL,
preamble="",
dviSuffix=".dvi")
registerEngine(engine)
name |
Character name for the engine. |
version |
A function with no arguments that returns the engine version as a character value. |
command |
The command used to typeset a latex document with this engine. |
isEngine |
A function with one argument, a |
fontFile |
A function with one argument, a font description from a font definition opertaion in DVI output, that returns a path to the appropriate font file. |
glyphIndex |
A function with one argument, a raw vector of bytes from a set char operation in DVI output, that returns an integer index of the appropriate glyph. |
options |
Any required options to |
preamble |
A preamble that is added during authoring of a complete
LaTeX document from a LaTeX snippet. See |
dviSuffix |
The file suffix used for DVI files that are generated by this engine. |
engine |
A |
TeXengine()
can be used to create a typesetting engine for use
with, e.g., grid.latex
. Registering the engine via
registerEngine()
means that the engine can be specified by
name
.
TeXengine()
returns a "TeXengine"
object.
Paul Murrell
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.