Description Usage Arguments Value Methods (by class) See Also
This is the preferred method to convert objects to a
latex
object. It is a generic function, so it can be defined for
different classes. The default is to convert an object to a character vector
and use escape_latex
to escape special LaTeX symbols.
1 2 3 4 5 6 7 8 9 10 |
x |
The object to convert |
... |
Other arguments used by methods |
An object of class "tex"
.
default
: This converts a character vector to a LaTeX
object.
Unlike LaTeX
, it can, and by default, escapes special LaTeX
characters.
latex
: Return x
, so as to not valid LaTeX text.
NULL
: This returns ""
LaTeX
for a description of code "latex"
objects.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.