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.

Continue reading “Instant MathJax preview of LaTeX typed into HTML textareas” on cp’s mathem-o-blog