DocBook Publishers: The Definitive Guide  (Version 1.2.1 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.

Parents

These elements contain inlineequation: bridgehead, citation, citetitle, contrib, emphasis (db.emphasis), entry, firstterm (db.firstterm), glosssee, glossseealso, glossterm (db.glossterm), line, link, literallayout, member, olink, orgdiv, para, phrase (db.phrase), primary, quote (db.quote), remark, secondary, see, seealso, simpara, subtitle, term, termdef, tertiary, title, titleabbrev.

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: