MathML is XML to make nice mathematical formulas.

Instead of learning the MathML set of elements, MathML editors having a gui's are available as Such an editor that is on-line is When done with the gui, MathML code can be created that looks as:

<math xmlns="">

The above code is the semantics of the formula, but nothing how it will be presented is defined. However modern browsers understand and render the formula. Since it contains the namespace declaration it can be embedded this way in xhtml.

Embedding the above code in docbook xml works too when converting to xhtml and the using a modern browser. But with other tools there are some issues since they do not know what to do. Apache FOP does not render anything and serna gives a validation message.

An alternatives is just include the formula as picture. The picture could be a SVG vector format that is even created automatically from MathML

Linurs startpage