Displaying physical formulas


I would like to use LaTeX notation in physics texts. Thankfully, there is MathJax. MathJax renders LaTeX formulas in HTML documents for quite some time.

A simple mathematical formula:

\( a^2 + b^2 = c^2 \)

But physics require the rendering of a value with a unit. I use the siunitx package in LaTeX for this. These commands where not available in MathJax for a long time. There is a MathJax extension available since one year. This extension provides some of the functionality of the LaTeX package. Especially, the \sisetup command is not working. The format of the output is not customizable as in LaTeX.

\begin{equation} \Delta s = \SI{4.5e-2}{\meter} \end{equation}

Translations