Mathjax

MathJax is a cross-browser JavaScript library that displays mathematical notation in web browsers, using MathML, LaTeX and ASCIIMathML markup.

Simply enter equations by wrapping dollar signs around your latex equations.

  • double dollar signs for displayed equations $$latex_equation$$
  • single dollar signs for inline equations eg. $latex_equation$

Mathjax Documentation

Displayed Equations

Code
Here is an example of a full line equation:
$$P_{in}=\frac{V_{in}^2}{R_{1}}$$
Result

Here is an example of a full line equation \[P_{in}=\frac{V_{in}^2}{R_{1}}\]

Inline Equations

Code
Here is an example of an inline equation $V = I \times R$: this is ohm's law
Result

Here is an example of an inline equation \(V = I \times R\): this is ohm’s law

Symbols and Special Characters

There are a couple of ways to create symbols depending on how you want them to look in the output.

Mathjax Symbols

You can simply use latex symbols with mathjax. However the font will be in the mathjax font.

Latex Symbols

Some greek characters: \(\alpha \beta \Omega \omega\)

Some math characters: \(\times \div \int \sum \pm \infty \Re \angle \Longleftarrow\)

For Subscript: \(V_{AB} \times I_A\)

And Superscript: \(P = I^{2} \times R_{arm}\)

HTML Symbols

You can use standard html unicode characters. These characters should be in the same/similar font as the surrounding text as long as the font set includes the required symbol.

Html symbols

Some Greek Characters: α β Ω ω

Some math characters: × ÷ ∫ ∑ ± ∞ ℜ ∠ ←

For Subscript: VAB × IA
or using html tags VAB × IA

And Superscript: P = I2 × Rarm
or using html tags P = I2 × Rarm