# MathJaxExamples

From SURAgrid

(Difference between revisions)

Jpr@uab.edu (Talk | contribs) (add another example) |
Jpr@uab.edu (Talk | contribs) m |
||

Line 16: | Line 16: | ||

This is basic usage and should work: | This is basic usage and should work: | ||

<math>E=mc^2</math> | <math>E=mc^2</math> | ||

+ | |||

+ | The source looks fine |

## Revision as of 07:25, 23 January 2015

See how math markup works with SimpleMathJax extension

Lorenz equations from TeX examples:

[math]\begin{align} \dot{x} & = \sigma(y-x) \\ \dot{y} & = \rho x - y - xz \\ \dot{z} & = -\beta z + xy \end{align}[/math]

Another test, this time direct from MathJax:

When $a \ne 0$, there are two solutions to \(ax^2 + bx + c = 0\) and they are $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

This is basic usage and should work: [math]E=mc^2[/math]

The source looks fine