mathpix_api | R Documentation |
Connect to the mathpix API and translate an image to LaTeX
mathpix_api(img)
img |
image to be converted to LaTeX |
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()'.
a character string of LaTeX commands (or NULL if fails).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.