DocBook 5.1: The Definitive Guide  (Version 1.5.3 for DocBook 5.1)

inlineequation

inlineequation — A mathematical equation or expression occurring inline.

Synopsis

inlineequation ::= [-]

Description

An inlineequations is an expression (usually mathematical) that occurs in the text flow.

Processing expectations

Formatted inline.

Children

The following elements occur in inlineequation: alt, inlinemediaobject, mathphrase, mml:*.

Examples

<article xmlns='http://docbook.org/ns/docbook'>
<title>Example inlineequation</title>

<para>Einstein's theory of relativity includes one of the most
widely recognized formulas in the world:
<inlineequation>
  <alt>e=mc^2</alt>
  <inlinemediaobject>
    <imageobject condition="print">
      <imagedata fileref="figs/print/db5d_refeqn03.pdf"/>
    </imageobject>
    <imageobject condition="web">
      <imagedata fileref="figs/web/db5d_refeqn03.png"/>
    </imageobject>
  </inlinemediaobject>
</inlineequation>
</para>

</article>

Einstein's theory of relativity includes one of the most widely recognized formulas in the world: