0.1.0 • Published 1 year ago

@mathzilla/equator v0.1.0

Weekly downloads
-
License
MPL-2.0
Repository
github
Last release
1 year ago

Equator

by David Amirkhanov (mail.websofter@gmail.com)

Equator is a web formula editor designed to make typing math easy and beautiful.

The Equator project is supported by its partners. We hold ourselves to a compassionate Code of Conduct.

Equator is resuming active development and we're committed to getting things running smoothly. Find a dusty corner? Let us know in Slack. (Prefer IRC? We're #equator on Freenode.)

Getting Started

Equator has a simple interface. This brief example creates a Equator element and renders, then reads a given input:

var htmlElement = document.getElementById('some_id');
var config = {
  handlers: { edit: function(){ ... } },
  restrictMismatchedBrackets: true
};
var mathField = MQ.MathField(htmlElement, config);

mathField.latex('2^{\\frac{3}{2}}'); // Renders the given LaTeX in the Equator field
mathField.latex(); // => '2^{\\frac{3}{2}}'

Check out our Getting Started Guide for setup instructions and basic Equator usage.

Docs

Most documentation for Equator is located on ReadTheDocs.

Some older documentation still exists on the Wiki.

Open-Source License

The Source Code Form of Equator is subject to the terms of the Mozilla Public License, v. 2.0: http://mozilla.org/MPL/2.0/

The quick-and-dirty is you can do whatever if modifications to Equator are in public GitHub forks. (Other ways to publicize modifications are also fine, as are private use modifications. See also: MPL 2.0 FAQ)