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
8

0.10.0

Diff

Changelog

Source

[v0.10.0]

Added

  • Unicode: °, delimiters, 1D400-1D7FF, \ll, \lll, ≘≙≚≛≝≞≟, Unicode Mathematical Alphanumeric Symbols, ⟂ ¬ ⊨ ‼ ∌ ≲ ⩽ ⪅ ≶ ⋚ ⪋, corner, ⟦⟧ (#1203, #1207, #1260, #1273, #1274, #1232, #1377, #1389, #1459, #1750)
  • \yen support on text mode (#1208)
  • \( (#1213)
  • Add defineSymbol to the main katex object (#1263)
  • Capital Greek letters (#1283, #1285)
  • Add version to katex object (#1279, #1475)
  • \copyright, \textregistered, \textcircled (#1073)
  • Tilde \textasciitilde (#1286)
  • Line breaks for inline formulas (#1287)
  • \hline (#1306)
  • Top-level \newline and \\ in inline math (#1298)
  • Strict mode, unicode text in math mode (#1117, #1278)
  • Strict setting for \newline display-mode behavior (#1314)
  • Allow all Unicode symbols in nonstrict mode (#1217)
  • \tag, \tag*, and \gdef (#1309)
  • \def, \gdef, and \global\def (#1348, #1425)
  • Change default maxExpand limit to 1000 (#1383)
  • \cfrac (#1392)
  • \arraystretch as a macro definition (#1381)
  • Add ability to create a dashed vertical line in arrays, using ':' (#1395)
  • \widecheck (#1406)
  • \hdashline (#1407)
  • \newcommand, \renewcommand, \providecommand (#1382)
  • Add a utility function (setFontMetrics) to extend builtin fontMetrics (#1269)
  • \oiint and \oiiint (#1430)
  • Remove match-at dependency, use RegExp for lexer (#1447)
  • \brace and \brack (#1453)
  • Allow only allowed protocols in \href (#1440)
    • BREAKING CHANGE: Only "http", "https", "mailto", and relative URLs are allowed in \href and \url by default.
  • \genfrac and \above (#1455, #1458)
  • \char character escaping and nicer MathML via \html@mathml (#1454)
  • @binrel (#1487)
  • \pmb (#1418)
  • KaTeX website & documentation (#1484, #1515, #1518, #1514, #1526, #1516, #1519, #1527, #1564, #1566, #1584, #1571, #1642, #1680, #1683, #1688, #1631, #1727)
  • Improve supported functions documentation (#1511, #1517, #1532, #1533, #1576, #1556, #1580, #1602)
  • Alpha sorted function support page (#1536)
  • MediaWiki (texvc) (#1558)
  • Add ignore option for class names in auto-render (#1555)
  • ScrollSpy for table of contents in the documentation (#1557, #1567, #1568)
  • Build ECMAScript modules (#1479, #1622, #1653)
  • Enable environment variable USE_TTF to disable bundling TTF fonts (#1600)
  • List of KaTeX users (#1569, #1579)
  • Browserslist (#1662)
  • 6-digit color without # (#1690)
  • \mathnormal (#1700)
  • \lparen and \rparen (#1741)
  • \> (#1752)

Changed

  • Port to @flow: delimiter, spacingData, unicodeSymbols, buildHTML, buildMathML, parseNode, defineFunction, CssStyle (#1177, #1195, #1206, #1239, #1247, #1276, #1312, #1324, #1361, #1373, #1393, #1386, #1387, #1408, #1478, #1486, #1534, #1541, #1542, #1551, #1552, #1554, #1559, #1606, #1609, #1612, #1637, #1684)
  • Online screenshot diff/generation using CircleCI (#1187)
  • Add display/displayMode toggle on test page (#1193)
  • Change CDN links (#1243)
  • Changelog for KaTeX (#1322)
  • Move test helpers into common modules (#1318)
  • Move function handlers to functions/ (#1323, #1325, #1328, #1329, #1331, #1327, #1334, #1339, #1349, #1359, #1332, #1335)
  • Improve screenshotter (#1220, #1644, #1643)
  • Upgrade to webpack 4 (#1337, #1435)
  • Automatic submodule updating via husky tool (#1391)
  • Refactor test helpers (#1336)
  • Change build directory to dist and cleanup NPM scripts (#1500, #1610)
  • Switch from nomnom to commander (#1496)
  • Add test job to CircleCI (#1235, #1658)
  • Switch npm to Yarn (#1522, #1528)
  • Improve release script & enable versioning documentation (#1521, #1603, #1660, #1665)
  • Enable stylelint-config-standard, lint CSS files (#1575)
  • Rename Screenshotter -> screenshotter (#1573)
  • Refactor buildCommon (#1633, #1640)
  • Upgrade to Babel 7 (#1595)
  • Refactor Parser (#1711, #1723)

Fixed

  • Fix nested math mode in non-default text mode (#1111)
  • Fix contenteditable mode (#1179)
  • Work around negative space bug in Chrome (#1194)
  • Fix \nobreakspace (#1200)
  • Fix instant mode switching for $, (, \text (#1213)
  • Add metrics for \S and \P (#1224)
  • Fix anchor.toMarkup (#1246)
  • Specify height for SVG elements (#1252)
  • Include Bold-Italic fonts for \boldsymbol (#1257)
  • Fix space width in \texttt (#1261)
  • Fix \underset (#1277)
  • Remove special \verb space handling now that space is in Typewriter-Regular (#1258)
  • Switch makeGlue from .mord .rule to .mspace (#1295)
  • Fix ~ in \verb (#1286)
  • Stop throwing ParseError when throwOnError is false (#1169, #1302, #1308)
  • Fix extensible arrow sup vertical alignment (#1256)
  • Adjust \underset alignment and spacing (#1290)
  • Revert frac-lines and \rule to borders (min-height) (#1249, #1417, #1594)
  • Fix vertical alignment of \underbrace (#1304)
  • Use one strut instead of two (#1307)
  • Fix MacroExpander space handling (#1314)
  • Cleanup MathML <mrow>, <mtext>, <mn> (#1338)
  • Fix lap vertical alignment. (#1162)
  • Fix nested \tfrac (#1370)
  • Fix \coloneq etc (#1372)
  • Fix wide character spacing (#1371)
  • Fix auto-render \[…] bug (#1375)
  • Rewrite spacing commands as macros (#1156)
  • Enable output modules to be used in browser or Node (#1401)
  • Add vertical kern to \vdots (#1402)
  • Implement \neq and \notin via macros like LaTeX's (#1400, #1499)
  • Improve \cancel (#1398)
  • Fix ligatures vs. \tt (#1379)
  • Implement \colon as amsmath does (#1410)
  • Automatic mrel/mbin spacing for \boldsymbol (#1388)
  • Phantom text (#1449)
  • Fix arrowheads for mhchem <--> (#1451)
  • Set documentFragment.style to empty object (#1471)
  • Remove tree cloning before building HTML (#1470)
  • Fix \operatorname to support general math functions (#1461)
  • Use \not character without left side-bearing correction (#1267)
  • Remove codes that require expensive polyfill (#1469, #1563, #1591, #1597)
  • Fix \not vertical alignment (#1497)
  • Comments without terminating newlines, \href fixes, \url support (#1529)
  • Fix \textdaggerdbl (#1539)
  • Fix \neq (#1548, #1574)
  • Fix wide characters (#1549)
  • Fix \fbox (#1550)
  • Fix \Large roots (#1485)
  • index.html: replace font, make responsive, improve demo (#1547, #1577, #1615, #1601)
  • Remove duplicate defineFunction invocation for \mathop (#1701)
  • Fix tag positioning to live within katex-html parent (#1721)
  • Fix \mathit font and italic correction (#1700)
ylemkimon
published 0.10.0-rc.1 •

ylemkimon
published 0.10.0-rc •

edemaine
published 0.10.0-beta •

kevinbarabash
published 0.10.0-alpha •

kevinbarabash
published 0.9.0 •

Changelog

Source

[v0.9.0] - 2018-02-18

Added

  • Italic Greek capital letters #1118
  • Added support for \mathring #1125
  • Added support for unicode angle brackets, single vertical bar, double vertical bar #1123
  • Added support for Reaction Arrows #1078
  • Added \nobreakspace #1145
  • Added support for Unicode colon equals ≔ #1151
  • Added support for \underline in text mode #1159

Changed

  • Enable spacing functions in text mode #1139

Fixed

  • Improved JS spacing #1103
  • Fixed handling of Unicode characters ð, Å, å #1157
  • Padding over \sqrt and Paths for frac-line #1143
kevinbarabash
published 0.9.0-beta1 •

Changelog

Source

[v0.9.0-beta1] - 2018-01-28

Added

  • Added support for \aa, \AA, \lq, \rq, \lbrack, \rbrack #1069
  • Added support for more scripts in \text{} environments such as Czech, Georgian, Hungarian, Turkish. #1076
  • add Main-BoldItalic font to allow nesting of \textit and \textbf
  • Added \S and \P #1110

Changed

  • Remove symlink to support devs using Windows #1090

Fixed

  • Do not inherit SVG style properties from the environment. #1089
  • Update fonts and metrics so that accents are positioned correctly #1094
  • Non-portable use of String method .includes. Fixed #1093
  • Use correct spacing with tight styles. See #1106 for more details.
kevinbarabash
published 0.9.0-beta •

Changelog

Source

[v0.9.0-beta] - 2018-01-14

Added

  • \kern fixed and support \hskip, \TeX, \LaTeX, \KaTeX. See #974
  • Supported Unicode middle dot and Unicode accents.
  • Added basic support for Indic scripts in addition to CJK. #1060
  • Added support for bold italic symbols. #1011
  • add \ae, \AE, \oe, \OE, \o, \O, \ss with unicode support for those characters in text mode. #1030
  • Added \i and \j for text mode. #1029
  • Added buildHTMLTree. #1022
  • Implemented \TextOrMath, @secondoftwo. #1024
  • Added a 'common issues' section to the README.md. #1034

Changed

  • Made a more working example in README.md. Fixed #1049 PR is #1050
  • Exposing the build tree. #1017
  • Changed \xLongequal to \xlongequal. #997

Fixed

  • Avoid negative space in \bmod. #984
  • Stacking text commands. #1009
  • Fixed \vec by replacing the combining font glyph with an SVG. #1018
  • Made accents zero width. #1033
  • Fixed frac-line. #1025
  • Implemented correct macros for liminf and limsup. Fixed #111
  • \kern generates right-margin instead of left-margin. Fixed #995
kevinbarabash
published 0.9.0-alpha2 •

Changelog

Source

[v0.9.0-alpha2] - 2017-11-26

Added

  • Added Unicode Relations and Unicode Symbol support. Supports Unicode ∴, ∵, \mid, Arrows, Big Operators, Binary Operators, Negated Relations.
  • Implemented the alignedat environment for flexible math spacing. #930
  • Implemented \mathchoice command. #969
  • Implemented \href command. #923
  • \hspace*, \@ifstar, \@ifnextchar, \@firstoftwo (#975)
  • Added \notni character . #710
  • Added ng-katex link to README.md. #959

Changed

  • Single-character macros like active characters. #973
  • Re @flow:
    • Port buildTree, katex, mathMLTree, parseTree, stretchy to @flow.

Fixed

  • Fixed the spacing between columns in the {aligned} environment. #942
  • Fixed issue where the {aligned} environment skips the last line if the first column is empty. #949
  • Appended ApplyFunction to math functions in MathML. #960
  • Changed \undertilde to \utilde. #948
  • Changed frac-line from border to full span. #976
kevinbarabash
published 0.9.0-alpha1 •

Changelog

Source

[v0.9.0-alpha1] - 2017-10-15

Changed

  • Edited link to Function Support page. #922
  • Re @flow:
    • Exported svgGeometry to @flow. #936
    • Ported utils to @flow. #935

Fixed

  • Fixed space handling. #912
  • Prevents disappearing fraction lines. #931
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