png_latex: Creates a PNG of LaTeX Equation

Description Usage Arguments Value

View source: R/Github_LaTeX.R

Description

This code takes in LaTeX, creates a simple LaTeX document, and then creates a PDF of this, crops it, then converts it to a PNG

Usage

1
png_latex(latex, packages = c("amsmath", "amsfonts", "amssymb"), ...)

Arguments

latex

single character string of LaTeX code to convert

packages

to be loaded into LaTex using \usepackage

...

Arguments to be passed to converter

Value

Name of output file as a PNG


muschellij2/latexreadme documentation built on May 23, 2019, 9:53 a.m.