Connect to the mathpix API and translate an image to LaTeX
Connect to the mathpix API and translate an image to LaTeX
mathpix_api(img)
Arguments
img: image to be converted to LaTeX
Returns
a character string of LaTeX commands (or NULL if fails).
Details
You must save your own API key in your environment (e.g. ~/.Renviron) with the identifiers MATHPIX_APP_ID and MATHPIX_APP_KEY. This can be tested with mathpix:::credentials().