I’ve completely rewritten my write maths, see maths library to be a little jQuery plugin that attaches itself to editable areas on pages, like contenteditable elements, textareas, and input boxes. When your cursor is inside some LaTeX, a little preview box appears just above it with the LaTeX rendered through MathJax. I’ve made a demo page on GitHub, and the code itself is available there too. It also works in TinyMCE, if you’re into that sort of thing.
The first I thing I did with it was to write a WordPress plugin which applies the plugin to the comment boxes underneath posts (source code). I’ve installed it on this site and The Aperiodical, so you can use LaTeX with confidence, knowing that it’ll appear how you want on the page. Please try it in the comments box below!

Awesome work!! $\frac{-b \pm \sqrt{b^2+4ac}}{2a}$
Thanks!!!
| June 28, 2012 @ 8:16 am
$x^2$
| August 2, 2012 @ 4:22 am
That is great! Let me test:
$\sqrt{3x-1}+(1+x)^2$
It would be cool to integrate with Aloha Editor in some way. The problem is how to define the workflow, but looks very cool…
| August 6, 2012 @ 4:01 pm
\lim_{n\rightarrow \infty}\sum_{i=0}^n \frac{1}{p_i}
| September 14, 2012 @ 2:52 pm
$ \lim_{n\rightarrow \infty}\sum_{i=0}^n \frac{1}{p_i} $
| September 14, 2012 @ 2:53 pm
Not bad if I can write Einstein’s equation!
$E=mc^2$
| November 14, 2012 @ 7:59 am
Hi, great works.
May I have the link to the code where you integrate writemaths with wysiwyg editor? I cannot get it to work. Thanks for your help
| February 11, 2013 @ 2:06 pm
Do you mean in WordPress? I haven’t got it to work in WordPress’s wysiwyg editor.
| February 12, 2013 @ 3:24 pm
Are you able to get it work on any wysiwyg editor?
| February 19, 2013 @ 12:35 pm
Can you give me a link of demo to use it in Tinymce?
| February 14, 2013 @ 6:30 pm
$\sum_{m=1}^\infty\sum_{n=1}^\infty\frac{m^2\,n}
{3^m\left(m\,3^n+n\,3^m\right)}$
Great work !
| February 19, 2013 @ 10:17 am
$iint _{ 2 }^{ 4 }{ x{ y }^{ 2 } } .dz$
| March 23, 2013 @ 6:18 pm
\iint _{ 2 }^{ 4 }{ x{ y }^{ 2 } } .dz
| March 23, 2013 @ 6:19 pm
\[e^{\pi i} + 1 = 0\]
| April 16, 2013 @ 3:06 pm
This is cool!
x^2
| May 13, 2013 @ 7:51 pm
Again with dollar signs
$x^2$
| May 13, 2013 @ 7:51 pm
$x^2$
| May 20, 2013 @ 1:29 pm