The goal of the package is to provide a tool to transform latex math
expressions into `HTML`

format and
`Office Open XML Math`

format (which can be used in a Word or
PowerPoint document).

You can install the development version from GitHub with:

```
# install.packages("remotes")
::install_github("davidgohel/equatags") remotes
```

```
library(flextable)
<- c(
eqs "(ax^2 + bx + c = 0)",
"a \\ne 0",
"x = {-b \\pm \\sqrt{b^2-4ac} \\over 2a}")
<- data.frame(formula = eqs)
df
df
<- flextable(df)
ft <- compose(
ft x = ft, j = "formula",
value = as_paragraph(as_equation(formula)))
<- align(ft, align = "center", part = "all")
ft <- width(ft, width = 2, j = "formula")
ft ft
```

Packages texPreview written by Jonathan Sidi, “compile snippets of ‘LaTeX’ directly into images from the R console to view in the ‘RStudio’ viewer pane, Shiny apps and ‘RMarkdown’ documents”. With this package, you can get images from your ‘latex’ code. The tool offers a wider functional spectrum than just equation processing and focuses on ‘latex’ instead of only ‘MathJax’ equations.

Package mathjaxr written by Wolfgang Viechtbauer, “Using ‘Mathjax’ in Rd Files”. This package let you add equations in the manual pages of your package in a very convenient way.

Package katex written by Jeroen Ooms, “Rendering Math to HTML, ‘MathML’, or R-Documentation Format”. ‘equatags’ mainly uses its functions since the release of ‘katex’ that made possible to get rid of node.js dependency.