[texhax] tableofcontents

Luca Turchetti luca.turchetti at uniroma1.it
Tue Jan 20 19:09:26 CET 2004


Put

\setcounter{tocdepth}{4}

in the document preamble so that the toc will descend down to the 4th level in the
sections hiearchy (the default for the book class is the 3rd)

1 Section
2 Subsection
3 Subsubsection
4 Paragraph
5 Subparagraph

Best Regards
Luca Turchetti



mr at xosoftware.dk wrote:

> Hi,
> I am using \documentclass{book} but this is optional for me. I don't know if
> this matters in the following.
> I would like to use \paragraph{title} and have 'title' appear in the table of
> contents. I can make it work with \section{title} and \chapter{title} with
> different \docclass{...}. Do I need a certain package or am I missing something
> else?
> Thanx
> Martin
>
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
>
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org



More information about the texhax mailing list