## MathJax

The most useful library for Geometron is

MathJax. This library makes
it possible to make beautiful mathematical symbols in HTML, based on the $\LaTeX$ system of typesetting.
The following is the code required to import the package. With this code any math can be put inside single dollars signs
and it will be typeset according to the rules of $\LaTeX$. Double dollars signs will make a separate equation.
The commented out code MathJax.Hub.Typeset() is as a reference for the code needed to update mathjax, which is
needed in various redraw() functions in Geometron where text elements with math in them need to be updated as they are
moved, edited, etc.

Here is the code to turn a div element into an editor. Various themes and such can be tested at

this link to the
makers of this library.

## QR Codes

Another library of use for Geometron is the qr code generator,

qrcode.js. I have been unable to get a remote library to work
for this for some reason, so when used the file "qrcode.js" has to be on the host, in general in the same directory as the
html file that calls it. If it is in the same directory, the code to get it is:

## Math.js

For math that is not in the standard javascript math object there is

math.js,
which supports complex numbers.

Overwhelmingly the most useful part of this is complex numbers. Matrices are also useful and documented

here. Here are some examples of that, all lifted from

here: