# MathJaxExamples

Jpr@uab.edu (Talk | contribs) (Fix lorenz no reder) |
Jpr@uab.edu (Talk | contribs) (Try again) |
||

Line 14: | Line 14: | ||

Here are the Lorenz equations: | Here are the Lorenz equations: | ||

+ | <source lang='html5'> | ||

+ | <math>\begin{align} | ||

+ | \dot{x} & = \sigma(y-x) \\ | ||

+ | \dot{y} & = \rho x - y - xz \\ | ||

+ | \dot{z} & = -\beta z + xy | ||

+ | \end{align}</math> | ||

+ | </source> | ||

How they are entered in the wiki editor | How they are entered in the wiki editor |

## Revision as of 08:32, 23 January 2015

See how math markup works with SimpleMathJax extension.

You can now add TeX formulas to a wiki page and have the rendered beautifully. Simple put the TeX code between and opening <math> and closing </math> tag and the page will render the TeX.

Here are some examples taken from TeX examples:

Enter the text:

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

And the page will render it as:

[math]E=mc^2[/math]

Here are the Lorenz equations: <source lang='html5'> [math]\begin{align} \dot{x} & = \sigma(y-x) \\ \dot{y} & = \rho x - y - xz \\ \dot{z} & = -\beta z + xy \end{align}[/math] </source>

How they are entered in the wiki editor <source> [math]\begin{align} \dot{x} & = \sigma(y-x) \\ \dot{y} & = \rho x - y - xz \\ \dot{z} & = -\beta z + xy \end{align}[/math] </source>

How they look in the browser:

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