Search found 2 matches

by leeau
Wed Jul 23, 2008 12:57 am
Forum: General
Topic: Table of Contents problem
Replies: 5
Views: 4137

Table of Contents problem

I always use \addcontentsline{toc}{heading name(like section chapter etc.)}{title of section...}
you can also define a new command like

\newcommand{\chap}[1]{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}}

so that you can then add a chapter called Preliminaries by
\chap{Preliminaries}

That ...
by leeau
Wed Jul 23, 2008 12:27 am
Forum: General
Topic: Table of Contents problem
Replies: 5
Views: 4137

Table of Contents problem

Hi all,

I am a new LaTeX user - I use MikTeX and TeXnicCenter.

I used \tableofcontents command, and got the table of contents page with 'Contents' heading, but none of the sections are showing. The sections themselves were \sections and have been automatically numbered and all.

The same thing ...