Changelog
0.94.3 2023-05-22
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.\text{}
commandChangelog
0.94.2 2023-05-22
Changelog
0.94.1 2023-05-21
,
) did not
include the digits before the decimal.Changelog
0.94.0 2023-05-18
\raise
, \lower
and \raisebox
commands. Those commands
were necessary to render some chemical bonds.(
, [
or {
with a selection will enclose the selection with this
delimiter.\ce{ O\bond{~-}H}
\mathtooltip{}
and \texttip{}
commands are
now displayed when used with a static formula.unstyled-latex
).
This strips any color/background-color/font sizing commands from the ouput.\cos^2
(operators
with a superscript).Changelog
0.93.0 2023-05-08
\the
command. For example, \the\year
. Its argument can be a
literal or a register, preceded by an optional factor literal.label
property, the key
property can also now be used
for keycap shortcuts. This allow overriding of the shortcut label. For example
{key: "[undo]", label: "undo"}
--keyboard-row-padding-left
and
--keyboard-row-padding-right
as an option to account for shadows or other
decoration that may spill outside the box of a keycap.em
units relative to the font size
of the math-field
. The default value is 0, which allows the math-field
to
use its default sizing logic.keydown
/keyup
event pair. Add an event listener to the keyboard to receive
those events.\mskip
command\space
, ~
\left...\right
command did not display the visual
indicator that the caret was inside the argument of the command.Changelog
0.92.1 2023-04-19
(x)
ASCIIMath inline shortcut with (*)
x^{}
Changelog
0.92.0 2023-04-18
\not{\in}
, \not{}\in
and \not\in
all render differently.
Previously they were all rendered as \not\in
. They now render as in LaTeX."sandboxed"
mathVirtualKeyboardPolicy
which causes the
iframe in which the mathfield is to be treated as a top-level browsing
context, i.e. to display a virtual keyboard instance in that iframe.mathVirtualKeycap.actionKeycap
, mathVirtualKeycap.shiftKeycap
,
mathVirtualKeycap.tabKeycap
, mathVirtualKeycap.backspaceKeycap
to
customize the appearance of action keys without having to define new layouts.
This can be used to change the "Return" glyph to "Continue" for example, or to
use the word "Shift" for the shift key instead of the default shift glyph.(
+
<kbd>alt/option</kbd>+<kbd>Tab</kbd> to create 2x1 matrix. If at the root,
type <kbd>alt/option</kbd>+<kbd>Return</kbd> for a multi-line expression.x^\frac12
is now
parsed correctly.arraystretch
register is now supported to customize the vertical spacing
of matrixes and other multi row environments.mathVirtualKeyboardPolicy
is set to "manual"
, the
keyboard is not hidden, even when losing focus.\boldsymbol
command was serialized incorrectly after its
content was modified.\Huge\mathbb{R}
and \Huge\R
render identically.\not
. Fun fact: in LaTeX, \not=
renders with a
different spacing from \not{=}
.\text{}
commands) containing
non-applicable commands, for example \text{\frac12}
.\left...\right
, the style of the closing
delimiter should match the style of the last atom before the \right
command.
For example, with a\left(b\color{red} c\right)d
, c
and )
should be red.\middle
commands when preceded with a style-changing
commands, for example: a\left(b\color{red}\middle| \frac34\right)d
\underline
, \overline
\left...\right
command after deleting part of the
formula.\dot{\vec{v}}
. In
general, various edge cases were not handled correctly.Changelog
0.91.2 2023-04-06
Changelog
0.91.1 2023-04-05