File: ltx-170.html

package info (click to toggle)
texlive-doc 2005.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 125,100 kB
  • ctags: 12,558
  • sloc: xml: 24,267; perl: 14,394; makefile: 727; sh: 324; lisp: 276; java: 159; sed: 4
file content (41 lines) | stat: -rw-r--r-- 1,726 bytes parent folder | download | duplicates (5)
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
<html>
<head><title>Help On LaTeX Table of Contents</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">Table of Contents</font></h1>
<p>
 A table of contents is produced with the 
 <a href="toc.html"><tt>\tableofcontents</tt></a> command. You
 put the command  right  where  you want the table  of contents  to go;
 LaTeX does the rest for you.  
 Entries are taken from the <a href="ltx-141.html">Sectioning</a> commands.
<p>
 <tt>\tableofcontents</tt> produces  a heading,  but it does not
 automatically  start  a new page.   If you want a new page  after  the
 table   of   contents,   include   a  
 <a href="ltx-276.html"><tt>\newpage</tt></a>   command   after   the
 <tt>\tableofcontents</tt> command.
<p>
 There  are  similar  commands  <tt>\listoffigures</tt>  and 
 <tt>\listoftables</tt>  for
 producing  a list  of figures  and  a list  of  tables,  respectively.
 Everything works exactly the same as for the table of contents.
<p>
 NOTE: Information for these tables and lists are placed in an auxiliary file
 and you may have to run latex twice to get it to come out correctly.  
 If you want any of these  items  to be generated,  you can not
 have the <tt>\nofiles</tt> command in your document as that would suppress
 writing of the auxiliary files.
See also
<ul>
<li><a href="toc.html"><tt>\tableofcontents</tt></a>
<li><A href="ltx-171.html"><tt>\addcontentsline</tt></A>
<li><A href="ltx-172.html"><tt>\addtocontents</tt></A>
</ul>
<hr>
Return to <a href="ltx-2.html">LaTeX Table of Contents</a>
<hr>
<address>
Revised: Sheldon Green, 27 Sep 1995.
</address>
</body>
</html>