<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 | email | ext-link | uri | inline-supplementary-material | related-article | related-object | hr | bold | fixed-case | italic | monospace | overline | overline-start | overline-end | roman | sans-serif | sc | strike | underline | underline-start | underline-end | ruby | alternatives | inline-graphic | inline-media | private-char | chem-struct | inline-formula | tex-math | mml:math | abbrev | index-term | index-term-range-end | milestone-end | milestone-start | named-content | styled-content | fn | target | xref | sub | sup | x | abstract | alt-text | long-desc | break | attrib | permissions | kwd-group | label | array | code | graphic | media | preformat)*
Description
Any combination of:
- Text, numbers, or special characters
- Linking Elements
- Related Material Elements
- <hr> Horizontal Rule
- Emphasis Elements
- <bold> Bold
- <fixed-case> Fixed Case
- <italic> Italic
- <monospace> Monospace Text (Typewriter Text)
- <overline> Overline
- <overline-start> Overline Start
- <overline-end> Overline End
- <roman> Roman
- <sans-serif> Sans Serif
- <sc> Small Caps
- <strike> Strike Through
- <underline> Underline
- <underline-start> Underline Start
- <underline-end> Underline End
- <ruby> Ruby Annotation Wrapper
- <alternatives> Alternatives For Processing
- Inline Display Elements
- Inline Math Elements
- Other Inline Elements
- Internal Linking Elements
- Baseline Change Elements
- <x> X - Generated Text and Punctuation
- <abstract> Abstract
- Accessibility Elements
- <break> Line Break
- Ownership Elements
- <kwd-group> Keyword Group
- <label> Label (of an Equation, Figure, Reference, etc.)
- <array> Array (Simple Tabulation)
- <code> Code
- <graphic> Graphic
- <media> Media Object
- <preformat> Preformatted Text
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>
...