
MathLiveA Web Component for Math Input
TeX Quality Typesetting
TeX is the gold standard for typesetting of mathematical content.
MathLive provides a Javascript implementation that faithfully reproduces the output of TeX.

Anywhere. For Anyone.
MathLive works with screenreaders and include a custom text to speech engine.
On screen virtual keyboards are also available to make input easy, even on mobile devices.
Customizable
You can paste in MathASCII or Latex, and get back those formats or an easy to parse MathJSON object representing an Abstract Syntax Tree of the formula.
A comprehensive API is available and many options are customizable, from you own dictionary of Latex macros, custom inline shortcuts, custom virtual keyboards and more.

Intuitive Editing
Type an equation: use the keyboard to type symbols, arrow keys to navigate.
When done, select the equation, and copy the LaTeX code to another app.

Inline Shortcuts
Some symbols get converted automatically. Type pi and it becomes π.

MathLive Guides
Quick Start
Quick introduction to using MathLive in your project
Interact with a mathfield
Receive input and change the value of a mathfield
Customize a mathfield
Understand in depth the lifecycle of a MathfieldElement: construction, interaction with the DOM and when can you communicate with it
Web Component Lifecycle
Adapt the behavior and appearance of a mathfield to your needs
Executing commands
Send editing commands to a mathfield
Define custom Latex macros
Extend the Latex commands supported
Manage inline and keyboard shortcuts
Add or modify editing keyboard shortcuts
Control speech output
A mathfield can provide speech feedback to interact with it
Define custom virtual keyboards
Customize or create new virtual (on-screen) keyboards
Getting Started
Everything you need to know to add a mathfield to your project
MathLive SDK
Reference documentation of the MathLive API