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
Technical Articles

Scientific Notebook
Support Information
Troubleshooting

TeXnology
BibDB

Document 267

## Creating independent numbering of theorem environments

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

In many documents, all of the theorem-like environments use a common numbering scheme and are typeset in a single sequence, as in this series:

Theorem 1, Corollary 2, Lemma 3, Theorem 4, Lemma 5, etc.

If you're familiar with TeX and LaTeX and the \newtheorem statements that determine the numbering scheme and appear in the document preamble, you can create an independent numbering sequence for each type of theorem-like environment, as in this series:

Theorem 1, Corollary 1, Lemma 1, Theorem 2, Lemma 2, etc.

1. From the Typeset menu, choose Preamble.

2. Find the \newtheorem statement for the environment whose numbering you want to change.

The statements usually have this form:

\newtheorem{counter}[counter_basis]{counter_title}.

3. Remove the [counter_basis] argument from the command.

4. Choose OK.

Sometimes the \newtheorem statements are included in the typesetting specifications for the shell. In that case, don't attempt to modify the statements. Instead, choose a different shell in which theorem statements are numbered to your liking.