preview Package | R Documentation |
Define a LaTeXPackage for the LaTeX preview package.
previewPackage()
This function creates a "LaTeXpackage"
object
that provides support for the LaTeX preview package.
This adds a "preview-baseline"
anchor to use for
aligning the rendered LaTeX in R.
A predefined package is pre-registered
under the name "preview"
.
A "LaTeXpackage"
object.
This package wraps LaTeX snippets in a preview environment, which may not work for complex LaTeX snippets.
Paul Murrell
cat(author("test", packages="preview"), sep="\n")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.