Socket
Socket
Sign inDemoInstall

tinymathlive

Package Overview
Dependencies
3
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

0.98.4

Diff

zahara.alnour
published 0.95.1 •

Changelog

Source

0.95.1 2023-07-25

Improvements

  • #2064, #2065 Improved behavior of virtual keyboard shift key, contributed by https://github.com/oscarhermoso

Issues Resolved

  • #1995 When right clicking to bring up the variant panel in the virtual keyboard, in some situations the virtual keyboard would lock up.
  • #2047 Use \exp instead of \mathrm{exp} in the virtual keyboard
  • #2067 When setting up the virtual keyboard policy to "sandboxed" in a cross domain iframe, a runtime error would occur.
zahara.alnour
published 0.95.0 •

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.
zahara.alnour
published 0.94.5 •

Changelog

Source

0.94.5 2023-05-24

Issues Resolved

  • The selection in read only mathfield was no longer visible.
zahara.alnour
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).
zahara.alnour
published 0.85.1 •

Changelog

Source

0.85.1 2022-11-18

  • Updated to Compute Engine 0.11.0
zahara.alnour
published 0.79.2 •

zahara.alnour
published 0.79.1 •

zahara.alnour
published 0.79.0 •

Changelog

Source

0.79.0 2022-09-06

Breaking Changes

  • The onMulticharSymbol handler has been renamed to onInlineShortcut
  • The deprecated modelHooks have been removed. Use the corresponding events instead: move-out, focus-out, announce.
  • The onModeChange, onReadAloudStatusChange, onBlur, onFocus, onContentWillChange, onContentDidChange, onSelectionDidChange, onUndoStateWillChange, onUndoStateDidChange and onCommit deprecated listeners have been removed. Used the corresponding events mode-change, read-aloud-status-change, blur, focus, beforeinput, input, selection-change, undo-state-change and change.
  • The onKeystroke handler has been removed. Instead use mf.addEventListener("keydown",...)
  • Improved editing of left-right delimiters:
    • keep leftright atom if only one of its delimiters is removed
    • only hoist body if both delimiters are removed

Improvements

  • More inline shortcut patterns are now recognized, which can be useful for more complex multicharacter symbols, e.g. alpha2 -> \alpha_{2}
  • Pressing the space bar will flush the inline shortcut buffer, allowing the input of a key combination that would otherwise trigger a shortcut
  • #1584 Pressing the spacebar when at the root level now does nothing. Previously it would jump at the end of the expression, which wasn't very useful and potentially confusing.
  • #1585 In some situations, improve the accuracy of the hit testing
  • Upconvert unicode characters to corresponding LaTeX command when available
  • When a scaling factor is applied to the mathfield or one of its DOM ancestors, correctly scale the selection background accordingly

Issues Resolved

  • #1042 Spacing atoms (e.g. \;) are now clickable and selectable
  • #1590 Improved selection of content inside tabular environments (matrix, etc...)
  • #1591 Improved cursor order when deleting values in fraction when fractionNavigationOrder mode is denominator-numerator.
  • #1592 When applying color to some math content, the command \mathcolor would be serialized. The correct command is \textcolor which despite its name is also applicable in math mode.
  • #1605 In some cases, clicking on the space between two atoms would not position the caret.
zahara.alnour
published 0.73.8 •

2Next
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