Easily type math in your webapp
Important fix: remove font-size: 0
on textarea (#585), fixing typing
in Chrome Canary (#540) as well as the Enter key not triggering the
enter
handler in Webkit and Blink (#566). transform: scale(0)
is
used instead and expected to be much more robust.
(Note: if you're coming from v0.9.x, there've been major API changes, see the v0.9.x → v0.10.0 Migration Guide.)
new features:
\nparallel
, \measuredangle
,
\odot
, \parallelogram
(nonstandard), \nless
, \ngtr
, \square
\overleftarrow
, \overrightarrow
bugfixes:
\degree
symbol to round-trip (rather than exporting
^\circ
which doesn't parse as one symbol).text()
to output \cdot
as *
.text()
of fractions, spaces, variables followed
by exponents\triangle
symbol to match LaTeX better×
(Unicode times symbol)TextBlock
^
not **
build system fixes:
URGENT HOTFIX for cursor showing up as an ugly box in Chrome 40 (#371)
bugfixes:
build system changes:
make server
auto-rebuilds without restarting serverdocs:
new features:
\vec
bugfixes:
NZQRC
as \mathbb{NZQRC}
(double-struck)RootTextBlock
s$
at the end of a TextBlock
causes errors later.mathquill('latex')
throwsinternal refactors:
.end
and .endChild
both to .ends
build system changes:
make publish
to work on BSDNOTE: The hotfix for typing over selections in Safari 5.1 (#135) from v0.9.1 had a huge bug, fixed as #166.
feature changes:
bugfixes:
\text{...}
created from LaTeX$
in TextBlock was jumping to the endinternal refactors:
L
and R
, and
directionalized methodsd5597e4
)build system changes:
npm
onlymake publish
scriptHere for completeness, but you probably don't want to use this.
Many major changes including a total overhaul of the API (no more
auto-MathQuill-ifying of .mathquill-editable
etc, and no more jQuery
plugin, instead global MathQuill()
returns API objects, like jQuery
itself): See the v0.9.x → v0.10.0 Migration Guide.
(If you already use the new global MathQuill()
-based API from the
dev
branch, migrating to v0.10.0 should be just one small change
for you.)
API-only changes:
ready
mq-
MathQuill()
returns API objectstypist-facing changes:
\caret
and \underscore
/
) stops at space when expanding left\sum
now comes with lower and upper limit blocksSupSub
s into one
command\vector
/
at ,
/;
/:
new features:
autoSubscriptNumerals
optionsumStartsWithNEquals
.innerFields
leftRightIntoCmdGoes: 'up'/'down'
SupSub
options to improve usabilitysubstituteTextarea
<=
and >=
results in \le
and \ge
sin
, log
etc operator names\class{classname}{math}
a la
MathJax
\textcolor{color}{math}
new build system features:
OMIT_FONT_FACE=true make
omits @font-face {...}
make basic
builds stripped-down MathQuill for basic mathbugfixes:
\ddots
to be downward-rightward not upward-rightward.text()
errors when currently typing backslash command/
, {
, }
^
, _
, and ~
'
Cmd-Left
turns selection into typed text in Firefoxf
/florin situationyield
.write()
on empty LaTeX and .cmd()
erroringSupSub
and PlusMinus
\
not \:
as LaTeX for spacestopPropagation()
mouse events\editable{}
in a fractiondocs:
internal refactors:
saneKeyboardEvents()
handlers patternCursor::notify
framework