Technical Support
Forums and Mailing Lists
Search Mackichan Web

SWP & SW
Version 5/5.5

Installation
Word Processing
Computations
Typesetting
File Issues
Graphics
Exam Builder
Style Editor
Other
Free Updates
Technical Articles

Scientific Notebook
Support Information
Troubleshooting

TeXnology
BibDB
TeXnology links

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.



MacKichan Software, Inc. 19689 7th Avenue NE, Suite 183 #238 Poulsbo, WA 98370
Phone: 360-394-6033 Toll-free: 877-724-9673 Fax: 360-394-6039

Please email comments and suggestions regarding this site to webmaster@mackichan.com.
© Copyright 1998 - MacKichan Software, Inc. All rights reserved.