Description Usage Arguments Value Examples
This simple function takes a a character vector representing an
equation, matrix, or other text interpretable by a LaTeX math environment and
outputs it to console. It is used by mat2latex
and poly2latex
to produce
LaTeX-readable code from R objects.
This function builds on this StackOverflow post.
1 |
eqn |
A character vector representing LaTeX code that may be interpreted by a math environment. |
delim |
Delimiter for the printed code. Defaults to "$$", the TeX standard, which should suit most uses. |
file |
Passed to |
The object printed to console, or appended to a file if file
is
set.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.