<disp-formula> Formula, Display

Mathematical equation, expression, or formula that is to be displayed as a block (callout) within the narrative flow.

Usage/Remarks

A <disp-formula> need not be a “formula” in the strict mathematical sense, but can be used for any mathematical expression or equation.
This element may contain the actual characters that make up an equation or formula or a graphic that contains the formula. Thus, the mathematics can be expressed as ASCII characters; MathML, TeX, or LaTeX expressions; or as a graphic or series of graphics.
A display equation may numbered, using automatic numbering or by storing the number in a <label> element.
Related Elements
For a mathematical equation, expression, or formula which is to be displayed inline with the text, use the <inline-formula> element.
Attributes

Base Attributes

Models and Context
May be contained in
Description
Content Model
<!ELEMENT  disp-formula %disp-formula-model;                         >
Expanded Content Model

(#PCDATA | alt-text | long-desc | email | ext-link | uri | break | bold | fixed-case | italic | monospace | overline | roman | sans-serif | sc | strike | underline | ruby | caption | attrib | permissions | alternatives | inline-graphic | inline-media | chem-struct | inline-formula | label | legend | mml:math | code | graphic | media | preformat | sub | sup)*

Tagged Samples
Equation using <mml:math>
...
<p>... This can be seen in the following summation:
 <disp-formula>
  <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML">
   <mml:semantics>
    <mml:mrow>
     <mml:munder>
      <mml:mo>&sum;</mml:mo>
      <mml:mi>m</mml:mi>
     </mml:munder>
     <mml:mrow>
      <mml:msub>
       <mml:mover accent='true'>
        <mml:mi>p</mml:mi>
        <mml:mo>&dot;</mml:mo>
       </mml:mover>
       <mml:mi>m</mml:mi>
      </mml:msub>
      <mml:mo>=</mml:mo>
      <mml:mn>0</mml:mn>
     </mml:mrow>
    </mml:mrow>
    <mml:annotation>...</mml:annotation>
   </mml:semantics>
  </mml:math>
 </disp-formula>
</p>
...
Alternatives (graphic, MathML)
...
<disp-formula id="eq_002">
 <label>(2)</label>
 <alternatives>
  <graphic xlink:href="graphic/eq_002.png"/>
  <mml:math>
   <mml:mstyle displaystyle="true" scriptlevel="0">
    <mml:mi mathvariant="normal">&Delta;</mml:mi>
    <mml:mi>x</mml:mi>
    <mml:mi mathvariant="normal">&Delta;</mml:mi>
    <mml:mi>p</mml:mi>
    <mml:mo>&ge;</mml:mo>
    <mml:mfrac>
     <mml:mn>1</mml:mn>
     <mml:mn>2</mml:mn>
    </mml:mfrac>
    <mml:mi class="MJX-variant">&hbar;</mml:mi>
   </mml:mstyle>
  </mml:math>
 </alternatives>
</disp-formula>
...
With <caption>
...
<disp-formula>
 <label>(1)</label>
 <caption><p>In(ŷit) represents labor productivity growth 
  between time (t) and time (t – 1) and RATIOit the distance 
  to the labor productivity frontier for industry i at 
  time t.</p></caption>
 <graphic xlink:href="..."/>
</disp-formula>
...
<label> and no <caption>
...
<disp-formula>
 <label>(3)</label>
 <graphic xlink:href="..."/>
</disp-formula>
...
Related Resources