The jaccms blog

Photo
jacmgr
2013 September 10

Using Mathjax

2014 July 04,jacmgr

MathJax is a javascript system for rendereing math equations in Tex, Lex, MML, and AsciiMath. All it takes is inclusion of the MathJax javascript in your displayed page. A plugin is not needed, but it does make it easier for non programmers.

Here is an example using TEX formats

<p>
When $a \ne 0$ , there are two solutions to \(ax^2 + bx + c = 0\) and they are
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$
</p>

When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

And ASCIimath format

<p>
The two solutions: 
``x_(1,2)=(-b+-sqrt(b^2 - 4a c))/(2a)``
</p>

The two solutions: ``x_(1,2)=(-b+-sqrt(b^2 - 4a c))/(2a)``

Upgrading to Phile Version 1

2014 June 24,jacmgr

Finally decided to upgrade to Phile Version 1. That includes all my plugins as well. Hopefully I can finish in a week or so. Come back and check it out. I'll also update the documentation on my site and hopefully learn some cool stuff.

Older