npm katex 0.7.0
v0.7.0 - Add macros, \kern, \mod, bug fixes, and infrastructure improvements

latest releases: 0.16.11, 0.16.10, 0.16.9...
7 years ago

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

Don't miss a new katex release

NewReleases is sending notifications on new releases.