[texhax] Wrong unnumbered subsections position in ToC

Rodrigo Freitas freitas at engebras.com.br
Mon Oct 27 13:51:38 CET 2008


Hello,

I'm using the tocloft package to change the table of
contents of my document. All entries in the ToC must
be left aligned, everything is ok except the unnumbered
subsections (\subsection*). Below is the code that I'm
using to do this:

\usepackage[titles]{tocloft}
...
\cftsetindents{chapter}(0cm}{1.5cm}
\cftsetindents{section}(0cm}{1.5cm}
\cftsetindents{subsection}(0cm}{1.5cm}

Here is the result:

1        Chapter                                     1
1.1     Section                                      1
1.1.1  Subsection                                1
Unnumbered subsection                     1
Glossary                                              2

What I'm trying to do is something like this:

1        Chapter                                     1
1.1     Section                                      1
1.1.1  Subsection                                1
          Unnumbered subsection           1
Glossary                                              2

Can anyone help me?

Thanks.

-- 
"All work and no play makes Jack a dull boy"

Rodrigo Freitas
freitas at engebras.com.br


More information about the texhax mailing list