Hi there,
I have been using the structure section{},subsection{},subsubsection{}.
I now want to generate a table of contents based on these.
How can I do this.
General ⇒ How do I generate table of contents?
NEW: TikZ book now 40% off at Amazon.com for a short time.

How do I generate table of contents?
Hi,
in the body of your document, use
to produce the ToC, and, in the preamble, change the value of the tocdepth counter (if necessary) to control the level down to which the heading information will be ncluded in the ToC:
Compile your document twice.
in the body of your document, use
Code: Select all
\tableofcontents
Code: Select all
\setcounter{tocdepth}{3}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Re: How do I generate table of contents?
wow that is factastic!
the more I use latex the more I love it!
the more I use latex the more I love it!