<tex-math>
TeX Math Equation
Used to hold encoded math, expressed in TeX or LaTeX.
Remarks
Best Practice: Although this Tag Set has no way to enforce it, best practice would be to enclose the contents of this element in a CDATA marked section, because the use of the ampersand in TeX and LaTeX presents a problem on occasion.
Attributes
Content Model
<!ELEMENT tex-math (#PCDATA) >
Description
Text, numbers, or special characters
This element may be contained in:
<alternatives>, <alt-title>, <answer>, <app>, <app-group>, <article-title>, <attrib>, <bio>, <body>, <bold>, <boxed-text>, <chapter-title>, <chem-struct>, <comment>, <def-head>, <disp-formula>, <disp-quote>, <explanation>, <fixed-case>, <glossary>, <inline-formula>, <italic>, <license-p>, <meta-value>, <monospace>, <named-content>, <notes>, <option>, <overline>, <p>, <part-title>, <question>, <question-preamble>, <ref-list>, <roman>, <sans-serif>, <sc>, <sec>, <see>, <see-also>, <source>, <strike>, <styled-content>, <sub>, <subtitle>, <sup>, <td>, <term>, <term-head>, <textual-form>, <th>, <title>, <trans-source>, <trans-subtitle>, <trans-title>, <underline>
Example 1
An equation written in TeX:
...
<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 MathML, TeX, and a graphic:
...
<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>
...