| KaTeX | |
|---|---|
![]() | |
| Stable release | v0.16.221
/ April 9, 2025 (2025-04-09) |
| Written in | JavaScript |
| Operating system | Cross-platform |
| Type | Mathematical software |
| License | MIT License |
| Website | katex |
| Repository | |
KaTeX is a cross-browser JavaScript library that displays mathematical notation in web browsers. It puts special emphasis on being fast and easy to use.2
It was initially developed by Khan Academy,3 and became one of the top five trending projects on GitHub in September 2014.4
Features
KaTeX rendering of math claims to be:
- Fast: It renders its math synchronously and doesn't need to reflow the page.
- Print quality: Its layout is based on TeX.
- Self contained: It has no dependencies, so it can be easily bundled.
- Capable of server-side rendering: it has an option to generate HTML on the server (so, for example, one can pre-render expressions using Node.js and send them as plain HTML).
KaTeX implements a smaller subset of LaTeX's mathematical notation features than MathJax.25
References
References
- "Release v0.16.22". KaTeX. 2025-04-24.
- von Gagern, Martin; Richter-Gebert, Jürgen (2016), "CindyJS Plugins", in Greuel, Gert-Martin; Koch, Thorsten; Paule, Peter; Sommese, Andrew (eds.), Mathematical Software – ICMS 2016: 5th International Conference, Berlin, Germany, July 11–14, 2016, Proceedings, Lecture Notes in Computer Science, vol. 9725, Springer, pp. 327–334, doi:10.1007/978-3-319-42432-3_40
- Venkatesan, S. K. (2015). "TeX as a three-stage rocket: Cookie-cutter page breaking". TUGboat. 36 (2). TeX User's Group: 145–148.
- Marvin, Rob (September 19, 2014), "Top 5 projects trending on GitHub this week", SD Times
- "Support Table · KaTeX". katex.org. Retrieved 11 January 2024.
