Description Usage Arguments Value Examples
View source: R/miscellaneous.R
Interactive version at https://www.codecogs.com/latex/eqneditor.php
| 1 2 3 4 5 6 7 | latex_query(
  formula,
  size = "normal",
  dpi = 300,
  transparent = FALSE,
  inline = FALSE
)
 | 
| formula | An appropriately escaped string of LaTeX code. Using the new string literal syntax  | 
| size | Font size. One of "tiny", "small", "normal", "large", or "huge" | 
| dpi | Image resolution. Defaults to 300 | 
| transparent | Should the background be transparent? Defaults to  | 
| inline | Render as inline formula? If TRUE, results in a more compact image. | 
A character string of the URL
| 1 2 3 4 5 6 | ## Not run: 
latex_query(r"(\beta + \alpha)")
latex_query("\\beta + \\alpha")
magick::image_read(latex_query(r"(\beta + \alpha)"))
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.