katex
0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed
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
\kernAdd
\mod,\bmod,\pmod, and\podAdd
\middleAdd
\ldots,\textellipsis, and\mathellipsisAdd
\#,\&,\$,\%,\_,\{, and\}in text modeAdd
\stackrelAdd
\atopAdd
--,---, ```,',,'',\degree,\pounds,\malteseAdd
\mathord,\mathbin,\mathrel,\mathopen,\mathclose,\mathpunct,\mathinner, and\mathopAdd
\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
\llapand\rlapproduce 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 installwhen package.json changesUpgrade 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.