[texhax] How to add book parts names in table of contents?

M. Fioretti mfioretti at mclink.it
Fri Jun 29 10:17:55 CEST 2007

On Fri, Jun 29, 2007 09:58:23 AM +0200, Philip G. Ratcliffe
(philip.ratcliffe at uninsubria.it) wrote:

> Try something along the lines of
>       \addcontentsline{toc}{part}{\thepart\hspace{1em}My part title}%
> where each part starts.  If you don't actually use the \part command, you'll
> also need to add 
>       \refstepcounter{part}%
> before each insertion.  Oh, and you will need to be using the book class.

Thanks. I have to leave for about an hour now, but will try and report
as soon as I'm back. In the meantime, I forgot to tell I'm using the
Memoir class but I assume it's the same, isn't it?


More information about the texhax mailing list