<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 | abstract | email | ext-link | uri | break | caption | bold | fixed-case | italic | monospace | overline | roman | sans-serif | sc | strike | underline | ruby | object-id | inline-graphic | inline-media | private-char | chem-struct | inline-formula | kwd-group | subj-group | label | named-content | styled-content | tex-math | mml:math | alternatives | array | code | graphic | media | preformat | sub | sup)*

Tagged Samples
Equation using <tex-math>
...
<p>... Selected as described for Acc-29
 <disp-formula>
  <tex-math id="M1"><![CDATA[\documentclass[12pt]{minimal}
   \usepackage{wasysym}
   \usepackage[substack]{amsmath}
   \usepackage{amsfonts}
   \usepackage{amssymb}
   \usepackage{amsbsy}
   \usepackage[mathscr]{eucal}
   \usepackage{mathrsfs}
   \DeclareFontFamily{T1}{linotext}{}
   \DeclareFontShape{T1}{linotext}{m}{n} { &#x003C;-&#x003E; linotext }{}
   \DeclareSymbolFont{linotext}{T1}{linotext}{m}{n}
   \DeclareSymbolFontAlphabet{\mathLINOTEXT}{linotext}
   \begin{document}
   $$
   {\mathrm{Acc/Acc:\hspace{.5em}}}\frac{{\mathit{ade2-202}}}{{\mathit{ADE2}}}\
   hspace{.5em}\frac{{\mathit{ura3-59}}}{{\mathit{ura3-59}}}\hspace{.5em}\frac{{\
   mathit{ADE1}}}{{\mathit{adel-201}}}\hspace{.5em}\frac{{\mathit{ter1-Acc}}}{{\
   mathit{ter1-Acc}}}\hspace{.5em}\frac{{\mathit{MATa}}}{{\mathit{MAT{\alpha}}}}
   $$
   \end{document}]]></tex-math>
 </disp-formula> TER1/ter1-Acc: Acc-29 crossed with ...</p>
...
Equation using <mml:math>
...
<p>... As 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, TeX)
...
<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>
  <tex-math><![CDATA[\displaystyle \Delta x \Delta p \geq \frac{1}{2} \hbar]]></tex-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