In the code

```
\newtheorem{thm}{Theorem}[section]
```

what should stand in place of *section* to get continuous numbering (simply Theorem 1, Theorem 2, etc.) for the whole text?

Skip to content
# [Tex/LaTex] continuous numbering of theorems for the whole article

numberingtheorems

In the code

```
\newtheorem{thm}{Theorem}[section]
```

what should stand in place of *section* to get continuous numbering (simply Theorem 1, Theorem 2, etc.) for the whole text?

## Best Answer

The short answer is "nothing". In LaTeX

`[...]`

denotes an optional argument. For`\newtheorem`

when this argument is not present, these environments are number continuously throughout the document:The command

`\newtheorem`

has another commonly used optional argument. Writingwill use the same counter for Theorems and Corrollaries, so that you get

instead of

In long documents, numbering of the former type is the most helpful to the reader.