Darwin Information Typing Architecture (DITA) Version 1.3 Part 2: Technical Content Edition

OASIS DITA Technical Committee

Use the equation-inline element to represent an equation that is presented inline within a paragraph or similar context. Inline equations are not intended to be numbered.

When an equation-inline element has multiple direct child elements, each child represents an alternative form of the equation. Processors are free to choose the form or forms that they use in deliverables. For example, if there is both an image and MathML markup, an HTML-generating processor could output both the image reference and the MathML with appropriate HTML class or id values to enable dynamic showing or hiding of one form or the other based on browser capability.


+ topic/ph equation-d/equation-inline


The following example contains a paragraph that contains an equation-inline element with MathML markup:

<p>MathML inline: <equation-inline>
    <m:math display='inline'>

The following example contains an equation-inline element that uses an image as its content:

<p>An inline equation that contains an image:
  <image keyref="equation-image-01">
    <alt>a squared plus b squared.</alt>


The following attributes are available on this element: Universal attribute group, outputclass, and keyref.