Jump to content

KaTeX

From Wikipedia, the free encyclopedia
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
KaTeX
Stable release
v0.16.10[1] / March 24, 2024; 6 months ago (2024-03-24)
Repository
Written inJavaScript
Operating systemCross-platform
TypeMathematical software
LicenseMIT License
Websitekatex.org

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.[2][5]

See also

References

  1. ^ "Release v0.16.10". KaTeX. 2024-03-24.
  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. 36 (2). TeX User's Group: 145–148.
  4. ^ Marvin, Rob (September 19, 2014), "Top 5 projects trending on GitHub this week", SD Times
  5. ^ "Support Table · KaTeX". katex.org. Retrieved 11 January 2024.