[texhax] subsubsection

Philip G. Ratcliffe philip.ratcliffe at fastwebnet.it
Mon Oct 15 22:30:16 CEST 2007

> I don't get the subsubsections

Ok, so I should have polished my crystal ball a little better.  I guess that
by "tree" you really mean a "table of contents", right?  That is, what you
get with  the \tableofcontents command.  I guess this because \subsubsection
is defined in most classes and so should get what you want as a heading to
the subsubsection itself.  If not, then you should also tell us what class
you're using.

The depth of listing in the table of contents is determined by the
"tocdepth" counter; so \setcounter{tocdepth}{3} in your preamble should do
the trick.  Although these are already the defaults for the "article" class,
for example.

Incidentally, if you want subsubsections numbered, you may also need
\setcounter{secnumdepth}{3}. Again though, this ought to be the default.

The depth code numbering is as follows:

part 		-1
chapter 		 0
section 		 1
subsection 	 2
subsubsection 	 3
paragraph 	 4
subparagraph 	 5

Cheers,  Phil

More information about the texhax mailing list