summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/latex2e-html/ltx-179.html
blob: 8635de367ef2a0b685da31974181764b774d3679 (plain)
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
<html>
<head><title>Help On LaTeX  subscripts</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">Subscripts</font></h1>
<p>
 To get an expression, <tt>exp</tt>,  to appear  as a subscript,  you  just  type
 <tt>_{exp}</tt>.<p>  
 Can be used only in <a href="ltx-115.html#math">math</a> mode.  
 Thus, for a simple expression that is part of the running text:
<pre>  
    <tt>H$_2$O is the formula for water</tt>
</pre>
should display as "H<sub>2</sub>O is the formula for water".
Note that the braces around the argument may be omitted if the 
subscript is a single character. 
<p>
If a symbol has both subscripts and superscripts, the order doesn't matter.  
The following are equivalent:<br>
<pre>     <tt>a_n^2</tt> and <tt>a^2_n</tt></pre>
<p>
Subscripts are normally displayed in a smaller font; to prevent this and,
for example, use a standard Roman font, one would use;
<pre>
    <tt>$J_{<a href="ltx-304.html">\rm</a> Roman}$</tt>
</pre>
<hr>
   See also: <A href="ltx-115.html">Math Formulas</A>, 
   <A href="ltx-180.html">Superscripts</A><br>
Back to the <a href="ltx-2.html">Table of Contents</a>
<hr>
<address>
Revised: Sheldon Green, 31 May 1995.
</address> 
</body>
</html>