next up previous contents
Next: Generating an Index Up: Common LaTeX Operations Previous: Page Numbers   Contents

Table of Contents/List of Figures/List of Tables

You create a table of contents in your document with the table of contents command. This command places a table of contents at the location of the command. LaTeX generates the table of contents entries from the section commands of the document.

LaTeX will automatically handle the numbering of sections and chapters for you. You can suppress adding sections to the table of contents, as well as section numbers, by using the starred version of the command.

\subsection*{My Title}

This is also useful if you are writing an article with no table of contents, and do not want numbers to appear for each section.

The list of figures and the list of tables command places a list of all figures and tables in your document. The list is inserted at the location of the command. If the caption command appears in the figure environment, that figure is added to the list of figures. If the caption command appears in the table environment, the table is added to the table list. The text of the caption is what's displayed in figure or table list.

To generate the initial list of figures, tables, and table of contents, and need to run the LaTeX command twice.

% latex latex-file    
% latex latex-file


next up previous contents
Next: Generating an Index Up: Common LaTeX Operations Previous: Page Numbers   Contents
Kevin O'Malley 2004-03-05