Packages

katex

0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed

Your version

0.7.0

7 Jan 2017Where it was published

0.19.1 is the newest release of 0.7.x.

In short

13 new7 fixed8 changed

Release note

New features:

  • Allow specifying macros (without arguments) in the settings object

  • Add \kern

  • Add \mod, \bmod, \pmod, and \pod

  • Add \middle

  • Add \ldots, \textellipsis, and \mathellipsis

  • Add \#, \&, \$, \%, \_, \{, and \} in text mode

  • Add \stackrel

  • Add \atop

  • Add --, ---, ```, ', ​, '', \degree, \pounds, \maltese

  • Add \mathord, \mathbin, \mathrel, \mathopen, \mathclose, \mathpunct, \mathinner, and \mathop

  • Add \textrm, \textit, \textbf, \texttt, \textsf, and \textnormal

Other changes:

  • Combine adjacent spans in text mode (performance)

  • Don't apply italic correction in text mode (bug fix)

  • Fix the MathML fence attribute on delimiters (bug fix)

  • Fix converting bins to ords (bug fix)

  • Make \llap and \rlap produce ords (bug fix)

  • Fix spacing around \color, \mathbf, and in other places (bug fix)

  • Add per-style font metrics (bug fix)

  • Complain when trying to render a non-string (bug fix)

  • Fix subscript positioning with changed-font bases (bug fix)

  • Fix superscript/subscript centering in fractions (bug fix)

Infrastructure changes:

  • Improved Docker on Mac support

  • Clone screenshot fonts only once

  • Fix texcmp issues related to bit depth and kerning

  • Keep un-minified katex.js and katex.css files

  • Automatically call npm install when package.json changes

  • Upgrade less

Misc:

  • Added a code of conduct

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.