<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>MathJax TeX and LaTeX Support &mdash; MathJax v2.0 documentation</title>
    <link rel="stylesheet" href="_static/mj.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '',
        VERSION:     '2.0',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <!--<script type="text/javascript" src="../../MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>-->
    <link rel="top" title="MathJax v2.0 documentation" href="index.html" />
    <link rel="next" title="MathJax MathML Support" href="mathml.html" />
    <link rel="prev" title="Using MathJax in Movable Type" href="platforms/movable-type.html" /> 
  </head>
  <body>
    
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="mathml.html" title="MathJax MathML Support"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="platforms/movable-type.html" title="Using MathJax in Movable Type"
             accesskey="P">previous</a> |</li>
        <li><a href="index.html">MathJax v2.0 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="mathjax-tex-and-latex-support">
<span id="tex-support"></span><h1>MathJax TeX and LaTeX Support<a class="headerlink" href="#mathjax-tex-and-latex-support" title="Permalink to this headline">¶</a></h1>
<p>The support for <a class="reference internal" href="glossary.html#term-tex"><em class="xref std std-term">TeX</em></a> and <a class="reference internal" href="glossary.html#term-latex"><em class="xref std std-term">LaTeX</em></a> in MathJax consists of two
parts: the <cite>tex2jax</cite> preprocessor, and the <cite>TeX</cite> input processor.  The
first of these looks for mathematics within your web page (indicated by
math delimiters like <tt class="docutils literal"><span class="pre">$$...$$</span></tt>) and marks the mathematics for later
processing by MathJax.  The TeX input processor is what converts the TeX
notation into MathJax&#8217;s internal format, where one of MathJax&#8217;s output
processors then displays it in the web page.</p>
<p>The <cite>tex2jax</cite> preprocessor can be configured to look for whatever
markers you want to use for your math delimiters.  See the
<a class="reference internal" href="options/tex2jax.html#configure-tex2jax"><em>tex2jax configuration options</em></a> section for
details on how to customize the action of <cite>tex2jax</cite>.</p>
<p>The TeX input processor handles conversion of your mathematical
notation into MathJax&#8217;s internal format (which is essentially MathML),
and so acts as a TeX to MathML converter.  The TeX input processor has
few configuration options (see the <a class="reference internal" href="options/TeX.html#configure-tex"><em>TeX options</em></a> section for details), but it can also be customized
through the use of extensions that define additional functionality
(see the <a class="reference internal" href="#tex-extensions"><em>TeX and LaTeX extensions</em></a> below).</p>
<p>Note that the TeX input processor implements <strong>only</strong> the math-mode
macros of TeX and LaTeX, not the text-mode macros.  MathJax expects
that you will use standard HTML tags to handle formatting the text of
your page; it only handles the mathematics.  So, for example, MathJax
does not implement <tt class="docutils literal"><span class="pre">\emph</span></tt> or
<tt class="docutils literal"><span class="pre">\begin{enumerate}...\end{enumerate}</span></tt> or other text-mode macros or
environments.  You must use HTML to handle such formatting tasks.  If
you need a LaTeX-to-HTML converter, you should consider <a class="reference external" href="http://www.google.com/search?q=latex+to+html+converter">other options</a>.</p>
<div class="section" id="tex-and-latex-math-delimiters">
<h2>TeX and LaTeX math delimiters<a class="headerlink" href="#tex-and-latex-math-delimiters" title="Permalink to this headline">¶</a></h2>
<p>By default, the <cite>tex2jax</cite> preprocessor defines the LaTeX math delimiters,
which are <tt class="docutils literal"><span class="pre">\(...\)</span></tt> for in-line math, and <tt class="docutils literal"><span class="pre">\[...\]</span></tt> for displayed
equations.  It also defines the TeX delimiters <tt class="docutils literal"><span class="pre">$$...$$</span></tt> for displayed
equations, but it does <strong>not</strong> define <tt class="docutils literal"><span class="pre">$...$</span></tt> as in-line math
delimiters.  That is because dollar signs appear too often in
non-mathematical settings, which could cause some text to be treated
as mathematics unexpectedly.  For example, with single-dollar
delimiters, &#8221;... the cost is $2.50 for the first one, and $2.00 for
each additional one ...&#8221; would cause the phrase &#8220;2.50 for the first
one, and&#8221; to be treated as mathematics since it falls between dollar
signs.  For this reason, if you want to use single-dollars for in-line
math mode, you must enable that explicitly in your configuration:</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">MathJax</span><span class="p">.</span><span class="nx">Hub</span><span class="p">.</span><span class="nx">Config</span><span class="p">({</span>
  <span class="nx">tex2jax</span><span class="o">:</span> <span class="p">{</span>
    <span class="nx">inlineMath</span><span class="o">:</span> <span class="p">[[</span><span class="s1">&#39;$&#39;</span><span class="p">,</span><span class="s1">&#39;$&#39;</span><span class="p">],</span> <span class="p">[</span><span class="s1">&#39;\\(&#39;</span><span class="p">,</span><span class="s1">&#39;\\)&#39;</span><span class="p">]],</span>
    <span class="nx">processEscapes</span><span class="o">:</span> <span class="kc">true</span>
  <span class="p">}</span>
<span class="p">});</span>
</pre></div>
</div>
<p>Note that if you do this, you may want to also set <tt class="docutils literal"><span class="pre">processEscapes</span></tt> to
<tt class="docutils literal"><span class="pre">true</span></tt>, as in the example above, so that you can use <tt class="docutils literal"><span class="pre">\$</span></tt> to prevent a
dollar sign from being treated as a math delimiter within the text of your
web page.  (Note that within TeX mathematics, <tt class="docutils literal"><span class="pre">\$</span></tt> always has this
meaning; <tt class="docutils literal"><span class="pre">processEscapes</span></tt> only affects the treatment of the <em>opening</em>
math delimiter.)</p>
<p>See the <tt class="docutils literal"><span class="pre">config/default.js</span></tt> file, or the <a class="reference internal" href="options/tex2jax.html#configure-tex2jax"><em>tex2jax configuration
options</em></a> page, for additional configuration
parameters that you can specify for the <cite>tex2jax</cite> preprocessor,
which is the component of MathJax that identifies TeX notation within
the page.</p>
</div>
<div class="section" id="tex-and-latex-in-html-documents">
<h2>TeX and LaTeX in HTML documents<a class="headerlink" href="#tex-and-latex-in-html-documents" title="Permalink to this headline">¶</a></h2>
<p>Keep in mind that your mathematics is part of an HTML document, so you
need to be aware of the special characters used by HTML as part of its
markup.  There cannot be HTML tags within the math delimiters (other
than <tt class="docutils literal"><span class="pre">&lt;br&gt;</span></tt>) as TeX-formatted math does not include HTML tags.
Also, since the mathematics is initially given as text on the page,
you need to be careful that your mathematics doesn&#8217;t look like HTML
tags to the browser (which parses the page before MathJax gets to see
it).  In particular, that means that you have to be careful about
things like less-than and greater-than signs (<tt class="docutils literal"><span class="pre">&lt;</span></tt> and <tt class="docutils literal"><span class="pre">&gt;</span></tt>), and
ampersands (<tt class="docutils literal"><span class="pre">&amp;</span></tt>), which have special meaning to the browsers.  For
example,</p>
<div class="highlight-latex"><div class="highlight"><pre>... when <span class="s">$</span><span class="nb">x&lt;y</span><span class="s">$</span> we have ...
</pre></div>
</div>
<p>will cause a problem, because the brower will think <tt class="docutils literal"><span class="pre">&lt;y</span></tt> is the
beginning of a tag named <tt class="docutils literal"><span class="pre">y</span></tt> (even though there is no such tag in
HTML).  When this happens, the browser will think the tag continues up
to the next <tt class="docutils literal"><span class="pre">&gt;</span></tt> in the document (typically the end of the next
actual tag in the HTML file), and you may notice that you are missing
part of the text of the document.  In the example above, the &#8220;<tt class="docutils literal"><span class="pre">we</span>
<span class="pre">have</span> <span class="pre">...</span></tt>&#8221; will not be displayed because the browser thinks it is
part of the tag starting at <tt class="docutils literal"><span class="pre">&lt;y</span></tt>.  This is one indication you can
use to spot this problem; it is a common error and should be avoided.</p>
<p>Usually, it is sufficient to simply put spaces around these symbols to
cause the browser to avoid them, so</p>
<div class="highlight-latex"><div class="highlight"><pre>... when <span class="s">$</span><span class="nb">x &lt; y</span><span class="s">$</span> we have ...
</pre></div>
</div>
<p>should work.  Alternatively, you can use the HTML entities <tt class="docutils literal"><span class="pre">&amp;lt;</span></tt>,
<tt class="docutils literal"><span class="pre">&amp;gt;</span></tt> and <tt class="docutils literal"><span class="pre">&amp;amp;</span></tt> to encode these characters so that the browser
will not interpret them, but MathJax will.  E.g.,</p>
<div class="highlight-latex"><div class="highlight"><pre>... when <span class="s">$</span><span class="nb">x &amp;lt; y</span><span class="s">$</span> we have ...
</pre></div>
</div>
<p>Finally, there are <tt class="docutils literal"><span class="pre">\lt</span></tt> and <tt class="docutils literal"><span class="pre">\gt</span></tt> macros defined to make it
easier to enter <tt class="docutils literal"><span class="pre">&lt;</span></tt> and <tt class="docutils literal"><span class="pre">&gt;</span></tt> using TeX-like syntax:</p>
<div class="highlight-latex"><div class="highlight"><pre>... when <span class="s">$</span><span class="nb">x </span><span class="nv">\lt</span><span class="nb"> y</span><span class="s">$</span> we have ...
</pre></div>
</div>
<p>Keep in mind that the browser interprets your text before MathJax
does.</p>
<p>Another source of difficulty is when MathJax is used in content
management systems that have their own document processing commands
that are interpreted before the HTML page is created.  For example,
many blogs and wikis use formats like <a class="reference internal" href="glossary.html#term-markdown"><em class="xref std std-term">Markdown</em></a> to allow you to
create the content of you pages.  In Markdown, the underscore is used
to indicate italics, and this usage will conflict with MathJax&#8217;s ise
of the underscore to indicate a subscript.  Since Markdown is applied
to the page first, it will convert your subscripts markers into
italics (inserting <tt class="docutils literal"><span class="pre">&lt;i&gt;</span></tt> tags into your mathematics, which will
cause MathJax to ignore the math).</p>
<p>Such systems need to be told not to modify the mathematics that
appears between math delimiters.  That usually involves modifying the
content-management system itself, which is beyond the means of most
page authors.  If you are lucky, someone else will already have done
this for you, and you can find a MathJax plugin for your system on the
<a class="reference external" href="http://www.mathjax.org/community/mathjax-in-use/">MathJax-In-Use page</a> page.</p>
<p>If there is no plugin for your system, or if it doesn&#8217;t handle the
subtleties of issolating the mathematics from the other markup that it
supports, then you may have to &#8220;trick&#8221; it into leaving your
mathematics untouched.  Most content-management systems provide some
means of indicating text that should not be modified (&#8220;verbatim&#8221;
text), often for giving code snippets for computer languages.
You may be use that to enclose your mathematics so that the system
leaves it unchanged and MathJax can process it.  For example, in
Markdown, the back-tick (<tt class="docutils literal"><span class="pre">`</span></tt>) is used to mark verbatim text, so</p>
<div class="highlight-latex"><div class="highlight"><pre>... we have `<span class="s">\(</span><span class="nb">x_</span><span class="m">1</span><span class="nb"> </span><span class="o">=</span><span class="nb"> </span><span class="m">132</span><span class="s">\)</span>` and `<span class="s">\(</span><span class="nb">x_</span><span class="m">2</span><span class="nb"> </span><span class="o">=</span><span class="nb"> </span><span class="m">370</span><span class="s">\)</span>` and so ...
</pre></div>
</div>
<p>may be able to protect the underscores from being processed by
Markdown.</p>
<p>Some content-management systems use the backslash (<tt class="docutils literal"><span class="pre">\</span></tt>) as a special
character for &#8220;escaping&#8221; other characters, but TeX uses this character
to indicate a macro name.  In such systems, you may have to double the
backslashes in order to obtain a single backslash in your HTML page.
For example, you may have to do</p>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\\</span>begin<span class="nb">{</span>array<span class="nb">}{</span>cc<span class="nb">}</span>
  a <span class="nb">&amp;</span> b <span class="k">\\\\</span>
  c <span class="nb">&amp;</span> c
<span class="k">\\</span>end<span class="nb">{</span>array<span class="nb">}</span>
</pre></div>
</div>
<p>to get an array with the four entries <em>a</em>, <em>b</em>, <em>c</em>, and <em>d</em>.  Note in
particular that if you want <tt class="docutils literal"><span class="pre">\\</span></tt> you will have to double <em>both</em>
backslashes, giving <tt class="docutils literal"><span class="pre">\\\\</span></tt>.</p>
<p>Finally, if you have enabled single dollar-signs as math delimiters,
and you want to include a literal dollar sign in your web page (one
that doesn&#8217;t represent a math delimiter), you will need to prevent
MathJax from using it as a math delimiter.  If you also enable the
<tt class="docutils literal"><span class="pre">processEscapes</span></tt> configuration parameter, then you can use <tt class="docutils literal"><span class="pre">\$</span></tt> in
the text of your page to get a dollar sign (without the backslash) in
the end.  Alternatively, you use something like
<tt class="docutils literal"><span class="pre">&lt;span&gt;$&lt;/span&gt;</span></tt> to isolate the dollar sign so that
MathJax will not use it as a delimiter.</p>
</div>
<div class="section" id="defining-tex-macros">
<span id="tex-macros"></span><h2>Defining TeX macros<a class="headerlink" href="#defining-tex-macros" title="Permalink to this headline">¶</a></h2>
<p>You can use the <tt class="docutils literal"><span class="pre">\def</span></tt>, <tt class="docutils literal"><span class="pre">\newcommand</span></tt>, <tt class="docutils literal"><span class="pre">\renewcommand</span></tt>,
<tt class="docutils literal"><span class="pre">\newenvironment</span></tt>, <tt class="docutils literal"><span class="pre">\renewenvironment</span></tt>, and <tt class="docutils literal"><span class="pre">\let</span></tt> commands to
create your own macros and environments.  Unlike actual TeX, however,
in order for MathJax to process these, they must be enclosed in math
delimiters (since MathJax only processes macros in math-mode).  For
example</p>
<div class="highlight-latex"><div class="highlight"><pre><span class="s">\(</span><span class="nb"></span>
<span class="nb">   </span><span class="nv">\def\RR</span><span class="nb">{</span><span class="nv">\bf</span><span class="nb"> R}</span>
<span class="nb">   </span><span class="nv">\def\bold</span><span class="nb">#</span><span class="m">1</span><span class="nb">{</span><span class="nv">\bf</span><span class="nb"> #</span><span class="m">1</span><span class="nb">}</span>
<span class="s">\)</span>
</pre></div>
</div>
<p>would define <tt class="docutils literal"><span class="pre">\RR</span></tt> to produce a bold-faced &#8220;R&#8221;, and <tt class="docutils literal"><span class="pre">\bold{...}</span></tt>
to put its argument into bold face.  Both definitions would be
available throughout the rest of the page.</p>
<p>You can include macro definitions in the <cite>Macros</cite> section of the <cite>TeX</cite>
blocks of your configuration, but they must be represetned as
JavaScript objects.  For example, the two macros above can be
pre-defined in the configuraiton by</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">MathJax</span><span class="p">.</span><span class="nx">Hub</span><span class="p">.</span><span class="nx">Config</span><span class="p">({</span>
  <span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
    <span class="nx">Macros</span><span class="o">:</span> <span class="p">{</span>
      <span class="nx">RR</span><span class="o">:</span> <span class="s2">&quot;{\\bf R}&quot;</span><span class="p">,</span>
      <span class="nx">bold</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;{\\bf #1}&quot;</span><span class="p">,</span><span class="mi">1</span><span class="p">]</span>
    <span class="p">}</span>
  <span class="p">}</span>
<span class="p">});</span>
</pre></div>
</div>
<p>Here you give the macro as a <cite>name:value</cite> pair, where the <cite>name</cite>
is the name of the control sequence (without the backslash) that you
are defining, and <cite>value</cite> is either the replacement string for the
macro (when there are no arguments) or an array consisting of the
replacement string followed by the number of arguments for the macro.</p>
<p>Note that the replacement string is given as a JavaScript string
literal, and the backslash has special meaning in JavaScript strings.
So to get an actual backslash in the string you must double it, as int
he examples above.</p>
<p>If you have many such definitions that you want to use on more than
one page, you could put them into a configuration file that you can
load along with the main configuration file.  For example, you could
create a file in <tt class="docutils literal"><span class="pre">MathJax/config/local</span></tt> called <tt class="docutils literal"><span class="pre">local.js</span></tt> that
contains your macro definitions:</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">MathJax</span><span class="p">.</span><span class="nx">Hub</span><span class="p">.</span><span class="nx">Config</span><span class="p">({</span>
  <span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
    <span class="nx">Macros</span><span class="o">:</span> <span class="p">{</span>
      <span class="nx">RR</span><span class="o">:</span> <span class="s2">&quot;{\\bf R}&quot;</span><span class="p">,</span>
      <span class="nx">bold</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;{\\bf #1}&quot;</span><span class="p">,</span><span class="mi">1</span><span class="p">]</span>
    <span class="p">}</span>
  <span class="p">}</span>
<span class="p">});</span>

<span class="nx">MathJax</span><span class="p">.</span><span class="nx">Ajax</span><span class="p">.</span><span class="nx">loadComplete</span><span class="p">(</span><span class="s2">&quot;[MathJax]/config/local/local.js&quot;</span><span class="p">);</span>
</pre></div>
</div>
<p>and then load it along with your main configuration file on the script
that loads <tt class="docutils literal"><span class="pre">MathJax.js</span></tt>:</p>
<div class="highlight-html"><div class="highlight"><pre><span class="nt">&lt;script </span><span class="na">src=</span><span class="s">&quot;/MathJax/MathJax.js?config=TeX-AMS_HTML,local/local.js&quot;</span><span class="nt">&gt;&lt;/script&gt;</span>
</pre></div>
</div>
<p>If you are using the CDN, you can make a local configuration file on
your own server, and load MathJax itself from the CDN and your
configuration file from your server.  See <a class="reference internal" href="configuration.html#local-config-files"><em>Using a Local
Configuration File with the CDN</em></a> for details.</p>
</div>
<div class="section" id="autmatic-equation-numering">
<span id="tex-eq-numbers"></span><h2>Autmatic Equation Numering<a class="headerlink" href="#autmatic-equation-numering" title="Permalink to this headline">¶</a></h2>
<p>New in MathJax v2.0 is the ability to have equations be numbered
automatically.  This functionality is turned off by default, so
that pages don&#8217;t change
when you update from v1.1 to v2.0, but it is easy to configure MathJax
to produce automatic equation numbers by adding:</p>
<div class="highlight-html"><div class="highlight"><pre><span class="nt">&lt;script </span><span class="na">type=</span><span class="s">&quot;text/x-mathjax-config&quot;</span><span class="nt">&gt;</span>
<span class="nx">MathJax</span><span class="p">.</span><span class="nx">Hub</span><span class="p">.</span><span class="nx">Config</span><span class="p">({</span>
  <span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span> <span class="nx">equationNumbers</span><span class="o">:</span> <span class="p">{</span> <span class="nx">autoNumber</span><span class="o">:</span> <span class="s2">&quot;AMS&quot;</span> <span class="p">}</span> <span class="p">}</span>
<span class="p">});</span>
<span class="nt">&lt;/script&gt;</span>
</pre></div>
</div>
<p>to your page just before the <tt class="docutils literal"><span class="pre">&lt;script&gt;</span></tt> tag that loads
<tt class="docutils literal"><span class="pre">MathJax.js</span></tt> itself.</p>
<p>Equations can be numbered in two ways: either number the AMSmath
environments as LaTeX would, or number all displayed equations (the
example above uses AMS-style numbering).  Set <tt class="docutils literal"><span class="pre">autoNumber</span></tt> to
<tt class="docutils literal"><span class="pre">&quot;all&quot;</span></tt> if you want every displayed equation to be numbered.
You can use <tt class="docutils literal"><span class="pre">\notag</span></tt> or <tt class="docutils literal"><span class="pre">\nonumber</span></tt> to prevent
individual equations from being numbered, and <tt class="docutils literal"><span class="pre">\tag{}</span></tt> can be used
to override the usual equation number with your own symbol instead.</p>
<p>Note that the AMS environments come in two forms:  starred and
unstarred.  The unstarred versions produce equation numbers (when
<tt class="docutils literal"><span class="pre">autoNumber</span></tt> is set to <tt class="docutils literal"><span class="pre">&quot;AMS&quot;</span></tt>) and the starred ones don&#8217;t.  For
example</p>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\begin</span><span class="nb">{</span>equation<span class="nb">}</span>
   E = mc<span class="nb">^</span>2
<span class="k">\end</span><span class="nb">{</span>equation<span class="nb">}</span>
</pre></div>
</div>
<p>will be numbered, while</p>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\begin</span><span class="nb">{</span>equation*<span class="nb">}</span>
   e<span class="nb">^{</span><span class="k">\pi</span> i<span class="nb">}</span> - 1 = 0
<span class="k">\end</span><span class="nb">{</span>equation*<span class="nb">}</span>
</pre></div>
</div>
<p>won&#8217;t be numbered (when <tt class="docutils literal"><span class="pre">autoNumber</span></tt> is <tt class="docutils literal"><span class="pre">&quot;AMS&quot;</span></tt>).</p>
<p>You can use <tt class="docutils literal"><span class="pre">\label</span></tt> to give an equation an identifier that you can
use to refer to it later, and then use <tt class="docutils literal"><span class="pre">\ref</span></tt> or <tt class="docutils literal"><span class="pre">\eqref</span></tt> within
your document to insert the actual equation number at that location,
as a reference. For example,</p>
<div class="highlight-latex"><div class="highlight"><pre>In equation <span class="k">\eqref</span><span class="nb">{</span>eq:sample<span class="nb">}</span>, we find the value of an
interesting integral:

<span class="k">\begin</span><span class="nb">{</span>equation<span class="nb">}</span>
  <span class="k">\int</span><span class="nb">_</span>0<span class="nb">^</span><span class="k">\infty</span> <span class="k">\frac</span><span class="nb">{</span>x<span class="nb">^</span>3<span class="nb">}{</span>e<span class="nb">^</span>x-1<span class="nb">}</span><span class="k">\,</span>dx = <span class="k">\frac</span><span class="nb">{</span><span class="k">\pi</span><span class="nb">^</span>4<span class="nb">}{</span>15<span class="nb">}</span>
  <span class="k">\label</span><span class="nb">{</span>eq:sample<span class="nb">}</span>
<span class="k">\end</span><span class="nb">{</span>equation<span class="nb">}</span>
</pre></div>
</div>
<p>includes a labeled equation and a reference to that equation.  Note
that references can come before the corresponding formula as well as
after them.  See the equation numbering links in the <a class="reference external" href="http://cdn.mathjax.org/mathjax/latest/test/examples.html">MathJax examples
page</a> for
more examples.</p>
<p>You can configure the way that numbers are displayed and how the
references to them are made using paramters in the <tt class="docutils literal"><span class="pre">equationNumbers</span></tt>
block of your <tt class="docutils literal"><span class="pre">TeX</span></tt> configuration.  See the <a class="reference internal" href="options/TeX.html#configure-tex"><em>TeX configuration
options</em></a> page for more details.</p>
</div>
<div class="section" id="tex-and-latex-extensions">
<span id="tex-extensions"></span><h2>TeX and LaTeX extensions<a class="headerlink" href="#tex-and-latex-extensions" title="Permalink to this headline">¶</a></h2>
<p>While MathJax includes nearly all of the Plain TeX math macros, and
many of the LaTeX macros and environments, not everything is
implemented in the core TeX input processor.  Some less-used commands
are defined in extensions to the TeX processor.  MathJax will load
some extensions automatically when you first use the commands they
implement (for example, the <tt class="docutils literal"><span class="pre">\def</span></tt> and <tt class="docutils literal"><span class="pre">\newcommand</span></tt> macros are
implemented in the <tt class="docutils literal"><span class="pre">newcommand.js</span></tt> extension, but MathJax loads
this extension itself when you use those macros).  Not all extensions
are set up to load automatically, however, so you may need to request
some extensions explicitly yourself.</p>
<p>To enable any of the TeX extensions, simply add the appropriate string
(e.g., <tt class="docutils literal"><span class="pre">&quot;AMSmath.js&quot;</span></tt>) to the <cite>extensions</cite> array in the <tt class="docutils literal"><span class="pre">TeX</span></tt> block
of your configuration.  If you use one of the combined configuration files,
like <tt class="docutils literal"><span class="pre">TeX-AMS_HTML</span></tt>, this will already include several of the extensions
automatically, but you can include others using a mathjax configuration
script prior to loading MathJax.  For example</p>
<div class="highlight-html"><div class="highlight"><pre><span class="nt">&lt;script </span><span class="na">type=</span><span class="s">&quot;text/x-mathjax-config&quot;</span><span class="nt">&gt;</span>
  <span class="nx">MathJax</span><span class="p">.</span><span class="nx">Hub</span><span class="p">.</span><span class="nx">Config</span><span class="p">({</span> <span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span> <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;autobold.js&quot;</span><span class="p">]</span> <span class="p">}});</span>
<span class="nt">&lt;/script&gt;</span>
<span class="nt">&lt;script </span><span class="na">type=</span><span class="s">&quot;text/javascript&quot;</span>
    <span class="na">src=</span><span class="s">&quot;http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML&quot;</span><span class="nt">&gt;</span>
<span class="nt">&lt;/script&gt;</span>
</pre></div>
</div>
<p>will load the <cite>autobold</cite> TeX extension in addition to those already
included in the <tt class="docutils literal"><span class="pre">TeX-AMS_HTML</span></tt> configuration file.</p>
<p>You can also load these extensions from within a math expresion using
the non-standard <tt class="docutils literal"><span class="pre">\require{extension}</span></tt> macro.  For example</p>
<div class="highlight-latex"><div class="highlight"><pre><span class="s">\(</span><span class="nv">\require</span><span class="nb">{color}</span><span class="s">\)</span>
</pre></div>
</div>
<p>would load the <cite>color</cite> extension into the page.  This way you you can
load extensions into pages that didn&#8217;t load them in their
configurations (and prevents you from having to load all the
extensions into all pages even if they aren&#8217;t used).</p>
<p>It is also possible to create a macro that will autoload an extension
when it is first used (under the assumption that the extension will
redefine it to perform its true function).  For example</p>
<div class="highlight-html"><div class="highlight"><pre><span class="nt">&lt;script </span><span class="na">type=</span><span class="s">&quot;text/x-mathjax-config&quot;</span><span class="nt">&gt;</span>
<span class="nx">MathJax</span><span class="p">.</span><span class="nx">Hub</span><span class="p">.</span><span class="nx">Register</span><span class="p">.</span><span class="nx">StartupHook</span><span class="p">(</span><span class="s2">&quot;TeX Jax Ready&quot;</span><span class="p">,</span><span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
  <span class="nx">MathJax</span><span class="p">.</span><span class="nx">Hub</span><span class="p">.</span><span class="nx">Insert</span><span class="p">(</span><span class="nx">MathJax</span><span class="p">.</span><span class="nx">InputJax</span><span class="p">.</span><span class="nx">TeX</span><span class="p">.</span><span class="nx">Definitions</span><span class="p">.</span><span class="nx">macros</span><span class="p">,{</span>
    <span class="nx">cancel</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;Extension&quot;</span><span class="p">,</span><span class="s2">&quot;cancel&quot;</span><span class="p">],</span>
    <span class="nx">bcancel</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;Extension&quot;</span><span class="p">,</span><span class="s2">&quot;cancel&quot;</span><span class="p">],</span>
    <span class="nx">xcancel</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;Extension&quot;</span><span class="p">,</span><span class="s2">&quot;cancel&quot;</span><span class="p">],</span>
    <span class="nx">cancelto</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;Extension&quot;</span><span class="p">,</span><span class="s2">&quot;cancel&quot;</span><span class="p">]</span>
  <span class="p">});</span>
<span class="p">});</span>
<span class="nt">&lt;/script&gt;</span>
</pre></div>
</div>
<p>would declare the <tt class="docutils literal"><span class="pre">\cancel</span></tt>, <tt class="docutils literal"><span class="pre">\bcancel</span></tt>, <tt class="docutils literal"><span class="pre">\xcancel</span></tt>, and
<tt class="docutils literal"><span class="pre">\cancelto</span></tt> macros to load the <cite>cancel</cite> extension (where they are
actually defined).  Whichever is used first will cause the extension
to be loaded, redefining all four to their proper values.  Note that
this may be better than loading the extension explicitly, since it
avoids loading the extra file on pages where these macros are <em>not</em>
used.  The <a class="reference external" href="http://cdn.mathjax.org/mathjax/latest/test/sample-autoload.html">sample autoloading macros</a>
example page shows this in action.  The <cite>autoload-all</cite> extension below
defines such macros for <em>all</em> the extensions so that if you include
it, MathJax will have access to all the macros it knows about.</p>
<p>The main extensions are described below.</p>
<div class="section" id="action">
<h3>Action<a class="headerlink" href="#action" title="Permalink to this headline">¶</a></h3>
<p>The <cite>action</cite> extension gives you access to the MathML <tt class="docutils literal"><span class="pre">&lt;maction&gt;</span></tt>
element.  It defines three new non-standard macros:</p>
<dl class="describe">
<dt>
<tt class="descname">\mathtip{math}{tip}</tt></dt>
<dd><p>Use <tt class="docutils literal"><span class="pre">tip</span></tt> (in math mode) as tooltip for <tt class="docutils literal"><span class="pre">math</span></tt>.</p>
</dd></dl>

<dl class="describe">
<dt>
<tt class="descname">\texttip{math}{tip}</tt></dt>
<dd><p>Use <tt class="docutils literal"><span class="pre">tip</span></tt> (in text mode) as tooltip for <tt class="docutils literal"><span class="pre">math</span></tt>.</p>
</dd></dl>

<dl class="describe">
<dt>
<tt class="descname">\toggle{math1}{math2}...\endtoggle</tt></dt>
<dd><p>Show <tt class="docutils literal"><span class="pre">math1</span></tt>, and when clicked, show <tt class="docutils literal"><span class="pre">math2</span></tt>, and so on.
When the last one is clicked, go back to math1.</p>
</dd></dl>

<p>To use this extension in your own configurations, add it to the
<cite>extensions</cite> array in the TeX block.</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;action.js&quot;</span><span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
<p>This extension is <strong>not</strong> included in any of the combined configurations,
and will not be loaded automatically, so you must include it
explicitly in your configuration if you wish to use these commands.</p>
</div>
<div class="section" id="amsmath-and-amssymbols">
<h3>AMSmath and AMSsymbols<a class="headerlink" href="#amsmath-and-amssymbols" title="Permalink to this headline">¶</a></h3>
<p>The <cite>AMSmath</cite> extension implements AMS math environments and macros, and
the <cite>AMSsymbols</cite> extension implements macros for accessing the AMS symbol
fonts.  These are already included in the combined configuration files that
load the TeX input processor.  To use these extensions in your own
configurations, add them to the <cite>extensions</cite> array in the TeX block.</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;AMSmath.js&quot;</span><span class="p">,</span> <span class="s2">&quot;AMSsymbols.js&quot;</span><span class="p">,</span> <span class="p">...]</span>
<span class="p">}</span>
</pre></div>
</div>
<p>See the list of control sequences at the end of this document for details
about what commands are implemented in these extensions.</p>
<p>If you are not using one of the combined configuration files, the <cite>AMSmath</cite>
extension will be loaded automatically when you first use one of the math
environments it defines, but you will have to load it explicitly if you
want to use the other macros that it defines.  The <cite>AMSsymbols</cite> extension
is not loaded automatically, so you must include it explicitly if you want
to use the macros it defines.</p>
<p>Both extensions are included in all the combined configuration files
that load the TeX input processor.</p>
</div>
<div class="section" id="autobold">
<h3>Autobold<a class="headerlink" href="#autobold" title="Permalink to this headline">¶</a></h3>
<p>The <cite>autobold</cite> extension adds <tt class="docutils literal"><span class="pre">\boldsymbol{...}</span></tt> around mathematics that
appears in a section of an HTML page that is in bold.</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;autobold.js&quot;</span><span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
<p>This extension is <strong>not</strong> loaded by the combined configuration files.</p>
</div>
<div class="section" id="bbox">
<h3>BBox<a class="headerlink" href="#bbox" title="Permalink to this headline">¶</a></h3>
<p>The <cite>bbox</cite> extension defines a new macro for adding background colors,
borders, and padding to your math expressions.</p>
<dl class="describe">
<dt>
<tt class="descname">\bbox[options]{math}</tt></dt>
<dd><p>puts a bounding box around <tt class="docutils literal"><span class="pre">math</span></tt> using the provided <tt class="docutils literal"><span class="pre">options</span></tt>.
The options can be one of the following:</p>
<ol class="arabic simple">
<li>A color name used for the background color.</li>
<li>A dimension (e.g., <tt class="docutils literal"><span class="pre">2px</span></tt>) to be used as a padding around the
mathematics (on all sides).</li>
<li>Style attributes to be applied to the mathematics (e.g.,
<tt class="docutils literal"><span class="pre">border:1px</span> <span class="pre">solid</span> <span class="pre">red</span></tt>).</li>
<li>A combination of these separated by commas.</li>
</ol>
</dd></dl>

<p>Here are some examples:</p>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\bbox</span><span class="na">[red]</span><span class="nb">{</span>x+y<span class="nb">}</span>      <span class="c">% a red box behind x+y</span>
<span class="k">\bbox</span><span class="na">[2pt]</span><span class="nb">{</span>x+1<span class="nb">}</span>      <span class="c">% an invisible box around x+y with 2pt of extra space</span>
<span class="k">\bbox</span><span class="na">[red,2pt]</span><span class="nb">{</span>x+1<span class="nb">}</span>  <span class="c">% a red box around x+y with 2pt of extra space</span>
<span class="k">\bbox</span><span class="na">[5px,border:2px solid red]</span>
                     <span class="c">% a 2px red border around the math 5px away</span>
</pre></div>
</div>
<p>This extension is <strong>not</strong> included in any of the combined configurations,
but it will be loaded automatically, so you do not need to include it
in your <cite>extensions</cite> array.</p>
</div>
<div class="section" id="begingroup">
<h3>Begingroup<a class="headerlink" href="#begingroup" title="Permalink to this headline">¶</a></h3>
<p>The <cite>begingroup</cite> extension implements commands that provide a
mechanism for localizing macro defintions so that they are not
permanent.  This is useful if you have a blog site, for example, and
want to isolate changes that your readers make in their comments so
that they don&#8217;t affect later comments.</p>
<p>It defines two new non-standard macros, <tt class="docutils literal"><span class="pre">\begingroup</span></tt> and
<tt class="docutils literal"><span class="pre">\endgroup</span></tt>, that are used to start and stop a local namespace for
macros.  Any macros that are defined between the <tt class="docutils literal"><span class="pre">\begingroup</span></tt> and
<tt class="docutils literal"><span class="pre">\endgroup</span></tt> will be removed after the <tt class="docutils literal"><span class="pre">\endgroup</span></tt> is executed.
For example, if you put <tt class="docutils literal"><span class="pre">\(\begingroup\)</span></tt> at the top of each reader&#8217;s
comments and <tt class="docutils literal"><span class="pre">\(\endgroup\)</span></tt> at the end, then any macros they define
within their response will be removed after it is processed.</p>
<p>In addition to these two macros, the <cite>begingroup</cite> extension defines
the standard <tt class="docutils literal"><span class="pre">\global</span></tt> and <tt class="docutils literal"><span class="pre">\gdef</span></tt> control sequences from TeX.
(The <tt class="docutils literal"><span class="pre">\let</span></tt>, <tt class="docutils literal"><span class="pre">\def</span></tt>, <tt class="docutils literal"><span class="pre">\newcommand</span></tt>, and <tt class="docutils literal"><span class="pre">\newenvironment</span></tt>
control sequences are already defined in the core TeX input jax.)</p>
<p>To use this extension in your own configurations, add it to the
<cite>extensions</cite> array in the TeX block.</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;begingroup.js&quot;</span><span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
<p>This extension is <strong>not</strong> included in any of the combined configurations,
and will not be loaded automatically, so you must include it
explicitly in your configuration if you wish to use these commands.</p>
</div>
<div class="section" id="cancel">
<h3>Cancel<a class="headerlink" href="#cancel" title="Permalink to this headline">¶</a></h3>
<p>The <cite>cancel</cite> extension defines the following macros:</p>
<dl class="describe">
<dt>
<tt class="descname">\cancel{math}</tt></dt>
<dd><p>Strikeout <tt class="docutils literal"><span class="pre">math</span></tt> from lower left to upper right.</p>
</dd></dl>

<dl class="describe">
<dt>
<tt class="descname">\bcancel{math}</tt></dt>
<dd><p>Strikeout <tt class="docutils literal"><span class="pre">math</span></tt> from upper left to lower right.</p>
</dd></dl>

<dl class="describe">
<dt>
<tt class="descname">\xcancel{math}</tt></dt>
<dd><p>Strikeout <tt class="docutils literal"><span class="pre">math</span></tt> with an &#8220;X&#8221;.</p>
</dd></dl>

<dl class="describe">
<dt>
<tt class="descname">\cancelto{value}{math}</tt></dt>
<dd><p>Strikeout <tt class="docutils literal"><span class="pre">math</span></tt> with an arrow going to <tt class="docutils literal"><span class="pre">value</span></tt>.</p>
</dd></dl>

<p>To use this extension in your own configurations, add it to the
<cite>extensions</cite> array in the TeX block.</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;cancel.js&quot;</span><span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
<p>This extension is <strong>not</strong> included in any of the combined configurations,
and will not be loaded automatically, so you must include it
explicitly in your configuration if you wish to use these commands.</p>
</div>
<div class="section" id="color">
<h3>Color<a class="headerlink" href="#color" title="Permalink to this headline">¶</a></h3>
<p>The <tt class="docutils literal"><span class="pre">\color</span></tt> command in the core TeX input jax is not standard in
that it takes the mathematics to be colored as one of its parameters,
whereas the LaTeX <tt class="docutils literal"><span class="pre">\color</span></tt> command is a switch that changes the
color of everything that follows it.</p>
<p>The <cite>color</cite> extension changes the <tt class="docutils literal"><span class="pre">\color</span></tt> command to be compatible
with the LaTeX implementation, and also defines <tt class="docutils literal"><span class="pre">\colorbox</span></tt>,
<tt class="docutils literal"><span class="pre">\fcolorbox</span></tt>, and <tt class="docutils literal"><span class="pre">\DefineColor</span></tt>, as in the LaTeX color package.
It defines the standard set of colors (Apricot, Aquamarine,
Bittersweet, and so on), and provides the RGB and grey-scale color
spaces in addition to named colors.</p>
<p>To use this extension in your own configurations, add it to the
<cite>extensions</cite> array in the TeX block.</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;color.js&quot;</span><span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
<p>This extension is <strong>not</strong> included in any of the combined configurations,
and will not be loaded automatically, so you must include it
explicitly in your configuration if you wish to use these commands,
and have <tt class="docutils literal"><span class="pre">\color</span></tt> be compatible with LaTeX usage.</p>
</div>
<div class="section" id="enclose">
<h3>Enclose<a class="headerlink" href="#enclose" title="Permalink to this headline">¶</a></h3>
<p>The <cite>enclose</cite> extension gives you access to the MathML <tt class="docutils literal"><span class="pre">&lt;menclose&gt;</span></tt>
element for adding boxes, ovals, strikethroughs, and other marks over
your mathematics.  It defines the following non-standard macro:</p>
<dl class="describe">
<dt>
<tt class="descname">\enclose{notation}[attributes]{math}</tt></dt>
<dd><p>Where <tt class="docutils literal"><span class="pre">notation</span></tt> is a comma-separated list of MathML
<tt class="docutils literal"><span class="pre">&lt;menclose&gt;</span></tt> notations (e.g., <tt class="docutils literal"><span class="pre">circle</span></tt>, <tt class="docutils literal"><span class="pre">left</span></tt>,
<tt class="docutils literal"><span class="pre">updiagonalstrike</span></tt>, <tt class="docutils literal"><span class="pre">longdiv</span></tt>, etc.), <tt class="docutils literal"><span class="pre">attributes</span></tt> are
MathML attribute values allowed on the <tt class="docutils literal"><span class="pre">&lt;menclose&gt;</span></tt> element
(e.g., <tt class="docutils literal"><span class="pre">mathcolor=&quot;red&quot;</span></tt>, <tt class="docutils literal"><span class="pre">mathbackground=&quot;yellow&quot;</span></tt>), and
<tt class="docutils literal"><span class="pre">math</span></tt> is the mathematics to be enclosed.</p>
</dd></dl>

<p>For example</p>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\enclose</span><span class="nb">{</span>circle<span class="nb">}</span>[mathcolor=&quot;red&quot;]<span class="nb">{</span>x<span class="nb">}</span>
<span class="k">\enclose</span><span class="nb">{</span>circle<span class="nb">}</span>[mathcolor=&quot;red&quot;]<span class="nb">{</span><span class="k">\color</span><span class="nb">{</span>black<span class="nb">}{</span>x<span class="nb">}}</span>
<span class="k">\enclose</span><span class="nb">{</span>circle,box<span class="nb">}{</span>x<span class="nb">}</span>
<span class="k">\enclose</span><span class="nb">{</span>circle<span class="nb">}{</span><span class="k">\enclose</span><span class="nb">{</span>box<span class="nb">}{</span>x<span class="nb">}}</span>
</pre></div>
</div>
<p>To use this extension in your own configurations, add it to the
<cite>extensions</cite> array in the TeX block.</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;enclose.js&quot;</span><span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
<p>This extension is <strong>not</strong> included in any of the combined configurations,
and will not be loaded automatically, so you must include it
explicitly in your configuration if you wish to use these commands.</p>
</div>
<div class="section" id="extpfeil">
<h3>Extpfeil<a class="headerlink" href="#extpfeil" title="Permalink to this headline">¶</a></h3>
<p>The <cite>extpfeil</cite> extension adds more macros for producing extensible
arrows, including <tt class="docutils literal"><span class="pre">\xtwoheadrightarrow</span></tt>, <tt class="docutils literal"><span class="pre">\xtwoheadleftarrow</span></tt>,
<tt class="docutils literal"><span class="pre">\xmapsto</span></tt>, <tt class="docutils literal"><span class="pre">\xlongequal</span></tt>, <tt class="docutils literal"><span class="pre">\xtofrom</span></tt>, and a non-standard
<tt class="docutils literal"><span class="pre">\Newextarrow</span></tt> for creating your own extensible arrows.  The latter
has the form</p>
<dl class="describe">
<dt>
<tt class="descname">\Newextarrow{\cs}{lspace,rspace}{unicode-char}</tt></dt>
<dd><p>where <tt class="docutils literal"><span class="pre">\cs</span></tt> is the new control sequence name to be defined,
<tt class="docutils literal"><span class="pre">lspace</span></tt> and <tt class="docutils literal"><span class="pre">rspace</span></tt> are integers representing the amount of
space (in suitably small units) to use at the left and right of
text that is placed above or below the arrow, and <tt class="docutils literal"><span class="pre">unicode-char</span></tt>
is a number representing a unicode character position in either
decimal or hexadecimal notation.</p>
</dd></dl>

<p>For example</p>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\Newextarrow</span><span class="nb">{</span><span class="k">\xrightharpoonup</span><span class="nb">}{</span>5,10<span class="nb">}{</span>0x21C0<span class="nb">}</span>
</pre></div>
</div>
<p>defines an extensible right harpoon with barb up.  Note that MathJax
knows how to stretch only a limited number of characters, so you may
not actually get a stretchy character this way.</p>
<p>To use this extension in your own configurations, add it to the
<cite>extensions</cite> array in the TeX block.</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;extpfeil.js&quot;</span><span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
<p>This extension is <strong>not</strong> included in any of the combined configurations,
and will not be loaded automatically, so you must include it
explicitly in your configuration if you wish to use these commands.</p>
</div>
<div class="section" id="html">
<h3>HTML<a class="headerlink" href="#html" title="Permalink to this headline">¶</a></h3>
<p>The <cite>HTML</cite> extension gives you access to some HTML features like
styles, classes, element ID&#8217;s and clickable links.  It defines the
following non-standard macros:</p>
<dl class="describe">
<dt>
<tt class="descname">\href{url}{math}</tt></dt>
<dd><p>Makes <tt class="docutils literal"><span class="pre">math</span></tt> be a link to the page given by <tt class="docutils literal"><span class="pre">url</span></tt>.</p>
</dd></dl>

<dl class="describe">
<dt>
<tt class="descname">\class{name}{math}</tt></dt>
<dd><p>Attaches the CSS class <tt class="docutils literal"><span class="pre">name</span></tt> to the output associated with
<tt class="docutils literal"><span class="pre">math</span></tt> when it is included in the HTML page.  This allows your
CSS to style the element.</p>
</dd></dl>

<dl class="describe">
<dt>
<tt class="descname">\cssId{id}{math}</tt></dt>
<dd><p>Attaches an id attribute with value <tt class="docutils literal"><span class="pre">id</span></tt> to the output
associated with <tt class="docutils literal"><span class="pre">math</span></tt> when it is included in the HTML page.
This allows your CSS to style the element, or your javascript to
locate it on the page.</p>
</dd></dl>

<dl class="describe">
<dt>
<tt class="descname">\style{css}{math}</tt></dt>
<dd><p>Adds the give <tt class="docutils literal"><span class="pre">css</span></tt> declarations to the element associated with
<tt class="docutils literal"><span class="pre">math</span></tt>.</p>
</dd></dl>

<p>For example:</p>
<div class="highlight-latex"><div class="highlight"><pre>x <span class="k">\href</span><span class="nb">{</span>why-equal.html<span class="nb">}{</span>=<span class="nb">}</span> y<span class="nb">^</span>2 + 1

(x+1)<span class="nb">^</span>2 = <span class="k">\class</span><span class="nb">{</span>hidden<span class="nb">}{</span>(x+1)(x+1)<span class="nb">}</span>

(x+1)<span class="nb">^</span>2 = <span class="k">\cssId</span><span class="nb">{</span>step1<span class="nb">}{</span><span class="k">\style</span><span class="nb">{</span>visibility:hidden<span class="nb">}{</span>(x+1)(x+1)<span class="nb">}}</span>
</pre></div>
</div>
<p>This extension is <strong>not</strong> included in any of the combined configurations,
but it will be loaded automatically when any of these macros is used,
so you do not need to include it explicitly in your configuration.</p>
</div>
<div class="section" id="mhchem">
<h3>mhchem<a class="headerlink" href="#mhchem" title="Permalink to this headline">¶</a></h3>
<p>The <cite>mhchem</cite> extensions implements the <tt class="docutils literal"><span class="pre">\ce</span></tt>, <tt class="docutils literal"><span class="pre">\cf</span></tt>, and <tt class="docutils literal"><span class="pre">\cee</span></tt>
chemical equation macros of the LaTeX <cite>mhchem</cite> package.  See the
<a class="reference external" href="http://www.ctan.org/pkg/mhchem">mhchem CPAN page</a> for more
information and a link to the documentation for <cite>mhchem</cite>.</p>
<p>For example</p>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\ce</span><span class="nb">{</span>C6H5-CHO<span class="nb">}</span>
<span class="k">\ce</span><span class="nb">{</span><span class="s">$</span><span class="nb">A</span><span class="s">$</span> -&gt;[<span class="k">\ce</span><span class="nb">{</span>+H2O<span class="nb">}</span>] <span class="s">$</span><span class="nb">B</span><span class="s">$</span><span class="nb">}</span>
<span class="k">\ce</span><span class="nb">{</span>SO4<span class="nb">^</span>2- + Ba<span class="nb">^</span>2+ -&gt; BaSO4 v<span class="nb">}</span>
</pre></div>
</div>
<p>To use this extension in your own configurations, add it to the
<cite>extensions</cite> array in the TeX block.</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;mhchem.js&quot;</span><span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
<p>This extension is <strong>not</strong> included in any of the combined configurations,
and will not be loaded automatically, so you must include it
explicitly in your configuration if you wish to use these commands.</p>
</div>
<div class="section" id="noerrors">
<h3>noErrors<a class="headerlink" href="#noerrors" title="Permalink to this headline">¶</a></h3>
<p>The <cite>noErrors</cite> extension prevents TeX error messages from being
displayed and shows the original TeX code instead.  You can configure
whether the dollar signs are shown or not for in-line math, and
whether to put all the TeX on one line or use multiple lines (if the
original text contained line breaks).</p>
<p>This extension is loaded by all the combined configuration files that
include the TeX input processor.  To enable the <cite>noErrors</cite> extension in
your own configuration, or to modify its parameters, add something like the
following to your <tt class="xref py py-meth docutils literal"><span class="pre">MathJax.Hub.Config()</span></tt> call:</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;noErrors.js&quot;</span><span class="p">],</span>
  <span class="nx">noErrors</span><span class="o">:</span> <span class="p">{</span>
    <span class="nx">inlineDelimiters</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;&quot;</span><span class="p">,</span><span class="s2">&quot;&quot;</span><span class="p">],</span>   <span class="c1">// or [&quot;$&quot;,&quot;$&quot;] or [&quot;\\(&quot;,&quot;\\)&quot;]</span>
    <span class="nx">multiLine</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>             <span class="c1">// false for TeX on all one line</span>
    <span class="nx">style</span><span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;font-size&quot;</span><span class="o">:</span>   <span class="s2">&quot;90%&quot;</span><span class="p">,</span>
      <span class="s2">&quot;text-align&quot;</span><span class="o">:</span>  <span class="s2">&quot;left&quot;</span><span class="p">,</span>
      <span class="s2">&quot;color&quot;</span><span class="o">:</span>       <span class="s2">&quot;black&quot;</span><span class="p">,</span>
      <span class="s2">&quot;padding&quot;</span><span class="o">:</span>     <span class="s2">&quot;1px 3px&quot;</span><span class="p">,</span>
      <span class="s2">&quot;border&quot;</span><span class="o">:</span>      <span class="s2">&quot;1px solid&quot;</span>
      <span class="c1">// add any additional CSS styles that you want</span>
      <span class="c1">//  (be sure there is no extra comma at the end of the last item)</span>
    <span class="p">}</span>
  <span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
<p>Display-style math is always shown in multi-line format, and without
delimiters, as it will already be set off in its own centered
paragraph, like standard display mathematics.</p>
<p>The default settings place the invalid TeX in a multi-line box with a
black border. If you want it to look as though the TeX is just part of
the paragraph, use</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">noErrors</span><span class="o">:</span> <span class="p">{</span>
    <span class="nx">inlineDelimiters</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;$&quot;</span><span class="p">,</span><span class="s2">&quot;$&quot;</span><span class="p">],</span>   <span class="c1">// or [&quot;&quot;,&quot;&quot;] or [&quot;\\(&quot;,&quot;\\)&quot;]</span>
    <span class="nx">multiLine</span><span class="o">:</span> <span class="kc">false</span><span class="p">,</span>
    <span class="nx">style</span><span class="o">:</span> <span class="p">{</span>
      <span class="s2">&quot;font-size&quot;</span><span class="o">:</span> <span class="s2">&quot;normal&quot;</span><span class="p">,</span>
      <span class="s2">&quot;border&quot;</span><span class="o">:</span> <span class="s2">&quot;&quot;</span>
    <span class="p">}</span>
  <span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
<p>You may also wish to set the font family or other CSS values here.</p>
<p>If you are using a combined configuration file that loads the TeX
input processor, it will also load the <cite>noErrors</cite> extension
automatically.  If you want to disable the <cite>noErrors</cite> extension so
that you receive the normal TeX error messages, use the following
configuration:</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span> <span class="nx">noErrors</span><span class="o">:</span> <span class="p">{</span> <span class="nx">disabled</span><span class="o">:</span> <span class="kc">true</span> <span class="p">}</span> <span class="p">}</span>
</pre></div>
</div>
<p>Any math that includes errors will be replaced by an error message
indicating what went wrong.</p>
</div>
<div class="section" id="noundefined">
<h3>noUndefined<a class="headerlink" href="#noundefined" title="Permalink to this headline">¶</a></h3>
<p>The <cite>noUndefined</cite> extension causes undefined control sequences to be
shown as their macro names rather than generating error messages. So
<tt class="docutils literal"><span class="pre">$X_{\xxx}$</span></tt> would display as an &#8220;X&#8221; with a subscript consisting of the
text <tt class="docutils literal"><span class="pre">\xxx</span></tt> in red.</p>
<p>This extension is loaded by all the combined configuration files that
include the TeX input processor.  To enable the <cite>noUndefined</cite> extension
in your own configuration, or to modify its parameters, add something like
the following to your <tt class="xref py py-meth docutils literal"><span class="pre">MathJax.Hub.Config()</span></tt> call:</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;noUndefined.js&quot;</span><span class="p">],</span>
  <span class="nx">noUndefined</span><span class="o">:</span> <span class="p">{</span>
    <span class="nx">attributes</span><span class="o">:</span> <span class="p">{</span>
      <span class="nx">mathcolor</span><span class="o">:</span> <span class="s2">&quot;red&quot;</span><span class="p">,</span>
      <span class="nx">mathbackground</span><span class="o">:</span> <span class="s2">&quot;#FFEEEE&quot;</span><span class="p">,</span>
      <span class="nx">mathsize</span><span class="o">:</span> <span class="s2">&quot;90%&quot;</span>
    <span class="p">}</span>
  <span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
<p>The <tt class="docutils literal"><span class="pre">attributes</span></tt> setting specifies attributes to apply to the
<tt class="docutils literal"><span class="pre">mtext</span></tt> element that encodes the name of the undefined macro.  The
default values set <tt class="docutils literal"><span class="pre">mathcolor</span></tt> to <tt class="docutils literal"><span class="pre">&quot;red&quot;</span></tt>, but do not set any
other attributes.  This example sets the background to a light pink,
and reduces the font size slightly.</p>
<p>If you are using a combined configuration file that loads the TeX
input processor, it will also load the <cite>noUndefined</cite> extension
automatically.  If you want to disable the <cite>noUndefined</cite> extension so
that you receive the normal TeX error messages for undefined macros,
use the following configuration:</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span> <span class="nx">noUndefined</span><span class="o">:</span> <span class="p">{</span> <span class="nx">disabled</span><span class="o">:</span> <span class="kc">true</span> <span class="p">}</span> <span class="p">}</span>
</pre></div>
</div>
<p>Any math that includes an undefined control sequence name will be
replaced by an error message indicating what name was undefined.</p>
</div>
<div class="section" id="unicode-support">
<h3>Unicode support<a class="headerlink" href="#unicode-support" title="Permalink to this headline">¶</a></h3>
<p>The <cite>unicode</cite> extension implements a <tt class="docutils literal"><span class="pre">\unicode{}</span></tt> extension to TeX
that allows arbitrary unicode code points to be entered in your
mathematics.  You can specify the height and depth of the character
(the width is determined by the browser), and the default font from
which to take the character.</p>
<p>Examples:</p>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\unicode</span><span class="nb">{</span>65<span class="nb">}</span>                        <span class="c">% the character &#39;A&#39;</span>
<span class="k">\unicode</span><span class="nb">{</span>x41<span class="nb">}</span>                       <span class="c">% the character &#39;A&#39;</span>
<span class="k">\unicode</span><span class="na">[.55,0.05]</span><span class="nb">{</span>x22D6<span class="nb">}</span>           <span class="c">% less-than with dot, with height .55em and depth 0.05em</span>
<span class="k">\unicode</span><span class="na">[.55,0.05][Geramond]</span><span class="nb">{</span>x22D6<span class="nb">}</span> <span class="c">% same taken from Geramond font</span>
<span class="k">\unicode</span><span class="na">[Garamond]</span><span class="nb">{</span>x22D6<span class="nb">}</span>           <span class="c">% same, but with default height, depth of .8em,.2em</span>
</pre></div>
</div>
<p>Once a size and font are provided for a given unicode point, they need
not be specified again in subsequent <tt class="docutils literal"><span class="pre">\unicode{}</span></tt> calls for that
character.</p>
<p>The result of <tt class="docutils literal"><span class="pre">\unicode{...}</span></tt> will have TeX class <cite>ORD</cite> (i.e., it
will act like a variable).  Use <tt class="docutils literal"><span class="pre">\mathbin{...}</span></tt>, <tt class="docutils literal"><span class="pre">\mathrel{...}</span></tt>,
etc., to specify a different class.</p>
<p>Note that a font list can be given in the <tt class="docutils literal"><span class="pre">\unicode{}</span></tt> macro, but
Internet Explorer has a buggy implementation of the <tt class="docutils literal"><span class="pre">font-family</span></tt>
CSS attribute where it only looks in the first font in the list that
is actually installed on the system, and if the required glyph is not
in that font, it does not look at later fonts, but goes directly to
the default font as set in the <cite>Internet-Options/Font</cite> panel.  For
this reason, the default font list for the <tt class="docutils literal"><span class="pre">\unicode{}</span></tt> macro is
<tt class="docutils literal"><span class="pre">STIXGeneral,</span> <span class="pre">'Arial</span> <span class="pre">Unicode</span> <span class="pre">MS'</span></tt>, so if the user has <a class="reference internal" href="glossary.html#term-stix"><em class="xref std std-term">STIX</em></a>
fonts, the symbol will be taken from that (almost all the symbols are
in <cite>STIXGeneral</cite>), otherwise MathJax tries <cite>Arial Unicode MS</cite>.</p>
<p>The <cite>unicode</cite> extension is loaded automatically when you first use the
<tt class="docutils literal"><span class="pre">\unicode{}</span></tt> macro, so you do not need to add it to the <cite>extensions</cite>
array.  You can configure the extension as follows:</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">unicode</span><span class="o">:</span> <span class="p">{</span>
    <span class="nx">fonts</span><span class="o">:</span> <span class="s2">&quot;STIXGeneral, &#39;Arial Unicode MS&#39;&quot;</span>
  <span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
</div>
<div class="section" id="autoload-all">
<h3>Autoload-all<a class="headerlink" href="#autoload-all" title="Permalink to this headline">¶</a></h3>
<p>The <cite>autoload-all</cite> extension predefines all the macros from the
extensions above so that they autoload the extensions when first
used.  A number of macros already do this, e.g., <tt class="docutils literal"><span class="pre">\unicode</span></tt>, but
this extension defines the others to do the same.  That way MathJax
will have access to all the macros that it knows about.</p>
<p>To use this extension in your own configurations, add it to the
<cite>extensions</cite> array in the TeX block.</p>
<div class="highlight-javascript"><div class="highlight"><pre><span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span>
  <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;autoload-all.js&quot;</span><span class="p">]</span>
<span class="p">}</span>
</pre></div>
</div>
<p>This extension is <strong>not</strong> included in any of the combined configurations,
and will not be loaded automatically, so you must include it
explicitly in your configuration if you wish to use these commands.</p>
<p>Note that <cite>autoload-all</cite> redefines <tt class="docutils literal"><span class="pre">\color</span></tt> to be the one from the
<cite>color</cite> extension (the LaTeX-compatible one rather than the
non-standard MathJax version).  This is because <tt class="docutils literal"><span class="pre">\colorbox</span></tt> and
<tt class="docutils literal"><span class="pre">\fcolorbox</span></tt> autoload the <cite>color</cite> extension, which will cause
<tt class="docutils literal"><span class="pre">\color</span></tt> to be redefined, and so for consistency, <tt class="docutils literal"><span class="pre">\color</span></tt> is
redefined immediately.</p>
<p>If you wish to retain the original definition of <tt class="docutils literal"><span class="pre">\color</span></tt>, then use
the following</p>
<div class="highlight-html"><div class="highlight"><pre><span class="nt">&lt;script </span><span class="na">type=</span><span class="s">&quot;text/x-mathjax-config&quot;</span><span class="nt">&gt;</span>
<span class="nx">MathJax</span><span class="p">.</span><span class="nx">Hub</span><span class="p">.</span><span class="nx">Config</span><span class="p">({</span>
  <span class="nx">TeX</span><span class="o">:</span> <span class="p">{</span> <span class="nx">extensions</span><span class="o">:</span> <span class="p">[</span><span class="s2">&quot;autoload-all.js&quot;</span><span class="p">]</span> <span class="p">}</span>
<span class="p">});</span>
<span class="nx">MathJax</span><span class="p">.</span><span class="nx">Hub</span><span class="p">.</span><span class="nx">Register</span><span class="p">.</span><span class="nx">StartupHook</span><span class="p">(</span><span class="s2">&quot;TeX autoload-all Ready&quot;</span><span class="p">,</span> <span class="kd">function</span> <span class="p">()</span> <span class="p">{</span>
  <span class="kd">var</span> <span class="nx">MACROS</span> <span class="o">=</span> <span class="nx">MathJax</span><span class="p">.</span><span class="nx">InputJax</span><span class="p">.</span><span class="nx">TeX</span><span class="p">.</span><span class="nx">Definitions</span><span class="p">.</span><span class="nx">macros</span><span class="p">;</span>
  <span class="nx">MACROS</span><span class="p">.</span><span class="nx">color</span> <span class="o">=</span> <span class="s2">&quot;Color&quot;</span><span class="p">;</span>
  <span class="k">delete</span> <span class="nx">MACROS</span><span class="p">.</span><span class="nx">colorbox</span><span class="p">;</span>
  <span class="k">delete</span> <span class="nx">MACROS</span><span class="p">.</span><span class="nx">fcolorbox</span><span class="p">;</span>
<span class="p">});</span>
<span class="nt">&lt;/script&gt;</span>
</pre></div>
</div>
</div>
</div>
<div class="section" id="supported-latex-commands">
<span id="tex-commands"></span><h2>Supported LaTeX commands<a class="headerlink" href="#supported-latex-commands" title="Permalink to this headline">¶</a></h2>
<p>This is a long list of the TeX macros supported by MathJax.  If the
macro is defined in an extension, the name of the extension follows
the macro name.  If the extension is in brackets, the extension will
be loaded automatically when the macro or environment is first used.</p>
<p>More complete details about how to use these macros, with examples and
explanations, is available at Carol Fisher&#8217;s <a class="reference external" href="http://www.onemathematicalcat.org/MathJaxDocumentation/TeXSyntax.htm">TeX Commands Available
in MathJax</a> page.</p>
<div class="section" id="symbols">
<h3>Symbols<a class="headerlink" href="#symbols" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre>#
<span class="c">%</span>
<span class="nb">&amp;</span>
<span class="nb">^</span>
<span class="nb">_</span>
<span class="nb">{</span>
<span class="nb">}</span>
~
&#39;

<span class="k">\ </span>  (backslash-space)
<span class="k">\!</span>
<span class="k">\#</span>
<span class="k">\$</span>
<span class="k">\%</span>
<span class="k">\&amp;</span>
<span class="k">\,</span>
<span class="k">\:</span>
<span class="k">\;</span>
<span class="k">\&gt;</span>
<span class="k">\\</span>
<span class="k">\_</span>
<span class="k">\{</span>
<span class="k">\|</span>
<span class="k">\}</span>
</pre></div>
</div>
</div>
<div class="section" id="a">
<h3>A<a class="headerlink" href="#a" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\above</span>
<span class="k">\abovewithdelims</span>
<span class="k">\acute</span>
<span class="k">\aleph</span>
<span class="k">\alpha</span>
<span class="k">\amalg</span>
<span class="k">\And</span>
<span class="k">\angle</span>
<span class="k">\approx</span>
<span class="k">\approxeq</span>               AMSsymbols
<span class="k">\arccos</span>
<span class="k">\arcsin</span>
<span class="k">\arctan</span>
<span class="k">\arg</span>
<span class="k">\array</span>
<span class="k">\Arrowvert</span>
<span class="k">\arrowvert</span>
<span class="k">\ast</span>
<span class="k">\asymp</span>
<span class="k">\atop</span>
<span class="k">\atopwithdelims</span>
</pre></div>
</div>
</div>
<div class="section" id="b">
<h3>B<a class="headerlink" href="#b" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\backepsilon</span>            AMSsymbols
<span class="k">\backprime</span>              AMSsymbols
<span class="k">\backsim</span>                AMSsymbols
<span class="k">\backsimeq</span>              AMSsymbols
<span class="k">\backslash</span>
<span class="k">\backslash</span>
<span class="k">\bar</span>
<span class="k">\barwedge</span>               AMSsymbols
<span class="k">\Bbb</span>
<span class="k">\Bbbk</span>                   AMSsymbols
<span class="k">\bbox</span>                  [bbox]
<span class="k">\bcancel</span>                cancel
<span class="k">\because</span>                AMSsymbols
<span class="k">\begin</span>
<span class="k">\begingroup</span>             begingroup      non-standard
<span class="k">\beta</span>
<span class="k">\beth</span>                   AMSsymbols
<span class="k">\between</span>                AMSsymbols
<span class="k">\bf</span>
<span class="k">\Big</span>
<span class="k">\big</span>
<span class="k">\bigcap</span>
<span class="k">\bigcirc</span>
<span class="k">\bigcup</span>
<span class="k">\Bigg</span>
<span class="k">\bigg</span>
<span class="k">\Biggl</span>
<span class="k">\biggl</span>
<span class="k">\Biggm</span>
<span class="k">\biggm</span>
<span class="k">\Biggr</span>
<span class="k">\biggr</span>
<span class="k">\Bigl</span>
<span class="k">\bigl</span>
<span class="k">\Bigm</span>
<span class="k">\bigm</span>
<span class="k">\bigodot</span>
<span class="k">\bigoplus</span>
<span class="k">\bigotimes</span>
<span class="k">\Bigr</span>
<span class="k">\bigr</span>
<span class="k">\bigsqcup</span>
<span class="k">\bigstar</span>                AMSsymbols
<span class="k">\bigtriangledown</span>
<span class="k">\bigtriangleup</span>
<span class="k">\biguplus</span>
<span class="k">\bigvee</span>
<span class="k">\bigwedge</span>
<span class="k">\binom</span>                  AMSmath
<span class="k">\blacklozenge</span>           AMSsymbols
<span class="k">\blacksquare</span>            AMSsymbols
<span class="k">\blacktriangle</span>          AMSsymbols
<span class="k">\blacktriangledown</span>      AMSsymbols
<span class="k">\blacktriangleleft</span>      AMSsymbols
<span class="k">\blacktriangleright</span>     AMSsymbols
<span class="k">\bmod</span>
<span class="k">\boldsymbol</span>            [boldsymbol]
<span class="k">\bot</span>
<span class="k">\bowtie</span>
<span class="k">\Box</span>                    AMSsymbols
<span class="k">\boxdot</span>                 AMSsymbols
<span class="k">\boxed</span>                  AMSmath
<span class="k">\boxminus</span>               AMSsymbols
<span class="k">\boxplus</span>                AMSsymbols
<span class="k">\boxtimes</span>               AMSsymbols
<span class="k">\brace</span>
<span class="k">\bracevert</span>
<span class="k">\brack</span>
<span class="k">\breve</span>
<span class="k">\buildrel</span>
<span class="k">\bullet</span>
<span class="k">\Bumpeq</span>                 AMSsymbols
<span class="k">\bumpeq</span>                 AMSsymbols
</pre></div>
</div>
</div>
<div class="section" id="c">
<h3>C<a class="headerlink" href="#c" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\cal</span>
<span class="k">\cancel</span>                 cancel
<span class="k">\cancelto</span>               cancel
<span class="k">\cap</span>
<span class="k">\Cap</span>                    AMSsymbols
<span class="k">\cases</span>
<span class="k">\cdot</span>
<span class="k">\cdotp</span>
<span class="k">\cdots</span>
<span class="k">\ce</span>                     mhchem
<span class="k">\cee</span>                    mhchem
<span class="k">\centerdot</span>              AMSsymbols
<span class="k">\cf</span>                     mhchem
<span class="k">\cfrac</span>                  AMSmath
<span class="k">\check</span>
<span class="k">\checkmark</span>              AMSsymbols
<span class="k">\chi</span>
<span class="k">\choose</span>
<span class="k">\circ</span>
<span class="k">\circeq</span>                 AMSsymbols
<span class="k">\circlearrowleft</span>        AMSsymbols
<span class="k">\circlearrowright</span>       AMSsymbols
<span class="k">\circledast</span>             AMSsymbols
<span class="k">\circledcirc</span>            AMSsymbols
<span class="k">\circleddash</span>            AMSsymbols
<span class="k">\circledR</span>               AMSsymbols
<span class="k">\circledS</span>               AMSsymbols
<span class="k">\class</span>                 [HTML]           non-standard
<span class="k">\clubsuit</span>
<span class="k">\colon</span>
<span class="k">\color</span>                  color
<span class="k">\colorbox</span>               color
<span class="k">\complement</span>             AMSsymbols
<span class="k">\cong</span>
<span class="k">\coprod</span>
<span class="k">\cos</span>
<span class="k">\cosh</span>
<span class="k">\cot</span>
<span class="k">\coth</span>
<span class="k">\cr</span>
<span class="k">\csc</span>
<span class="k">\cssId</span>                 [HTML]           non-standard
<span class="k">\cup</span>
<span class="k">\Cup</span>                    AMSsymbols
<span class="k">\curlyeqprec</span>            AMSsymbols
<span class="k">\curlyeqsucc</span>            AMSsymbols
<span class="k">\curlyvee</span>               AMSsymbols
<span class="k">\curlywedge</span>             AMSsymbols
<span class="k">\curvearrowleft</span>         AMSsymbols
<span class="k">\curvearrowright</span>        AMSsymbols
</pre></div>
</div>
</div>
<div class="section" id="d">
<h3>D<a class="headerlink" href="#d" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\dagger</span>
<span class="k">\daleth</span>                 AMSsymbols
<span class="k">\dashleftarrow</span>          AMSsymbols
<span class="k">\dashrightarrow</span>         AMSsymbols
<span class="k">\dashv</span>
<span class="k">\dbinom</span>                 AMSmath
<span class="k">\ddagger</span>
<span class="k">\ddddot</span>                 AMSmath
<span class="k">\dddot</span>                  AMSmath
<span class="k">\ddot</span>
<span class="k">\ddots</span>
<span class="k">\DeclareMathOperator</span>    AMSmath
<span class="k">\DefineColor</span>            color
<span class="k">\def</span>                   [newcommand]
<span class="k">\deg</span>
<span class="k">\Delta</span>
<span class="k">\delta</span>
<span class="k">\det</span>
<span class="k">\dfrac</span>                  AMSmath
<span class="k">\diagdown</span>               AMSsymbols
<span class="k">\diagup</span>                 AMSsymbols
<span class="k">\diamond</span>
<span class="k">\Diamond</span>                AMSsymbols
<span class="k">\diamondsuit</span>
<span class="k">\digamma</span>                AMSsymbols
<span class="k">\dim</span>
<span class="k">\displaylines</span>
<span class="k">\displaystyle</span>
<span class="k">\div</span>
<span class="k">\divideontimes</span>          AMSsymbols
<span class="k">\dot</span>
<span class="k">\doteq</span>
<span class="k">\Doteq</span>                  AMSsymbols
<span class="k">\doteqdot</span>               AMSsymbols
<span class="k">\dotplus</span>                AMSsymbols
<span class="k">\dots</span>
<span class="k">\dotsb</span>
<span class="k">\dotsc</span>
<span class="k">\dotsi</span>
<span class="k">\dotsm</span>
<span class="k">\dotso</span>
<span class="k">\doublebarwedge</span>         AMSsymbols
<span class="k">\doublecap</span>              AMSsymbols
<span class="k">\doublecup</span>              AMSsymbols
<span class="k">\Downarrow</span>
<span class="k">\downarrow</span>
<span class="k">\downdownarrows</span>         AMSsymbols
<span class="k">\downharpoonleft</span>        AMSsymbols
<span class="k">\downharpoonright</span>       AMSsymbols
</pre></div>
</div>
</div>
<div class="section" id="e">
<h3>E<a class="headerlink" href="#e" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\ell</span>
<span class="k">\emptyset</span>
<span class="k">\enclose</span>                enclose         non-standard
<span class="k">\end</span>
<span class="k">\endgroup</span>               begingroup      non-standard
<span class="k">\enspace</span>
<span class="k">\epsilon</span>
<span class="k">\eqalign</span>
<span class="k">\eqalignno</span>
<span class="k">\eqcirc</span>                 AMSsymbols
<span class="k">\eqref</span>                 [AMSmath]
<span class="k">\eqsim</span>                  AMSsymbols
<span class="k">\eqslantgtr</span>             AMSsymbols
<span class="k">\eqslantless</span>            AMSsymbols
<span class="k">\equiv</span>
<span class="k">\eta</span>
<span class="k">\eth</span>                    AMSsymbols
<span class="k">\exists</span>
<span class="k">\exp</span>
</pre></div>
</div>
</div>
<div class="section" id="f">
<h3>F<a class="headerlink" href="#f" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\fallingdotseq</span>          AMSsymbols
<span class="k">\fbox</span>
<span class="k">\fcolorbox</span>              color
<span class="k">\Finv</span>                   AMSsymbols
<span class="k">\flat</span>
<span class="k">\forall</span>
<span class="k">\frac</span>
<span class="k">\frac</span>                   AMSmath
<span class="k">\frak</span>
<span class="k">\frown</span>
</pre></div>
</div>
</div>
<div class="section" id="g">
<h3>G<a class="headerlink" href="#g" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\Game</span>                   AMSsymbols
<span class="k">\Gamma</span>
<span class="k">\gamma</span>
<span class="k">\gcd</span>
<span class="k">\gdef</span>                   begingroup
<span class="k">\ge</span>
<span class="k">\genfrac</span>                AMSmath
<span class="k">\geq</span>
<span class="k">\geqq</span>                   AMSsymbols
<span class="k">\geqslant</span>               AMSsymbols
<span class="k">\gets</span>
<span class="k">\gg</span>
<span class="k">\ggg</span>                    AMSsymbols
<span class="k">\gggtr</span>                  AMSsymbols
<span class="k">\gimel</span>                  AMSsymbols
<span class="k">\global</span>                 begingroup
<span class="k">\gnapprox</span>               AMSsymbols
<span class="k">\gneq</span>                   AMSsymbols
<span class="k">\gneqq</span>                  AMSsymbols
<span class="k">\gnsim</span>                  AMSsymbols
<span class="k">\grave</span>
<span class="k">\gt</span>
<span class="k">\gt</span>
<span class="k">\gtrapprox</span>              AMSsymbols
<span class="k">\gtrdot</span>                 AMSsymbols
<span class="k">\gtreqless</span>              AMSsymbols
<span class="k">\gtreqqless</span>             AMSsymbols
<span class="k">\gtrless</span>                AMSsymbols
<span class="k">\gtrsim</span>                 AMSsymbols
<span class="k">\gvertneqq</span>              AMSsymbols
</pre></div>
</div>
</div>
<div class="section" id="h">
<h3>H<a class="headerlink" href="#h" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\hat</span>
<span class="k">\hbar</span>
<span class="k">\hbox</span>
<span class="k">\hdashline</span>
<span class="k">\heartsuit</span>
<span class="k">\hline</span>
<span class="k">\hom</span>
<span class="k">\hookleftarrow</span>
<span class="k">\hookrightarrow</span>
<span class="k">\hphantom</span>
<span class="k">\href</span>                  [HTML]
<span class="k">\hskip</span>
<span class="k">\hslash</span>                 AMSsymbols
<span class="k">\hspace</span>
<span class="k">\Huge</span>
<span class="k">\huge</span>
<span class="k">\idotsint</span>               AMSmath
</pre></div>
</div>
</div>
<div class="section" id="i">
<h3>I<a class="headerlink" href="#i" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\iff</span>
<span class="k">\iiiint</span>                 AMSmath
<span class="k">\iiint</span>
<span class="k">\iint</span>
<span class="k">\Im</span>
<span class="k">\imath</span>
<span class="k">\impliedby</span>              AMSsymbols
<span class="k">\implies</span>                AMSsymbols
<span class="k">\in</span>
<span class="k">\inf</span>
<span class="k">\infty</span>
<span class="k">\injlim</span>                 AMSmath
<span class="k">\int</span>
<span class="k">\intercal</span>               AMSsymbols
<span class="k">\intop</span>
<span class="k">\iota</span>
<span class="k">\it</span>
</pre></div>
</div>
</div>
<div class="section" id="j">
<h3>J<a class="headerlink" href="#j" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\jmath</span>
<span class="k">\Join</span>                   AMSsymbols
</pre></div>
</div>
</div>
<div class="section" id="k">
<h3>K<a class="headerlink" href="#k" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\kappa</span>
<span class="k">\ker</span>
<span class="k">\kern</span>
</pre></div>
</div>
</div>
<div class="section" id="l">
<h3>L<a class="headerlink" href="#l" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\label</span>                 [AMSmath]
<span class="k">\Lambda</span>
<span class="k">\lambda</span>
<span class="k">\land</span>
<span class="k">\langle</span>
<span class="k">\LARGE</span>
<span class="k">\Large</span>
<span class="k">\large</span>
<span class="k">\LaTeX</span>
<span class="k">\lbrace</span>
<span class="k">\lbrack</span>
<span class="k">\lceil</span>
<span class="k">\ldotp</span>
<span class="k">\ldots</span>
<span class="k">\le</span>
<span class="k">\leadsto</span>                AMSsymbols
<span class="k">\left</span>
<span class="k">\Leftarrow</span>
<span class="k">\leftarrow</span>
<span class="k">\leftarrowtail</span>          AMSsymbols
<span class="k">\leftharpoondown</span>
<span class="k">\leftharpoonup</span>
<span class="k">\leftleftarrows</span>         AMSsymbols
<span class="k">\Leftrightarrow</span>
<span class="k">\leftrightarrow</span>
<span class="k">\leftrightarrows</span>        AMSsymbols
<span class="k">\leftrightharpoons</span>      AMSsymbols
<span class="k">\leftrightsquigarrow</span>    AMSsymbols
<span class="k">\leftroot</span>
<span class="k">\leftthreetimes</span>         AMSsymbols
<span class="k">\leq</span>
<span class="k">\leqalignno</span>
<span class="k">\leqq</span>                   AMSsymbols
<span class="k">\leqslant</span>               AMSsymbols
<span class="k">\lessapprox</span>             AMSsymbols
<span class="k">\lessdot</span>                AMSsymbols
<span class="k">\lesseqgtr</span>              AMSsymbols
<span class="k">\lesseqqgtr</span>             AMSsymbols
<span class="k">\lessgtr</span>                AMSsymbols
<span class="k">\lesssim</span>                AMSsymbols
<span class="k">\let</span>                   [newcommand]
<span class="k">\lfloor</span>
<span class="k">\lg</span>
<span class="k">\lgroup</span>
<span class="k">\lhd</span>                    AMSsymbols
<span class="k">\lim</span>
<span class="k">\liminf</span>
<span class="k">\limits</span>
<span class="k">\limsup</span>
<span class="k">\ll</span>
<span class="k">\llap</span>
<span class="k">\llcorner</span>               AMSsymbols
<span class="k">\Lleftarrow</span>             AMSsymbols
<span class="k">\lll</span>                    AMSsymbols
<span class="k">\llless</span>                 AMSsymbols
<span class="k">\lmoustache</span>
<span class="k">\ln</span>
<span class="k">\lnapprox</span>               AMSsymbols
<span class="k">\lneq</span>                   AMSsymbols
<span class="k">\lneqq</span>                  AMSsymbols
<span class="k">\lnot</span>
<span class="k">\lnsim</span>                  AMSsymbols
<span class="k">\log</span>
<span class="k">\Longleftarrow</span>
<span class="k">\longleftarrow</span>
<span class="k">\Longleftrightarrow</span>
<span class="k">\longleftrightarrow</span>
<span class="k">\longmapsto</span>
<span class="k">\Longrightarrow</span>
<span class="k">\longrightarrow</span>
<span class="k">\looparrowleft</span>          AMSsymbols
<span class="k">\looparrowright</span>         AMSsymbols
<span class="k">\lor</span>
<span class="k">\lower</span>
<span class="k">\lozenge</span>                AMSsymbols
<span class="k">\lrcorner</span>               AMSsymbols
<span class="k">\Lsh</span>                    AMSsymbols
<span class="k">\lt</span>
<span class="k">\lt</span>
<span class="k">\ltimes</span>                 AMSsymbols
<span class="k">\lVert</span>                  AMSmath
<span class="k">\lvert</span>                  AMSmath
<span class="k">\lvertneqq</span>              AMSsymbols
</pre></div>
</div>
</div>
<div class="section" id="m">
<h3>M<a class="headerlink" href="#m" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\maltese</span>                AMSsymbols
<span class="k">\mapsto</span>
<span class="k">\mathbb</span>
<span class="k">\mathbf</span>
<span class="k">\mathbin</span>
<span class="k">\mathcal</span>
<span class="k">\mathchoice</span>            [mathchoice]
<span class="k">\mathclose</span>
<span class="k">\mathfrak</span>
<span class="k">\mathinner</span>
<span class="k">\mathit</span>
<span class="k">\mathop</span>
<span class="k">\mathopen</span>
<span class="k">\mathord</span>
<span class="k">\mathpunct</span>
<span class="k">\mathrel</span>
<span class="k">\mathring</span>               AMSmath
<span class="k">\mathrm</span>
<span class="k">\mathscr</span>
<span class="k">\mathsf</span>
<span class="k">\mathstrut</span>
<span class="k">\mathtip</span>                action          non-standard
<span class="k">\mathtt</span>
<span class="k">\matrix</span>
<span class="k">\max</span>
<span class="k">\mbox</span>
<span class="k">\measuredangle</span>          AMSsymbols
<span class="k">\mho</span>                    AMSsymbols
<span class="k">\mid</span>
<span class="k">\middle</span>
<span class="k">\min</span>
<span class="k">\mit</span>
<span class="k">\mkern</span>
<span class="k">\mmlToken</span>                               non-standard
<span class="k">\mod</span>
<span class="k">\models</span>
<span class="k">\moveleft</span>
<span class="k">\moveright</span>
<span class="k">\mp</span>
<span class="k">\mskip</span>
<span class="k">\mspace</span>
<span class="k">\mu</span>
<span class="k">\multimap</span>               AMSsymbols
</pre></div>
</div>
</div>
<div class="section" id="n">
<h3>N<a class="headerlink" href="#n" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\nabla</span>
<span class="k">\natural</span>
<span class="k">\ncong</span>                  AMSsymbols
<span class="k">\ne</span>
<span class="k">\nearrow</span>
<span class="k">\neg</span>
<span class="k">\negmedspace</span>            AMSmath
<span class="k">\negthickspace</span>          AMSmath
<span class="k">\negthinspace</span>
<span class="k">\neq</span>
<span class="k">\newcommand</span>            [newcommand]
<span class="k">\newenvironment</span>        [newcommand]
<span class="k">\Newextarrow</span>            extpfeil
<span class="k">\newline</span>
<span class="k">\nexists</span>                AMSsymbols
<span class="k">\ngeq</span>                   AMSsymbols
<span class="k">\ngeqq</span>                  AMSsymbols
<span class="k">\ngeqslant</span>              AMSsymbols
<span class="k">\ngtr</span>                   AMSsymbols
<span class="k">\ni</span>
<span class="k">\nLeftarrow</span>             AMSsymbols
<span class="k">\nleftarrow</span>             AMSsymbols
<span class="k">\nLeftrightarrow</span>        AMSsymbols
<span class="k">\nleftrightarrow</span>        AMSsymbols
<span class="k">\nleq</span>                   AMSsymbols
<span class="k">\nleqq</span>                  AMSsymbols
<span class="k">\nleqslant</span>              AMSsymbols
<span class="k">\nless</span>                  AMSsymbols
<span class="k">\nmid</span>                   AMSsymbols
<span class="k">\nobreakspace</span>           AMSmath
<span class="k">\nolimits</span>
<span class="k">\normalsize</span>
<span class="k">\not</span>
<span class="k">\notag</span>                 [AMSmath]
<span class="k">\notin</span>
<span class="k">\nparallel</span>              AMSsymbols
<span class="k">\nprec</span>                  AMSsymbols
<span class="k">\npreceq</span>                AMSsymbols
<span class="k">\nRightarrow</span>            AMSsymbols
<span class="k">\nrightarrow</span>            AMSsymbols
<span class="k">\nshortmid</span>              AMSsymbols
<span class="k">\nshortparallel</span>         AMSsymbols
<span class="k">\nsim</span>                   AMSsymbols
<span class="k">\nsubseteq</span>              AMSsymbols
<span class="k">\nsubseteqq</span>             AMSsymbols
<span class="k">\nsucc</span>                  AMSsymbols
<span class="k">\nsucceq</span>                AMSsymbols
<span class="k">\nsupseteq</span>              AMSsymbols
<span class="k">\nsupseteqq</span>             AMSsymbols
<span class="k">\ntriangleleft</span>          AMSsymbols
<span class="k">\ntrianglelefteq</span>        AMSsymbols
<span class="k">\ntriangleright</span>         AMSsymbols
<span class="k">\ntrianglerighteq</span>       AMSsymbols
<span class="k">\nu</span>
<span class="k">\nVDash</span>                 AMSsymbols
<span class="k">\nVdash</span>                 AMSsymbols
<span class="k">\nvDash</span>                 AMSsymbols
<span class="k">\nvdash</span>                 AMSsymbols
<span class="k">\nwarrow</span>
</pre></div>
</div>
</div>
<div class="section" id="o">
<h3>O<a class="headerlink" href="#o" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\odot</span>
<span class="k">\oint</span>
<span class="k">\oldstyle</span>
<span class="k">\Omega</span>
<span class="k">\omega</span>
<span class="k">\omicron</span>
<span class="k">\ominus</span>
<span class="k">\operatorname</span>           AMSmath
<span class="k">\oplus</span>
<span class="k">\oslash</span>
<span class="k">\otimes</span>
<span class="k">\over</span>
<span class="k">\overbrace</span>
<span class="k">\overleftarrow</span>
<span class="k">\overleftrightarrow</span>
<span class="k">\overline</span>
<span class="k">\overrightarrow</span>
<span class="k">\overset</span>
<span class="k">\overwithdelims</span>
<span class="k">\owns</span>
</pre></div>
</div>
</div>
<div class="section" id="p">
<h3>P<a class="headerlink" href="#p" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\parallel</span>
<span class="k">\partial</span>
<span class="k">\perp</span>
<span class="k">\phantom</span>
<span class="k">\Phi</span>
<span class="k">\phi</span>
<span class="k">\Pi</span>
<span class="k">\pi</span>
<span class="k">\pitchfork</span>              AMSsymbols
<span class="k">\pm</span>
<span class="k">\pmatrix</span>
<span class="k">\pmb</span>
<span class="k">\pmod</span>
<span class="k">\pod</span>
<span class="k">\Pr</span>
<span class="k">\prec</span>
<span class="k">\precapprox</span>             AMSsymbols
<span class="k">\preccurlyeq</span>            AMSsymbols
<span class="k">\preceq</span>
<span class="k">\precnapprox</span>            AMSsymbols
<span class="k">\precneqq</span>               AMSsymbols
<span class="k">\precnsim</span>               AMSsymbols
<span class="k">\precsim</span>                AMSsymbols
<span class="k">\prime</span>
<span class="k">\prod</span>
<span class="k">\projlim</span>                AMSmath
<span class="k">\propto</span>
<span class="k">\Psi</span>
<span class="k">\psi</span>
</pre></div>
</div>
</div>
<div class="section" id="q">
<h3>Q<a class="headerlink" href="#q" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\qquad</span>
<span class="k">\quad</span>
</pre></div>
</div>
</div>
<div class="section" id="r">
<h3>R<a class="headerlink" href="#r" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\raise</span>
<span class="k">\rangle</span>
<span class="k">\rbrace</span>
<span class="k">\rbrack</span>
<span class="k">\rceil</span>
<span class="k">\Re</span>
<span class="k">\ref</span>                   [AMSmath]
<span class="k">\renewcommand</span>          [newcommand]
<span class="k">\renewenvironment</span>      [newcommand]
<span class="k">\require</span>                               non-standard
<span class="k">\restriction</span>            AMSsymbols
<span class="k">\rfloor</span>
<span class="k">\rgroup</span>
<span class="k">\rhd</span>                    AMSsymbols
<span class="k">\rho</span>
<span class="k">\right</span>
<span class="k">\Rightarrow</span>
<span class="k">\rightarrow</span>
<span class="k">\rightarrowtail</span>         AMSsymbols
<span class="k">\rightharpoondown</span>
<span class="k">\rightharpoonup</span>
<span class="k">\rightleftarrows</span>        AMSsymbols
<span class="k">\rightleftharpoons</span>
<span class="k">\rightleftharpoons</span>      AMSsymbols
<span class="k">\rightrightarrows</span>       AMSsymbols
<span class="k">\rightsquigarrow</span>        AMSsymbols
<span class="k">\rightthreetimes</span>        AMSsymbols
<span class="k">\risingdotseq</span>           AMSsymbols
<span class="k">\rlap</span>
<span class="k">\rm</span>
<span class="k">\rmoustache</span>
<span class="k">\root</span>
<span class="k">\Rrightarrow</span>            AMSsymbols
<span class="k">\Rsh</span>                    AMSsymbols
<span class="k">\rtimes</span>                 AMSsymbols
<span class="k">\Rule</span>                                  non-standard
<span class="k">\rVert</span>                  AMSmath
<span class="k">\rvert</span>                  AMSmath
</pre></div>
</div>
</div>
<div class="section" id="s">
<h3>S<a class="headerlink" href="#s" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\S</span>
<span class="k">\scr</span>
<span class="k">\scriptscriptstyle</span>
<span class="k">\scriptsize</span>
<span class="k">\scriptstyle</span>
<span class="k">\searrow</span>
<span class="k">\sec</span>
<span class="k">\setminus</span>
<span class="k">\sf</span>
<span class="k">\sharp</span>
<span class="k">\shortmid</span>               AMSsymbols
<span class="k">\shortparallel</span>          AMSsymbols
<span class="k">\shoveleft</span>              AMSmath
<span class="k">\shoveright</span>             AMSmath
<span class="k">\sideset</span>                AMSmath
<span class="k">\Sigma</span>
<span class="k">\sigma</span>
<span class="k">\sim</span>
<span class="k">\simeq</span>
<span class="k">\sin</span>
<span class="k">\sinh</span>
<span class="k">\skew</span>
<span class="k">\small</span>
<span class="k">\smallfrown</span>             AMSsymbols
<span class="k">\smallint</span>
<span class="k">\smallsetminus</span>          AMSsymbols
<span class="k">\smallsmile</span>             AMSsymbols
<span class="k">\smash</span>
<span class="k">\smile</span>
<span class="k">\Space</span>
<span class="k">\space</span>
<span class="k">\spadesuit</span>
<span class="k">\sphericalangle</span>         AMSsymbols
<span class="k">\sqcap</span>
<span class="k">\sqcup</span>
<span class="k">\sqrt</span>
<span class="k">\sqsubset</span>               AMSsymbols
<span class="k">\sqsubseteq</span>
<span class="k">\sqsupset</span>               AMSsymbols
<span class="k">\sqsupseteq</span>
<span class="k">\square</span>                 AMSsymbols
<span class="k">\stackrel</span>
<span class="k">\star</span>
<span class="k">\strut</span>
<span class="k">\style</span>                 [HTML]          non-stanard
<span class="k">\subset</span>
<span class="k">\Subset</span>                 AMSsymbols
<span class="k">\subseteq</span>
<span class="k">\subseteqq</span>              AMSsymbols
<span class="k">\subsetneq</span>              AMSsymbols
<span class="k">\subsetneqq</span>             AMSsymbols
<span class="k">\substack</span>               AMSmath
<span class="k">\succ</span>
<span class="k">\succapprox</span>             AMSsymbols
<span class="k">\succcurlyeq</span>            AMSsymbols
<span class="k">\succeq</span>
<span class="k">\succnapprox</span>            AMSsymbols
<span class="k">\succneqq</span>               AMSsymbols
<span class="k">\succnsim</span>               AMSsymbols
<span class="k">\succsim</span>                AMSsymbols
<span class="k">\sum</span>
<span class="k">\sup</span>
<span class="k">\supset</span>
<span class="k">\Supset</span>                 AMSsymbols
<span class="k">\supseteq</span>
<span class="k">\supseteqq</span>              AMSsymbols
<span class="k">\supsetneq</span>              AMSsymbols
<span class="k">\supsetneqq</span>             AMSsymbols
<span class="k">\surd</span>
<span class="k">\swarrow</span>
</pre></div>
</div>
</div>
<div class="section" id="t">
<h3>T<a class="headerlink" href="#t" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\tag</span>                   [AMSmath]
<span class="k">\tan</span>
<span class="k">\tanh</span>
<span class="k">\tau</span>
<span class="k">\tbinom</span>                 AMSmath
<span class="k">\TeX</span>
<span class="k">\text</span>
<span class="k">\textbf</span>
<span class="k">\textit</span>
<span class="k">\textrm</span>
<span class="k">\textstyle</span>
<span class="k">\texttip</span>                action         non-standard
<span class="k">\tfrac</span>                  AMSmath
<span class="k">\therefore</span>              AMSsymbols
<span class="k">\Theta</span>
<span class="k">\theta</span>
<span class="k">\thickapprox</span>            AMSsymbols
<span class="k">\thicksim</span>               AMSsymbols
<span class="k">\thinspace</span>
<span class="k">\tilde</span>
<span class="k">\times</span>
<span class="k">\tiny</span>
<span class="k">\Tiny</span>                                  non-standard
<span class="k">\to</span>
<span class="k">\toggle</span>                 action         non-standard
<span class="k">\top</span>
<span class="k">\triangle</span>
<span class="k">\triangledown</span>           AMSsymbols
<span class="k">\triangleleft</span>
<span class="k">\trianglelefteq</span>         AMSsymbols
<span class="k">\triangleq</span>              AMSsymbols
<span class="k">\triangleright</span>
<span class="k">\trianglerighteq</span>        AMSsymbols
<span class="k">\tt</span>
<span class="k">\twoheadleftarrow</span>       AMSsymbols
<span class="k">\twoheadrightarrow</span>      AMSsymbols
</pre></div>
</div>
</div>
<div class="section" id="u">
<h3>U<a class="headerlink" href="#u" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\ulcorner</span>               AMSsymbols
<span class="k">\underbrace</span>
<span class="k">\underleftarrow</span>
<span class="k">\underleftrightarrow</span>
<span class="k">\underline</span>
<span class="k">\underrightarrow</span>
<span class="k">\underset</span>
<span class="k">\unicode</span>               [unicode]       non-standard
<span class="k">\unlhd</span>                  AMSsymbols
<span class="k">\unrhd</span>                  AMSsymbols
<span class="k">\Uparrow</span>
<span class="k">\uparrow</span>
<span class="k">\Updownarrow</span>
<span class="k">\updownarrow</span>
<span class="k">\upharpoonleft</span>          AMSsymbols
<span class="k">\upharpoonright</span>         AMSsymbols
<span class="k">\uplus</span>
<span class="k">\uproot</span>
<span class="k">\Upsilon</span>
<span class="k">\upsilon</span>
<span class="k">\upuparrows</span>             AMSsymbols
<span class="k">\urcorner</span>               AMSsymbols
</pre></div>
</div>
</div>
<div class="section" id="v">
<h3>V<a class="headerlink" href="#v" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\varDelta</span>               AMSsymbols
<span class="k">\varepsilon</span>
<span class="k">\varGamma</span>               AMSsymbols
<span class="k">\varinjlim</span>              AMSmath
<span class="k">\varkappa</span>               AMSsymbols
<span class="k">\varLambda</span>              AMSsymbols
<span class="k">\varliminf</span>              AMSmath
<span class="k">\varlimsup</span>              AMSmath
<span class="k">\varnothing</span>             AMSsymbols
<span class="k">\varOmega</span>               AMSsymbols
<span class="k">\varphi</span>
<span class="k">\varPhi</span>                 AMSsymbols
<span class="k">\varpi</span>
<span class="k">\varPi</span>                  AMSsymbols
<span class="k">\varprojlim</span>             AMSmath
<span class="k">\varpropto</span>              AMSsymbols
<span class="k">\varPsi</span>                 AMSsymbols
<span class="k">\varrho</span>
<span class="k">\varsigma</span>
<span class="k">\varSigma</span>               AMSsymbols
<span class="k">\varsubsetneq</span>           AMSsymbols
<span class="k">\varsubsetneqq</span>          AMSsymbols
<span class="k">\varsupsetneq</span>           AMSsymbols
<span class="k">\varsupsetneqq</span>          AMSsymbols
<span class="k">\vartheta</span>
<span class="k">\varTheta</span>               AMSsymbols
<span class="k">\vartriangle</span>            AMSsymbols
<span class="k">\vartriangleleft</span>        AMSsymbols
<span class="k">\vartriangleright</span>       AMSsymbols
<span class="k">\varUpsilon</span>             AMSsymbols
<span class="k">\varXi</span>                  AMSsymbols
<span class="k">\vcenter</span>
<span class="k">\vdash</span>
<span class="k">\Vdash</span>                  AMSsymbols
<span class="k">\vDash</span>                  AMSsymbols
<span class="k">\vdots</span>
<span class="k">\vec</span>
<span class="k">\vee</span>
<span class="k">\veebar</span>                 AMSsymbols
<span class="k">\verb</span>                  [verb]
<span class="k">\Vert</span>
<span class="k">\vert</span>
<span class="k">\vphantom</span>
<span class="k">\Vvdash</span>                 AMSsymbols
</pre></div>
</div>
</div>
<div class="section" id="w">
<h3>W<a class="headerlink" href="#w" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\wedge</span>
<span class="k">\widehat</span>
<span class="k">\widetilde</span>
<span class="k">\wp</span>
<span class="k">\wr</span>
</pre></div>
</div>
</div>
<div class="section" id="x">
<h3>X<a class="headerlink" href="#x" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\Xi</span>
<span class="k">\xi</span>
<span class="k">\xcancel</span>                cancel
<span class="k">\xleftarrow</span>             AMSmath
<span class="k">\xlongequal</span>             extpfeil
<span class="k">\xmapsto</span>                extpfeil
<span class="k">\xrightarrow</span>            AMSmath
<span class="k">\xtofrom</span>                extpfeil
<span class="k">\xtwoheadleftarrow</span>      extpfeil
<span class="k">\xtwoheadrightarrow</span>     extpfeil
</pre></div>
</div>
</div>
<div class="section" id="y">
<h3>Y<a class="headerlink" href="#y" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\yen</span>                    AMSsymbols
</pre></div>
</div>
</div>
<div class="section" id="z">
<h3>Z<a class="headerlink" href="#z" title="Permalink to this headline">¶</a></h3>
<div class="highlight-latex"><div class="highlight"><pre><span class="k">\zeta</span>
</pre></div>
</div>
</div>
<div class="section" id="environments">
<h3>Environments<a class="headerlink" href="#environments" title="Permalink to this headline">¶</a></h3>
<p>LaTeX environments of the form <tt class="docutils literal"><span class="pre">\begin{XXX}</span> <span class="pre">...</span> <span class="pre">\end{XXX}</span></tt> are
provided where <tt class="docutils literal"><span class="pre">XXX</span></tt> is one of the following:</p>
<div class="highlight-latex"><div class="highlight"><pre>align                  [AMSmath]
align*                 [AMSmath]
alignat                [AMSmath]
alignat*               [AMSmath]
aligned                [AMSmath]
alignedat              [AMSmath]
array

Bmatrix
bmatrix

cases

eqnarray
eqnarray*
equation
equation*

gather                 [AMSmath]
gather*                [AMSmath]
gathered               [AMSmath]

matrix
multline               [AMSmath]
multline*              [AMSmath]

pmatrix

smallmatrix             AMSmath
split                  [AMSmath]
subarray                AMSmath

Vmatrix
vmatrix
</pre></div>
</div>
</div>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">MathJax TeX and LaTeX Support</a><ul>
<li><a class="reference internal" href="#tex-and-latex-math-delimiters">TeX and LaTeX math delimiters</a></li>
<li><a class="reference internal" href="#tex-and-latex-in-html-documents">TeX and LaTeX in HTML documents</a></li>
<li><a class="reference internal" href="#defining-tex-macros">Defining TeX macros</a></li>
<li><a class="reference internal" href="#autmatic-equation-numering">Autmatic Equation Numering</a></li>
<li><a class="reference internal" href="#tex-and-latex-extensions">TeX and LaTeX extensions</a><ul>
<li><a class="reference internal" href="#action">Action</a></li>
<li><a class="reference internal" href="#amsmath-and-amssymbols">AMSmath and AMSsymbols</a></li>
<li><a class="reference internal" href="#autobold">Autobold</a></li>
<li><a class="reference internal" href="#bbox">BBox</a></li>
<li><a class="reference internal" href="#begingroup">Begingroup</a></li>
<li><a class="reference internal" href="#cancel">Cancel</a></li>
<li><a class="reference internal" href="#color">Color</a></li>
<li><a class="reference internal" href="#enclose">Enclose</a></li>
<li><a class="reference internal" href="#extpfeil">Extpfeil</a></li>
<li><a class="reference internal" href="#html">HTML</a></li>
<li><a class="reference internal" href="#mhchem">mhchem</a></li>
<li><a class="reference internal" href="#noerrors">noErrors</a></li>
<li><a class="reference internal" href="#noundefined">noUndefined</a></li>
<li><a class="reference internal" href="#unicode-support">Unicode support</a></li>
<li><a class="reference internal" href="#autoload-all">Autoload-all</a></li>
</ul>
</li>
<li><a class="reference internal" href="#supported-latex-commands">Supported LaTeX commands</a><ul>
<li><a class="reference internal" href="#symbols">Symbols</a></li>
<li><a class="reference internal" href="#a">A</a></li>
<li><a class="reference internal" href="#b">B</a></li>
<li><a class="reference internal" href="#c">C</a></li>
<li><a class="reference internal" href="#d">D</a></li>
<li><a class="reference internal" href="#e">E</a></li>
<li><a class="reference internal" href="#f">F</a></li>
<li><a class="reference internal" href="#g">G</a></li>
<li><a class="reference internal" href="#h">H</a></li>
<li><a class="reference internal" href="#i">I</a></li>
<li><a class="reference internal" href="#j">J</a></li>
<li><a class="reference internal" href="#k">K</a></li>
<li><a class="reference internal" href="#l">L</a></li>
<li><a class="reference internal" href="#m">M</a></li>
<li><a class="reference internal" href="#n">N</a></li>
<li><a class="reference internal" href="#o">O</a></li>
<li><a class="reference internal" href="#p">P</a></li>
<li><a class="reference internal" href="#q">Q</a></li>
<li><a class="reference internal" href="#r">R</a></li>
<li><a class="reference internal" href="#s">S</a></li>
<li><a class="reference internal" href="#t">T</a></li>
<li><a class="reference internal" href="#u">U</a></li>
<li><a class="reference internal" href="#v">V</a></li>
<li><a class="reference internal" href="#w">W</a></li>
<li><a class="reference internal" href="#x">X</a></li>
<li><a class="reference internal" href="#y">Y</a></li>
<li><a class="reference internal" href="#z">Z</a></li>
<li><a class="reference internal" href="#environments">Environments</a></li>
</ul>
</li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="platforms/movable-type.html"
                        title="previous chapter">Using MathJax in Movable Type</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="mathml.html"
                        title="next chapter">MathJax MathML Support</a></p>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="mathml.html" title="MathJax MathML Support"
             >next</a> |</li>
        <li class="right" >
          <a href="platforms/movable-type.html" title="Using MathJax in Movable Type"
             >previous</a> |</li>
        <li><a href="index.html">MathJax v2.0 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2012 Design Science.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
    </div>
    
  </body>
</html>