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.
$$latex_equation$$
$latex_equation$
Here is an example of a full line equation:
$$P_{in}=\frac{V_{in}^2}{R_{1}}$$
Here is an example of a full line equation \[P_{in}=\frac{V_{in}^2}{R_{1}}\]
Here is an example of an inline equation $V = I \times R$: this is ohm's law
Here is an example of an inline equation \(V = I \times R\): this is ohm’s law
There are a couple of ways to create symbols depending on how you want them to look in the output.
You can simply use latex symbols with mathjax. However the font will be in the mathjax font.
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}\)
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.
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