Socket
Socket
Sign inDemoInstall

mathlive

Package Overview
Dependencies
3
Maintainers
1
Versions
168
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1245
17Next

0.95.0

Diff

Changelog

Source

0.95.0 2023-07-04

Improvements

  • Improved behavior when pressing the tab key
  • #2015 New environmentPopoverPolicy option. Set to:
    • "auto" to show environment popover when inside a tabular environment and the virtual keyboard is visible (current behavior)
    • "on" to show it when in a tabular environment
    • "off" to never show it

Issues Resolved

  • #2008 The \underline and \overline commands now render correctly.
  • #1996, #2025 MathML output could occasionally be incorrect for the
    \left...\right command
  • #2009 Chemical equations did not render correctly
  • #1990 The closing delimiter of a \left...\right command was incorrectly adopting the style of the last atom inside the command.
  • #2044 When overflowing the mathfield using the virtual keyboard, the caret would be hidden from view.
  • #2000, #2016 Correctly handle when the root is not a group, i.e. when it's a multi-line array.
arnog
published 0.94.8 •

Changelog

Source

0.94.8 2023-06-15

Improvements

  • On RTL system, do not flip the direction of the virtual keyboard keycaps rows
arnog
published 0.94.7 •

Changelog

Source

0.94.7 2023-06-08

Improvements

  • #1989 Temporarily add back support for iOS versions older than 16.3.
arnog
published 0.94.6 •

Changelog

Source

0.94.6 2023-05-25

Issues Resolved

  • Only display seletion when the mathfield is focused
  • #1985 Add option for output format of getPromptValue()
  • #1985 Return Ascii Math output for prompts/placeholders.

Feature

  • Pressing the tab key will move to the "next group" in the mathfield, if possible.
arnog
published 0.94.5 •

Changelog

Source

0.94.5 2023-05-24

Issues Resolved

  • The selection in read only mathfield was no longer visible.
arnog
published 0.94.4 •

arnog
published 0.94.3 •

Changelog

Source

0.94.3 2023-05-22

Improvements

  • The mathVirtualKeyboard.layouts property was a frozen array (an array that cannot be modified) but that wasn't clear. Now, a runtime error is produced if an attempt is made to modify the array. If using Typescript, a compile-time error is also generated.

Issues Resolved

  • #1979 Vectors were displayed with an offset
  • #1978 Pasting or inserting some content could result in a runtime error
  • #1978 Text content was not properly serialized in a \text{} command
  • #1682 Vectors (and other accents) are now spoken correctly
  • #1981 Adjusting the selection by moving backwards could result in a runtime error.
  • #1982 Improved resilience when a mathfield is in an embedded iframe which is not allowed to access the top window by cross-origin policy. In this situation the virtual keyboard is not available, but input via physical keyboard will work.
arnog
published 0.94.2 •

Changelog

Source

0.94.2 2023-05-22

Issues Resolved

  • #1976 Toggling the virtual keyboard several times would eventually not display the virtual keyboard.
  • Only apply smartFence in math mode (not in text or LaTeX mode).
  • #1975 When inserting a square root, do not insert an index by default
arnog
published 0.94.1 •

Changelog

Source

0.94.1 2023-05-21

Improvements

  • Use constructable stylesheets. This results in improved performance and a reduction of memory consuption by 2/3 in a page with 1,000 mathfields.
  • Improved MathML serialization (#1870, #1803, #1933, #1648, #737, #150, variants: blackboard, fraktur, bold, etc...).

Issues Resolved

  • #1963 Typing a "/" after a digit containing a french decimal (,) did not include the digits before the decimal.
arnog
published 0.94.0 •

Changelog

Source

0.94.0 2023-05-18

New Features

  • Added support for \raise, \lower and \raisebox commands. Those commands were necessary to render some chemical bonds.
  • Pressing (, [ or { with a selection will enclose the selection with this delimiter.

Improvements

  • Improved parsing/serialization/rendering of content with a mix of text and math.
  • Various rendering improvements, mostly of edge cases.
  • Improved behavior of the Shift key in the math keyboard. Single-press the Shift key to set it temporarily, double-press it key to lock it (similar to CapsLock), triple-press it to unlock. This is similar behavior to the ones of mobile virtual keyboards.
  • #1647 Improved rendering of chemical bonds, e.g. \ce{ O\bond{~-}H}
  • Only on iOS, intercepts the cmd+XCV keyboard shortcut. On other platforms, use the standard cut/copy/paste commands, which do not require user permission.
  • The tooltips displayed by the \mathtooltip{} and \texttip{} commands are now displayed when used with a static formula.
  • Improvements to smart fence behavior, including better undoability.

Issues Resolved

  • Selection display was incorrect when the equation included a colored background.
  • Pasing text while in LaTeX mode now works.
  • Some of the arrows for mhchem have been renamed and are now displaying correctly
  • #1964 Prevent a runtime error when a mathfield is embedded in an iframe and MathLive is not loaded in the host document.
  • #1970 The environment popover was not always positioned correctly.
  • Correctly return unstyled LaTeX when requested (with format unstyled-latex). This strips any color/background-color/font sizing commands from the ouput.
  • The caret is no longer displayed twice when placed after \cos^2 (operators with a superscript).
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc