Partially Attended

an irregularly updated blog by Ian Mulvany

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/

This work is licensed under a Creative Commons Attribution 4.0 International License