Document 399

How to extend or remove typeset division numbers

Version: 2.5, 3.x, 4.x, 5.x - Scientific WorkPlace & Scientific Word

The secnumdepth counter setting in the typesetting specification determines which division headings are automatically numbered. The value of the counter specifies the lowest division level that is numbered. Occasionally, you may need to extend numbering to deeper levels of division headings than the document shell specifies. You can also remove division numbering below a certain level.

  1. From the Typeset menu, choose Preamble.

    or

    In Version 2.5, from the File menu, choose Document Info, then select the Preamble tab sheet.

  2. Click the mouse in the entry box so that any existing commands are deselected.

  3. On a new line at the end of the preamble entries, type \setcounter{secnumdepth}{x} where x is the lowest heading level you want to number:

    x if division numbers are to extend only to
    -1 Parts
    0 Chapters
    1 Sections
    2 Subsections
    3 Subsubsections
    4 Subsubsubsections
    5 Subsubsubsubsections

    Remember that LaTeX uses section as level 1, regardless of the document class.

  4. Choose OK.

Examples

The standard LaTeX book typesetting specification numbers subsections. To also number Subsubsections, add the following to the document preamble:

\setcounter{secnumdepth}{3}

You can remove numbering from all division levels. Add the following to the document preamble:

\setcounter{secnumdepth}{-2}

See also

How to remove typeset division numbers

Last revised 10/06/09

This document was created with Scientific WorkPlace.