From Wikipedia, the free encyclopedia
Stable release
v0.15.2[1] / January 12, 2022; 12 months ago (2022-01-12)
Written inJavaScript
Operating systemCross-platform
TypeMathematical software
LicenseMIT License

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]


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).

Compared to MathJax, it handles only a limited subset of LaTeX's mathematics notation.[2]

See also[edit]


  1. ^ "Release v0.15.2". KaTeX. 2022-01-12.
  2. ^ a b 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
  3. ^ Venkatesan, S. K. (2015). "TeX as a three-stage rocket: Cookie-cutter page breaking". TUGboat. TeX User's Group. 36 (2): 145–148.
  4. ^ Marvin, Rob (September 19, 2014), "Top 5 projects trending on GitHub this week", SD Times

External links[edit]