Update on MathJax
Sun Nov 20, 2011
147 Words
MathJax has come a long way since I last looked at it. There is now a CDN hosting the js files, which makes calling it really really easy. It’s being adopted by GiHub for their wiki engine.
Using it with markdown can cause a few bumps, but there seems to be a bunch of ways around this:
- [mathjax in markdown][mim] using some mathjax configuration and custom css
- [amazing implimentation][ai] in a notetaking app
- [php, mathjax and wordpress][phpm]
Writing a block of %%\LaTeX%% like this
$$ \begin{aligned} \dot{x} & = \sigma(y-x) \\ \dot{y} & = \rho x - y - xz \\ \dot{z} & = -\beta z + xy \end{aligned} $$
will render like this
$$
\begin{aligned}
\dot{x} & = \sigma(y-x) \
\dot{y} & = \rho x - y - xz \
\dot{z} & = -\beta z + xy
\end{aligned}
$$
[mim]: http://doswa.com/2011/07/20/mathjax-in-markdown.html i [ai]: http://notepag.es/latexdemo [phpm]: http://www.leancrew.com/all-this/2010/09/php-markdown-extra-math-mathjax-and-wordpress/