<disp-formula>
Formula, Display
Mathematical equation, expression, or formula that is to be displayed as a block
(callout) within the narrative flow.
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.
Attributes
Content Model
<!ELEMENT disp-formula %disp-formula-model; >
Expanded Content Model
(#PCDATA | alt-text | long-desc | abstract | email | ext-link | uri | break | bold | fixed-case | italic | monospace | overline | roman | sans-serif | sc | strike | underline | ruby | inline-graphic | inline-media | private-char | chem-struct | inline-formula | kwd-group | label | named-content | styled-content | tex-math | mml:math | alternatives | array | code | graphic | media | preformat | sub | sup)*
Description
Any combination of:
- Text, numbers, or special characters
- Accessibility Elements
- <abstract> Abstract
- Linking Elements
- <break> Line Break
- Emphasis Elements
- Inline Display Elements
- Inline Math Elements
- <kwd-group> Keyword Group
- <label> Label (of an Equation, Figure, Reference, etc.)
- <named-content> Named Special (Subject) Content
- <styled-content> Styled Special (Subject) Content
- <alternatives> Alternatives For Processing
- <array> Array (Simple Tabulation)
- <code> Code
- <graphic> Graphic
- <media> Media Object
- <preformat> Preformatted Text
- Baseline Change Elements
This element may be contained in:
Example 1
An equation tagged 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} { <-> 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>
...
Example 2
Alternatives to an equation, including a graphic, XML-tagged MathML, and TeX tagging:
...
<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">Δ</mml:mi>
<mml:mi>x</mml:mi>
<mml:mi mathvariant="normal">Δ</mml:mi>
<mml:mi>p</mml:mi>
<mml:mo>≥</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mn>2</mml:mn>
</mml:mfrac>
<mml:mi class="MJX-variant">ℏ</mml:mi>
</mml:mstyle>
</mml:math>
<tex-math><![CDATA[\displaystyle \Delta x \Delta p \geq \frac{1}{2} \hbar]]></tex-math>
</alternatives>
</disp-formula>
...