rmarkdown_block {mathpix} | R Documentation |
Add LaTeX commands as an rmarkdown
equation
Description
Converts an image to LaTeX then inserts that into an rmarkdown
equation
(surrounded by $$).
Usage
rmarkdown_block(img, retry = FALSE)
Arguments
img |
image to be converted to LaTeX |
retry |
If Mathpix is not able to process the image, should we try again with a re-processed image? |
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()
.
Value
an rmarkdown
equation block
[Package mathpix version 0.6.0 Index]