summaryrefslogtreecommitdiff
path: root/Master/texmf-doc/doc/english/latex2e-html/ltx-222.html
blob: 59eb551e8b62f014f8561b485bd2e13fbd980c47 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<html>
<head><title>Help On LaTeX enumerate</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">enumerate</font></h1>
<p>
<p><pre>
 \begin{enumerate}
 \item First item
 \item Second item
 ....
 \end{enumerate}
</pre>
<p>
 The enumerate environment produces a numbered list.  Enumerations  can
 be nested within one another,  up to four levels deep.   They can also
 be nested within other paragraph-making environments.
<p>
There must be at least one <tt>\item</tt> command within the environment.
<p>
 Each item of an enumerated  list begins with an 
 <a href="item.html"><tt>\item</tt></a> command. The optional <tt>label</tt>
 argument of the <tt>\item</tt> command, if given, suppresses incrementing
 the <a href="ltx-3.html">counter</a>. If not given the default labels are
 taken from the counters, <tt>enumi, enumii, enumiii, enumiv</tt> for the
 four allowed levels of nesting, respectively.   
<p>
<a name="example">The</a> numbering style for the enumeration is determined by 
the commands, <tt>\labelenumi</tt>, <tt>\labelenumii</tt>, etc., for 
the nested levels.  These may be redefined with the 
<a href="ltx-18.html"><tt>\renewcommand</tt></a> command.
<p>
For example, to use upper case letters for the first level and lower
case letters for the second level of enumeration:
<pre>
  <tt>\renewcommand{\labelenumi}{<a href="ltx-199.html">\Alph</a>{enumi}}
  \renewcommand{\labelenumii}{<a href="ltx-199.html">\alph</a>{enumii}}</tt>
</pre>
<hr>

See also <A href="ltx-27.html">Environments</A>,
  <a href="lists.html">Lists</a>, 
  <a href="ltx-3.html">Counters</a><br>
See also <a href="item.html"><tt>\item</tt></a><br>
Back to the <a href="ltx-2.html">Table of Contents</a>
<hr>
<address>
Thanks to Robert Biddle, Robert.Biddle@Comp.VUW.AC.NZ, for info on 
the <tt>\labelenumi</tt> commands.<br>
Revised: Sheldon Green, 10 Oct 1995.
</address>
</body>
</html>