XML technologies / DocBook / Block elements / Equations / Inserting inline
(Excerpt from "DocBook-XML: Media-neutral and platform-independent publishing" by Thomas Schraitle)
To display equations directly in the text flow, use inlineequation:
<para>Das Zerfallsgesetz
<inlineequation>
<alt role="tex">N = N_0 e^{-\lambda t}</alt>
<mediaobject>
<imageobject role="html">
<imagedata fileref="zerfallsgesetz.png"/>
</imageobject>
<imageobject role="fo">
<imagedata fileref="zerfallsgesetz.svg"/>
</imageobject>
</mediaobject>
</inlineequation> wird verwendet, um ...
</para>This approach is useful if your publishing system does not understand MathML. It lets you provide the stylesheets with several alternatives.
Copyright © 2009 Millin Verlag
You may print the online version for your private use.
Otherwise, this chapter from "DocBook-XML: Medienneutrales und plattformunabhängiges Publizieren" is subject to the same provisions as the printed edition: the work, including all its parts, is protected by copyright. All rights are reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
Millin Verlag, Siebengebirgsring 36, 53797 Lohmar, info(at)millin.de
back to top