<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:

<abbrev>, <abbrev-journal-title>, <abstract>, <ack>, <addr-line>, <aff>, <alternatives>, <alt-title>, <anonymous>, <app>, <app-group>, <article-title>, <attrib>, <award-id>, <bio>, <body>, <bold>, <boxed-text>, <chapter-title>, <chem-struct>, <collab>, <comment>, <compound-kwd-part>, <conf-acronym>, <conf-loc>, <conf-name>, <conf-num>, <conf-sponsor>, <conf-theme>, <copyright-statement>, <corresp>, <def-head>, <degrees>, <disp-formula>, <disp-quote>, <edition>, <element-citation>, <email>, <etal>, <ext-link>, <fax>, <fixed-case>, <funding-source>, <funding-statement>, <given-names>, <glossary>, <gov>, <history>, <inline-formula>, <inline-supplementary-material>, <institution>, <issue>, <issue-part>, <issue-sponsor>, <issue-title>, <italic>, <journal-subtitle>, <journal-title>, <kwd>, <label>, <license-p>, <meta-name>, <meta-value>, <mixed-citation>, <monospace>, <named-content>, <notes>, <on-behalf-of>, <overline>, <p>, <part-title>, <patent>, <phone>, <prefix>, <preformat>, <product>, <publisher-loc>, <publisher-name>, <rb>, <ref-list>, <related-article>, <related-object>, <role>, <roman>, <sans-serif>, <sc>, <sec>, <see>, <see-also>, <self-uri>, <series>, <series-text>, <series-title>, <sig>, <sig-block>, <source>, <speaker>, <std-organization>, <strike>, <string-conf>, <string-date>, <string-name>, <styled-content>, <sub>, <subject>, <subtitle>, <suffix>, <sup>, <supplement>, <support-source>, <surname>, <target>, <td>, <term>, <term-head>, <textual-form>, <th>, <title>, <trans-abstract>, <trans-source>, <trans-subtitle>, <trans-title>, <underline>, <unstructured-kwd-group>, <uri>, <verse-line>, <version>, <volume>, <volume-id>, <volume-series>, <xref>

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} { &#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>
...

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">&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>
...