render_tex_files | R Documentation |
Use case: A bunch of stuff done in LaTeXiT, resulting in some helper calculations
or derivations contained in tex files. These are then rendered to PDF using tex_fun
, per
default tinytex::xelatex, and then optionally converted to png
using the system convert
tool via imagemagick.
render_tex_files(
path,
cleanup = TRUE,
tex_fun = tinytex::xelatex,
to_png = TRUE
)
path |
Folder where |
cleanup |
|
tex_fun |
Which function to use, default ist tinytex::xelatex. |
to_png |
|
Nothing
## Not run:
render_tex_files("formulas")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.