XML technologies / DocBook / Block elements / Equations / Simple formulas with mathphrase

(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)

For simple formulas requiring only superscripts and subscripts, DocBook 4.5 and later provide mathphrase. It is allowed within equation, informalequation and inlineequation. For example, the familiar Pythagorean formula a² + b² = c² can be entered using mathphrase:

Example: Pythagorean formula using mathphrase

<inlineequation>
    <mathphrase>
        a<superscript>2</superscript> +
        b<superscript>2</superscript> =
        c<superscript>2</superscript>
    </mathphrase>
</inlineequation>

  

back to top