I am trying to work on the numbering of the theorems/definitions/lemmas etc., and I have some problems with the numbering.

I would like the theorems, propositions, corollarys, definitions, examples in Beamer (a presentation) as follows:

1 Functions (SECTION)

1.1 Basics (SUBSECTION)

Definition 1.1.1.

Theorem 1.1.1.

Theorem 1.1.2.

Example 1.1.1.

1.2 Some result (SUBSECTION)

Definition 1.2.1.

Theorem 1.2.1.

Theorem 1.2.2.

Example 1.2.1.

  • \newtheorem{theorem}{Theorem}[section]
    – Sigur
    Commented Feb 23, 2015 at 16:16
  • I got Theorem 1.1. Theorem 1.2.
    – alpha
    Commented Feb 23, 2015 at 16:18
  • Ow, there is no chapter. So use subsection instead.
    – Sigur
    Commented Feb 23, 2015 at 16:19
  • I already use subsection but I got Theorem 0.1. Theorem 0.2. It is not Theorem 1.1.1. Theorem 1.1.2.
    – alpha
    Commented Feb 23, 2015 at 16:21
  • 7
    Your attendants will suffer with that numbering schema. At least, make all structures to share a counter. Commented Feb 23, 2015 at 16:39

1 Answer 1


You need to number subsections within sections and theorems within sections, to achieve what you want.


Also, you need to declare


otherwise they are not numbered at all.




\frametitle{A Theorem on Infinite Sets}
There exists an infinite set.
This follows from the axiom of infinity.
\begin{example}[Natural Numbers]
The set of natural numbers is infinite.

enter image description here

Note that I haven't changed the fact that all theorem-like environments share the same counter.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .