Package: katex 1.5.0

katex: Rendering Math to HTML, 'MathML', or R-Documentation Format
Convert latex math expressions to HTML and 'MathML' for use in markdown documents or package manual pages. The rendering is done in R using the V8 engine (i.e. server-side), which eliminates the need for embedding the 'MathJax' library into your web pages. In addition a 'math-to-rd' wrapper is provided to automatically render beautiful math in R documentation files.
Authors:
katex_1.5.0.tar.gz
katex_1.5.0.zip(r-4.5)katex_1.5.0.zip(r-4.4)katex_1.5.0.zip(r-4.3)
katex_1.5.0.tgz(r-4.5-any)katex_1.5.0.tgz(r-4.4-any)katex_1.5.0.tgz(r-4.3-any)
katex_1.5.0.tar.gz(r-4.5-noble)katex_1.5.0.tar.gz(r-4.4-noble)
katex_1.5.0.tgz(r-4.4-emscripten)katex_1.5.0.tgz(r-4.3-emscripten)
katex.pdf |katex.html✨
katex/json (API)
NEWS
# Install 'katex' in R: |
install.packages('katex', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ropensci/katex/issues4 issues
Pkgdown site:https://docs.ropensci.org
On CRAN:katex-1.5.0(2024-09-29)
Last updated 6 months agofrom:a84bfe443c (on master). Checks:8 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Feb 25 2025 |
R-4.5-win | OK | Feb 25 2025 |
R-4.5-mac | OK | Feb 25 2025 |
R-4.5-linux | OK | Feb 25 2025 |
R-4.4-win | OK | Feb 25 2025 |
R-4.4-mac | OK | Feb 25 2025 |
R-4.3-win | OK | Feb 25 2025 |
R-4.3-mac | OK | Feb 25 2025 |
Exports:example_mathkatex_htmlkatex_mathmlmath_to_rdrender_math_in_html
Citation
To cite package ‘katex’ in publications use:
Ooms J (2025). katex: Rendering Math to HTML, 'MathML', or R-Documentation Format. R package version 1.5.0, , https://github.com/ropensci/katex.
Corresponding BibTeX entry:
@Manual{, title = {katex: Rendering Math to HTML, 'MathML', or R-Documentation Format}, author = {Jeroen Ooms}, year = {2025}, note = {R package version 1.5.0, }, url = {https://github.com/ropensci/katex}, }
Readme and manuals
katex

Rendering Math to HTML and MathML in R
Convert latex math expressions to HTML for use in markdown documents or package manual pages. The rendering is done in R using the V8 engine, which eliminates the need for embedding the MathJax library in the web pages.
Installation and documentation
Install directly from r-universe:
# Install from our universe
options(repos = c(
ropensci = 'https://ropensci.r-universe.dev',
CRAN = 'https://cloud.r-project.org'))
install.packages('katex')
Help Manual
Help page | Topics |
---|---|
Tex math rendering in R | example_math katex katex_html katex_mathml |
Display math in R documentation | math_to_rd |
Renders math in HTML document | pandoc render_math_in_html |