Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

katex

Package Overview
Dependencies
Maintainers
3
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

katex - npm Package Versions

1
68

0.9.0-alpha

Diff

Changelog

Source

[v0.9.0-alpha] - 2017-10-05

Added

  • Added MathJax compatibility script. #680
  • Added a maxSize option to limit user-specified sizes. #803
  • Added \smash, laps, spaces, and phantoms. #833
  • Support for \raisebox, \operatorname, \And, \colorbox, \fcolorbox and \verb.
  • Added support for comments. Fixed #20
  • To @flow:
    • fontMetrics, fontMetricsData, Token, Lexer, MacroExpander, Options, ParseError, ParseNode, Settings, Style.

Removed

  • Removed the positions array computed by Parser's parseArguments(). #864

Changed

  • Advanced macro support and magic \dots. #794
  • Allow sizing commands inside optional groups. #885
  • Upgraded \sqrt zoom and width. #890
  • Refactored defineEnvironment to also accept HTML and MathML builders. #875
  • For @flow:
    • Ported environments.js, functions.js, symbol.js, unit.js.
  • Separated mandatory and optional arguments in parseArguments. #903

Breaking Changes

  • Require [text]color HTML colors to be well-formed. See #827
  • \llap and \rlap now render contents in math mode. Use \mathllap (new) and \mathrlap (new) if you need the previous behavior.

Fixed

  • Fixed exponential behavior in accent production. #834
  • Use mpadded for \raisebox MathML. #876
  • Array/Matrix environments do not trim newlines. Fixed #337. PR is #479.
  • For @flow:
    • Corrected @flow types. Refactor some Parser code for stricter typing. #896
    • Fixed match-at flow errors. #847
kevinbarabash
published 0.8.3 •

Changelog

Source

[v0.8.3] - 2017-08-27

Added

  • Added latin-1 letters as math symbols. See #796
  • Added support for \not. #140

Changed

  • Support CJK full-width punctuation + Unicode dots. See #814
  • Support for ' \` ^ ~ = \u . " \r \H \v text-mode accents. See #802
  • Modernized font creation. See #624

Fixed

  • Use inline SVG for stretchy elements. #807
  • Improve \sqrt. #810
kevinbarabash
published 0.8.2 •

Changelog

Source

[v0.8.2] - 2017-08-17

Added

  • Accepts all existing Greek letters using unicode characters in math mode. See #410

Fixed

  • Fixed MathML output for ' and large operators with limits. #788
  • Updated package.json to point 'main' at dist/katex.js. #791
  • Fixed color support for stretchy, strikethrough, and fbox. #792
  • Detect attachEvent() support correctly. See #771 and #772 for the issue and PR fix respectively.
kevinbarabash
published 0.8.1 •

Changelog

Source

[v0.8.1] - 2017-08-11

Fixed

  • Note: The v0.8.0 release did not include the SVG images which are necessary for rendering wide and stretchy accents as well as \overbrace and \underbrace. This release corrects that.

  • Note that if you're including copies of KaTeX in your web application, you should now include the dist/images directory in addition to the usual the dist/fonts directory.

kevinbarabash
published 0.8.0 •

Changelog

Source

[v0.8.0] - 2017-08-11

Added

  • Added some international operators. See #509
  • Old font command support: \rm, \sf, \tt, \bf, \it. #675
  • Builtin macros, macro arguments, \overset and \underset. #605
  • Added \iff, \implies, \impliedby support. #697
  • Support <, >, | and many \text... commands in text mode. #684
  • Implemented $...$ via styling node. #637
  • Added \jot lineskip to aligned environment, switch contents to displaystyle, and add gathered. #725
  • Support stretchy wide elements. #670
  • Set maxFontSize on rules. #744

Changes

  • Added support for Windows high-contrast mode. Fixed #716 #724 -Implemented \coloneqq, \colonequals, etc. based on mathtools and colonequals. #727
  • Added configurable error callback. #658
  • Added support for absolute TeX units. #732
  • Revert "Remove trailing commas for IE 9 compatibility". #622
  • Use utils.deflt for Settings. #649
  • Refactored and commented space splicing code. #699
  • Vertically center single-character \mathop. #745
  • Associate font metrics with Options, not Style. #743
  • Upgraded the source to use ES6 syntax including classes, import and static properties. #679
  • Use \displaystyle within \over/\underbrace. #765
  • Shrinkwrap vlists in table-like CSS. #768
  • Improve rule coding, including for \sqrt. #776

Breaking Changes

  • Implicit \color, explicitly grouped \textcolor. See #619

Fixed

  • Fixed high contrast mode better. #733
  • Fixed all AMS mathord symbols. #618
  • Fixed x'^2 #636
  • Fixed font typo math -> main. #678
  • Fixed spaces before \middle. #689
  • Fixed #711 issue with multiple superscripts. #718
  • Fixed interaction between styles and sizes. #719
  • Correct handling of unbraced kerns followed by spaces. #751
  • Corrected computation of TeX sizes. #755
  • Solved Safari rendering issues with font-size overrides. #780
gagern
published 0.7.1 •

Changelog

Source

[v0.7.1] - 2017-01-21

Fixed

  • Restored creation of dist directory during release process.
xymostech
published 0.7.0 •

Changelog

Source

[v0.7.0] - 2017-01-08

Added

  • Added \atop, \bmod, \degree, \kern, \ldots, \maltese, \mathbin, \mathclose, \mathellipsis, \mathop, \mathopen, \mathord, \mathpunct, \mathrel, \middle, \mod, \pod, \pounds, \pmod, \stackre, \textbf, \textellipsis, \textit, \textnormal, \textrm, \textsf, \texttt, --, ---, ''', ', ​ and "".
  • Added \#, \&, \$, \%, \_, \{, and \} in text mode.

Changed

  • Allow specifying macros (without arguments) in the settings object.
  • Combine adjacent spans in text mode.

Fixed

  • Do not apply italic correction in text mode.
  • Fixed the MathML fence attribute on delimiters.
  • Fixed converting bins to ords.
  • Made \llap and \rlap produce ords.
  • Fixed spacing around \color, \mathbf, and in other places.
  • Added per-style font metrics.
  • Complain when trying to render a non-string.
  • Fixed subscript positioning with changed-font bases.
  • Fixed superscript/subscript centering in fractions.
xymostech
published 0.7.0-pre •

kevinbarabash
published 0.6.0 •

Changelog

Source

[v0.6.0] - 2016-04-15

Added

  • Added \gt, \lt and \underline support.
  • Introduced the aligned environment.

Removed

  • Removed 3px border around rules.

Changed

  • Bundle CSS and fonts in npm package.

Fixed

  • Fixed sub- and super-scripts not being centered inside of math display.
  • Set the greediness of font functions to 2 so that e^\mathbf{x} will parse.
xymostech
published 0.5.1 •

Changelog

Source

[v0.5.1] - 2015-09-01

Added

  • Added the font changing functions \mathrm, \mathit, \mathbf, \mathbb, \mathcal, \mathfrak, \mathscr, \mathsf, \mathtt, \Bbb, \bold, and \frak.
  • Added the \limits and \nolimits functions.
  • Added a throwOnError option to allow generating red error text when rendering invalid commands instead of throwing errors, and a corresponding errorColor option to decide the color of invalid commands.
  • Added support for | column delimiters in the array environment.
  • Added \lVert and \rVert symbols.

Changed

  • Allow \lvert, \rvert, \lVert, \rVert, \lgroup, \rgroup, \lmoustache, and \rmoustache in delimiters.

Fixed

  • Fix the spacing of the \ulcorner, \urcorner, \llcorner, \lrcorner, \barwedge, \veebar, \circledcirc, \boxdot, \uparrow, \Uparrow, \downarrow, \Downarrow, \updownarrow, \Updownarrow, and \ldots symbols.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc