Table of Contents

Math Plugin

This plugin makes use of phpmathpublisher to allow inclusion of properly rendered mathematical formulae in Dokuwiki pages. This is a completely self-contained php solution requiring no third party packages.

Usage

<m size>...mathematical formulae...</m>

size (optional) the base glyph size in pixels - default value: 12.

alignment can be controlled in the same way as dokuwiki images, one space to the left to right align, one to the right to left align, one on each side to centre.

Syntax

Adapted from http://www.xm1math.net/phpmathpublisher/doc/help.html.

To toggle to the math mode, you must use the <m>...</m> tag. Apart from this tag, any html code can be used. The math commands must be separated by a space character or surrounded by {}.

Typical commands

Space

Greek:

Symbols:

Arrows:

Sets:

Roots and Limits:

Big Operators:

Delimiters:

Matrix:

Tabular:

Constructions:

Demo

<m>S(f)(t)=a_{0}+sum{n=1}{+infty}{a_{n} cos(n omega t)+b_{n} sin(n omega t)}</m> 

<m>S(f)(t)=a_{0}+sum{n=1}{+infty}{a_{n} cos(n omega t)+b_{n} sin(n omega t)}</m>

<m 8>delim{lbrace}{matrix{3}{1}{{3x-5y+z=0} {sqrt{2}x-7y+8z=0} {x-8y+9z=0}}}{ }</m>

<m 8>delim{lbrace}{matrix{3}{1}3x-5y_z_0_sqrt_2_x-7y_8z_0_x-8y_9z_0}{ }</m>

<m 32>delim{|}{{1/N} sum{n=1}{N}{gamma(u_n)} - 1/{2 pi} int{0}{2 pi}{gamma(t) dt}}{|} <= epsilon/3</m>

<m 32>delim{|}1_n_sum_n_1_n_gamma_u_n_-_1_2_pi_int_0_2_pi_gamma_t_dt{|} ⇐ epsilon/3</m>