XML-Technologien / DocBook / Block-Elemente / Gleichungen / Einfache Formeln mit mathphrase

(Auszug aus "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" von Thomas Schraitle)

Für einfache Formeln, die nur Hoch- und Tiefstellungen kennen, gibt es ab DocBook 4.5 mathphrase. Es ist innerhalb von equation, informalequation und inlineequation erlaubt. So kann die bekannte Formel von Pythagoras a² + b² = c² mittels mathphrase eingegeben werden:

Beispiel: Pythagorasche Formel mit mathphrase

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

  

nach oben