@mentatcollective/mathlive
v0.85.2
Published
Render and edit beautifully typeset math
Downloads
7
Maintainers
Readme
- [x] A Web Component, easy to integrate in your project, regardless of the framework you use, or even if you just use plain JavaScript
- [x] Edit math formulas with an easy to use interface
- [x] Beautiful, TeX-quality typesetting: over 800 LaTeX commands built-in
- [x] Designed for mobile devices with an extensive set of virtual keyboards for math input
- [x] Compatible with screen readers, and includes custom math-to-speech support for improved accessibility
- [x] Output to LaTeX, MathML and MathJSON (Abstract Syntax Tree) formats
- [x] And it is easy to customize to your needs!
Reference documentation and guides at cortexjs.io/mathlive.
Try it at cortexjs.io/mathlive/demo/.
Using MathLive
To add a mathfield element to your page use a <math-field>
tag.
It works just like a <textarea>
or <button>
. You can manipulate the
mathfield using methods of the element and listen for events to be notified when
its internal state changes.
<!DOCTYPE html>
<html lang="en-US">
<body>
<math-field>f(x)=</math-field>
<script src="https://unpkg.com/mathlive"></script>
</body>
</html>
Documentation
Related Projects
Contact Us
- Join our Gitter community
- Drop a line to [email protected]
License
This project is licensed under the MIT License.