1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
<html>
<head><title>Help On LaTeX \stackrel and \mathop</title></head>
<body bgcolor="#ffffff" text="#000000" link="#000099" vlink="#cc0000" alink="#cc0000">
<h1><font size="-2">Hypertext Help with LaTeX</font><br><font color="#cc0000">\stackrel</font></h1>
<p>
This can be used to stack something above something else; used in math mode.
<pre>
<tt>\stackrel{top}{bot}</tt>
</pre>
The first argument, <tt>top</tt>, is typset immediately above the
second argument, <tt>bot</tt>; the former is set in the same
math style as a superscript.
<p>
For example
<pre>
<tt>H$_2$CO$_3$ $\stackrel{<a href="ltx-304.html">\rm</a> heat}
{<a href="ltx-406.html">\longrightarrow}</a>$ H$_2$O + CO$_2$</tt>
</pre>
will produce something like
<pre><tt>
heat
H CO ------> H O + CO
2 3 2 2
</tt></pre>
Note that the the <a href="ltx-304.html"><tt>\rm</tt></a> declaration is used
so that "heat" is set in Roman face and not math italics.
<h1><font size="-2">Hypertext Help with LaTeX</font><br>a name="mathop">\mathop</a></h1>
This command does not seem to be well documented but appears to work,
at least in current versions of LaTeX 2.09.
<p>
The argument is considered to be a single <a href="ltx-408.html">variable
sized math symbol</a> for purposes of placing limits below
(<a href="ltx-179.html">subscripts</a>) and above
(<a href="ltx-180.html">superscripts</a>) in
<a href="mathfonts.html">display math</a> style. For example,
<pre>
<tt>\mathop{\sum \sum}_{i,j=1}^{N} a_i a_j</tt>
</pre>
would produce something like
<pre>
N
--- ---
\ \
/ / a a
--- --- i j
i,j
</pre>
It is possible to create <strong>two rows</strong> of "subscripts" by using
a similar construction: The first row is created as subscripts of the symbol
in the usual way and a lower row is created by placing this whole construct
as the argument of a <tt>\mathop</tt> command with its own subscript. For
example
<pre>
<tt>\mathop{\sum_{i,j=1}^{N}}_{i>j}</tt>
</pre>
would produce something like
<pre>
N
---
\
/
---
i,j=1
i>j
</pre>
<hr>
Related topics
<ul>
<li><a href="ltx-115.html">Math Formulas</a>
and <a href="ltx-117.html">Math Symbols</a>
<li><a href="ltx-406.html">Arrows</a>
<li><a href="ltx-404.html">Binary and relational opertors</a>
<li><a href="ltx-223.html">Eqnarray Environment</a>
<li><a href="ltx-224.html">Equation Environment</a>
<li><a href="ltx-421.html">Displaymath Environment</a>
<li><a href="mathfonts.html">Math Fonts and Styles</a>
<p>
<li><a href="ltx-287.html"><tt>\overbrace</tt></a>
<li><a href="ltx-288.html"><tt>\overline</tt></a>
<li><a href="ltx-335.html"><tt>\underbrace</tt></a>
<li><a href="ltx-336.html"><tt>\underline</tt></a>
</ul>
Return to <a href="ltx-2.html">LaTeX Table of Contents</a>
<hr>
<address>
Revised: Sheldon Green, 15 Aug 1995.
</address>
</body>
</html>
|