<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 | serif | strike | underline | underline-start | underline-end | ruby | alternatives | inline-graphic | 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
- <inline-supplementary-material> Inline Supplementary Material
- 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
- <serif> Serif
- <strike> Strike Through
- <underline> Underline
- <underline-start> Underline Start
- <underline-end> Underline End
- <ruby> Ruby Annotation Wrapper
- <alternatives> Alternatives For Processing
- Inline Display Elements
- <chem-struct> Chemical Structure (Display)
- <inline-formula> Formula, Inline
- Math Elements
- Other Inline Elements
- <fn> Footnote
- <target> Target of an Internal Link
- <xref> X (cross) Reference
- <sub> Subscript
- <sup> Superscript
- <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:
<abstract>, <ack>, <answer>, <app>, <app-group>, <bio>, <body>, <book-app-group>, <boxed-text>, <disp-formula-group>, <disp-quote>, <explanation>, <fig>, <glossary>, <index>, <index-div>, <index-group>, <license-p>, <named-book-part-body>, <named-content>, <notes>, <option>, <p>, <question>, <question-preamble>, <ref-list>, <sec>, <see>, <see-also>, <see-also-entry>, <see-entry>, <styled-content>, <supplementary-material>, <td>, <term>, <th>, <toc>, <toc-div>, <toc-entry>, <toc-group>, <trans-abstract>
Example 1
Display formula with TeX math inside:
...
<p>... PCR products were separated on gel, blotted, and probed
with a probe designed to react only with the <italic>ter1-Acc</italic>
template sequence and not with the wild-type sequence. Acc-35:
(GG1935 <italic>ter1-Acc</italic>). 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 GG1935 Bsi-29:
(GG1929 <italic>ter1-Bsi</italic>). Constructed by integration of
pTER1-Bsi into GG1929 and screening for cells that retained ...</p>
...
Example 2
Display formula with alternatives to an equation, including a textual form, a graphic, and tagged MathML:
...
<p>... This can be seen in the following:
<disp-formula>
<alternatives>
<textual-form>(a + 3)<sup>2</sup> - (10 - b) = 24</textual-form>
<graphic xmlns:xlink="http://www.w3.org/1999/xlink"
xlink:href="fors2682.f3">
<object-id>463492</object-id>
</graphic>
<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML">
<mml:mrow>
<mml:msup>
<mml:mfenced>
<mml:mrow>
<mml:mi>a</mml:mi>
<mml:mo>+</mml:mo>
<mml:mn>3</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mn>2</mml:mn>
</mml:msup>
<mml:mo>−</mml:mo>
<mml:mfenced>
<mml:mrow>
<mml:mi>10</mml:mi>
<mml:mo>−</mml:mo>
<mml:mn>b</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>=</mml:mo>
<mml:mn>24</mml:mn>
</mml:mrow>
</mml:math>
</alternatives>
</disp-formula>
</p>
...