Wednesday, June 13, 2012

MathJax = outstanding.

I've just found MathJax, which is a javascript-based rendering plug-in for either LaTeX or MathML formatted equations. It took me a few minutes to get the syntax working right in blogger, but it seems pretty excellent. If you have scripts turned off, then LaTeX code should show up as LaTeX source. However, if you have scripts turned on, then equations can be rendered very nicely, and can either be in-line, like this: \( -\frac{\hbar^2}{2 m}\nabla^{2} \Psi = E \Psi \), or as display equations, like this: \[ \nabla \cdot \mathbf{B} = 0. \] I'm going to have to donate money to these people - they've done a really nice job.

No comments:

Post a Comment

Please, "Sign Up" Here and Get Free Safety Module