katex
0.19.1 · 23 Oct 2026MIT47.8M / weekRepositoryHomepagenpmAtom feed
118 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 0.10.x
0.10.1
22 Feb 2019ECMAScript module for contrib
Mhchem extension
auto-render: Optional pre-process callback
Added
ECMAScript module for contrib
Mhchem extension
auto-render: Optional pre-process callback
\argmax and \argmin
\textbackslash and \textasciicircum
Leqno and fleqn support
Changed
Include only necessary fonts for target environment specified by Browserslist
Fixed
Support blackboard bold in text mode
Fix spacings in semisimple groups
Fix parsing comments
Fix \ and \newline after operator
Fix \hphantom width
Remove double encoding in MathML
Fix Unicode bigcup
Fix \genfrac w/ empty delimiter arguments
\fbox inherits default color
Fix \not and \neq on Chrome 72
0.10.0
29 Oct 2018Unicode ⟦⟧
Browserslist
KaTeX has a new domain, website, and documentation at katex.org!
For the full list of changes since v0.9.0, see CHANGELOG.md.
Added
Unicode ⟦⟧
KaTeX website & documentation (#1571, #1642, #1680, #1683, #1688, #1631, #1727)
Browserslist
6-digit color without #
\mathnormal
\lparen and \rparen
Changed
Port to @flow: CssStyle
Upgrade to Babel 7
Fixed
Remove duplicate defineFunction invocation for \mathop
Fix tag positioning to live within katex-html parent
Fix
\mathitfont and italic correction
- 0.9.x
0.9.0
18 Feb 2018Improve JS spacing
Fix handling of Unicode characters ð, Å, å
Padding over \sqrt and Paths for frac-line
Bug fixes:
Improve JS spacing
Fix handling of Unicode characters ð, Å, å
Padding over \sqrt and Paths for frac-line
New Features:
Italic Greek capital letters
Add support for \mathring
Add support for unicode angle brackets, single vertical bar, double vertical bar
Enable spacing functions in text mode
Support Reaction Arrows
Add \nobreakspace
Support Unicode colon equals
Support \underline in text mode
Other Changes:
Add perf tests, fixes #1053
Extract sizing and styling implicit functions
Move katex.less into src
Extract font functions and implicit color function
Set webpack-dev-server host to 0.0.0.0
Enable hot module replacement(HMR)
Set up code coverage
Remove Makefile and migrate to NPM scripts
Update NPM scripts and documentation
Move metrics to katex-fonts submodule
Add .codecov.yml and disable patch coverage
Add a paragraph about injection safety
- 0.8.x
0.8.3
27 Aug 2017Add latin-1 letters as math symbols
Support CJK full-width punctuation + Unicode dots
Support for ' ` ^ ~ = \u . " \r \H \v text-mode accents
New features:
Add latin-1 letters as math symbols
Support CJK full-width punctuation + Unicode dots
Support for ' ` ^ ~ = \u . " \r \H \v text-mode accents
Added support for \not
Bug fixes:
Use inline SVG for stretchy elements
Improve \sqrt #810
Other changes:
Modernize font creation
Pre-commit hook to call make lint
Fix link in CONTRIBUTING.md.
Reduce SVG
Switch pre-commit hook to use pre-commit npm package
0.8.2
17 Aug 2017Accept all existing Greek letters using unicode characters in math mode
Fix MathML output for ' and large operators with limits
Update package.json to point 'main' at dist/katex.js
New features:
Accept all existing Greek letters using unicode characters in math mode
Bug fixes:
Fix MathML output for ' and large operators with limits
Update package.json to point 'main' at dist/katex.js
Fix color support for stretchy, strikethrough, and fbox
Other changes:
Detect attachEvent() support correctly, fixes #771
0.8.1
12 Aug 2017The v0.8.0 release did not include the SVG images which are necessary for rendering wide and stretchy accents as well as
\overbraceand\underbrace. This release corrects that.The v0.8.0 release did not include the SVG images which are necessary for rendering wide and stretchy accents as well as
\overbraceand\underbrace. This release corrects that.Note that if you're including copies of KaTeX in your web application, you should now include the
dist/imagesdirectory in addition to the usual thedist/fontsdirectory.Many thanks to @spicyj for fixing the issue so quickly.
0.8.0
12 Aug 2017Implicit \color, explicitly grouped \textcolor #619
Old font command support: \rm, \sf, \tt, \bf, \it #675
Breaking changes:
Implicit \color, explicitly grouped \textcolor #619
New features:
Old font command support: \rm, \sf, \tt, \bf, \it #675
Builtin macros, macro arguments, \overset and \underset #605
Add \iff, \implies, \impliedby support #697
Support <, >, | and many \text... commands in text mode #684
Implement $...$ via styling node #637
Add \jot lineskip to aligned environment, switch contents to displaystyle, and add gathered #725
Support stretchy wide elements. #670
Implement \coloneqq, \colonequals, etc. based on mathtools and colonequals #727
Add configurable error callback #658
Support absolute TeX units #732
Other changes:
Revert "Remove trailing commas for IE 9 compatibility" #622
Fix all AMS mathord symbols #618
Fix x'^2 #636
Use utils.deflt for Settings #649
Fix spaces before \middle #689
Refactor and comment space splicing code #699
Fix interaction between styles and sizes. #719
Vertically center single-character \mathop. #745
Correct handling of unbraced kerns followed by spaces. #751
Associate font metrics with Options, not Style. #743
Upgrade the source to use ES6 syntax including classes, import and static properties #679
Set maxFontSize on rules. #744
Correct computation of TeX sizes. #755
Use \displaystyle within \over/\underbrace #765
Shrinkwrap vlists in table-like CSS. #768
Solve Safari rendering issues with font-size overrides. #780
Improve rule coding, including for
\sqrt. #776
Infra changes:
Use morgan to log requests in the dev server #625
Improve release script and bower support #615
Show compressed sizes correctly #639
Set up a diff attribute and textconv instructions for font files #635
Fix release script after experience from 0.7.1 release #642
Update texcmp to ubuntu 17.04 and avoid mounted host directory #722
Screenshotter: Add --diff and --attempts options. #736
Switch from jasmine to jest #747
Ensure screenshotter runs all tests. #769
Misc:
Describe using auto renderer in html head #623
README.md - added integrity #590
README.md - added integrity #591
Switch speed test in README #640
Describe site-provided macros in README #644
Fixed missing verb in README #668
Rephrase displayMode description to be clearer #648
Add documentation for how to run auto-render example #740
Mention texcmp in CONTRIBUTING.md #753
- 0.7.x
0.7.0
7 Jan 2017Allow specifying macros (without arguments) in the settings object
Add
\kernAdd
\mod,\bmod,\pmod, and\pod
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
- 0.6.x
0.6.0
16 Apr 2016Introduce the
alignedenvironment.Add
\gtand\lt.Bundle CSS and fonts in npm package.
New features:
Introduce the
alignedenvironment.Add
\gtand\lt.Bundle CSS and fonts in npm package.
Fix sub- and super-scripts not being centered inside of math display.
Add
\underlinesupport.
Other changes:
Remove 3px border around rules (bug fix).
Set the greediness of font functions to 2 so that
e^\mathbf{x}will parse (bug fix).
Infrastructure changes:
Refactor function and symbol tables.
Add calling convention for functions and environments.
Make mode and position part of the internal state.
Check screenshots on Travis using Docker and Selenium and changes to increase the robustness of these tests.
Special thanks to @gagern for all of the infrastructure changes.
- 0.5.x
0.5.1
2 Sep 2015Add the font changing functions
\mathrm,\mathit,\mathbf,\mathbb,\mathcal,\mathfrak,\mathscr,\mathsf,\mathtt,\Bbb,\bold, and\frak.Add the
\limitsand\nolimitsfunctions.Add a
throwOnErroroption to allow generating red error text when rendering invalid commands instead of throwing errors, and a correspondingerrorColoroption to decide the color of invalid commands.
New features:
Add the font changing functions
\mathrm,\mathit,\mathbf,\mathbb,\mathcal,\mathfrak,\mathscr,\mathsf,\mathtt,\Bbb,\bold, and\frak.Add the
\limitsand\nolimitsfunctions.Add a
throwOnErroroption to allow generating red error text when rendering invalid commands instead of throwing errors, and a correspondingerrorColoroption to decide the color of invalid commands.Add support for
|column delimiters in thearrayenvironment.Add
\lVertand\rVertsymbols.
Other changes:
Allow
\lvert,\rvert,\lVert,\rVert,\lgroup,\rgroup,\lmoustache, and\rmoustachein delimiters.Fix the spacing of the
\ulcorner,\urcorner,\llcorner,\lrcorner,\barwedge,\veebar,\circledcirc,\boxdot,\uparrow,\Uparrow,\downarrow,\Downarrow,\updownarrow,\Updownarrow, and\ldotssymbols.
0.5.0
16 Jul 2015Add the
casesandBmatrixenvironments.Add
\checkmarkand\circledRsymbols.Run
ttfautohinton our fonts, to produce better results at small font sizes.
New features:
Add the
casesandBmatrixenvironments.Add
\checkmarkand\circledRsymbols.
Other changes:
Run
ttfautohinton our fonts, to produce better results at small font sizes.Improve the spacing inside fractions.
Correctly set environments to the ord type.
Infrastructure changes:
Redo our screenshot tests to use standard selenium images, and add Chrome screenshots.
Improve our metrics generation pipeline.
Fix
make diston Macs.
- 0.4.x
0.4.3
20 Jun 2015Fix bower.json to include a "main" entry
0.4.0
18 Jun 2015Added support for some
\begin/\endenvironments, including support forarray,matrix,pmatrix,bmatrix,vmatrix, andVmatrixAdded support for optional
\sqrtarguments, e.g.\sqrt[3]{x}Bower package is now available: run
bower install katexto download the built files
New Features:
Added support for some
\begin/\endenvironments, including support forarray,matrix,pmatrix,bmatrix,vmatrix, andVmatrixAdded support for optional
\sqrtarguments, e.g.\sqrt[3]{x}Bower package is now available: run
bower install katexto download the built files
Other changes:
Add a display mode flag to the cli
Expose an unstable
__parsemethod for retrieving the parse treePrevent elements from inheriting
text-indent
- 0.3.x
0.3.0
19 May 2015Reading the note…
- 0.2.x
0.2.0
2 Mar 2015Reading the note…
- 0.1.x
0.1.1
16 Oct 2014Reading the note…
0.1.0
15 Sep 2014Reading the note…
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.