Math, Comp & Art

at Heart

veracity (n) - Habitual truthfulness; honesty

Feb. 23, 2019, 5:20 p.m.

Typesetting Mathematics on the Web

By Maurice Ticas

Tags:

LaTeX

There are many solutions for typesetting mathematics on the web: MathML, MathJaX, and images. Here at Secolinsky, we use MathJax and one of its CDN options. All we do after setting up MathJax on our site is type LaTeX syntax. From then on, a good LaTeX reference is used whenever we forget the syntax for a particular math symbol.

MathJax is great since we don't have to worry about using MathML. The main problem about MathML is that it isn't supported by all browsers. For sure it renders nicely on Firefox, but the same can't be said about the other browsers.

MathJax can't do everything you can do with pure LaTeX. I came across a problem using MathJax when I wanted to create a matrix with notation on the borders. A Harvard math site explained how to easily do it in LaTeX using the command \bordermatrix. I tried using \bordermatrix on my MathJax-powered site, but encountered the problem that it did not render. Either the solution will be to use an image, or to use a LaTeX alternative to \bordermatrix. How to render it will be decided in the next post titled "Matrix Multiplication".

There are 0 comments. No more comments are allowed.