Numbering subsections in the latex book class

| | Comments (0)

TIPPINST - Sometimes there may be a requirement to have the subsections in a book class document have an associated numbe beside them e.g. 2.1.1.1. There is no need to edit the associated .cls files etc instead the following command allows you to set the depth of your numbering

\setcounter{secnumdepth}{3}

A depth of 3 includes subsections.

If you require the table of contents to list as far as sections only then use the following:

\setcounter{tocdepth}{2}

Both commands should be entered at the top of the document before the section \begin{document}

Leave a comment

About this Entry

This page contains a single entry by liam noonan published on June 7, 2006 11:08 AM.

VOIP implementation problems for Wi-Fi was the previous entry in this blog.

Navigable blogmaps is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Influenced by:

Irish Eyes
Jabit
Mike Maunsell
Buzzblog
Tom Raftery I.T. views
Damien Mulley
James Corbett (Eirepeneur)
Powered by Movable Type 4.12