DesignWIKI

Fil Salustri's Design Site

Site Tools


wiki:math_in_dokuwiki

Math in dokuwiki

Some hints on how to insert real mathematical equations in a dokuwiki page.

This installation uses the MathJax dokuwiki plugin and a service offered by the MathJax developers to do the rendering. Basically, MathJax lets you render math using LaTeX-style directives.

You can put inline math like this: this code $a^2 + b^2 = c^2$ will render like this $a^2 + b^2 = c^2$, and this \(1+2+\dots+n=\frac{n(n+1)}{2}\) will render as \(1+2+\dots+n=\frac{n(n+1)}{2}\).

To display math on its own line, use double-dollar-signs. For instance:

$$ \frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x) $$

renders like this

$$ \frac{d}{dx}\left( \int_{0}^{x} f(u)\,du\right)=f(x) $$

You can use escaped square brackets instead of double-dollar-signs.

See Also

wiki/math_in_dokuwiki.txt · Last modified: 2020.03.12 13:30 (external edit)