1 Demo

Theorem 1.0.1 (within parenthesis). plain theoremstyle here

We can use pandoc-crossref style 1.0.2 and (1.0.2) and cite before definition.

Theorem 1.0.2. Label and reference:

\[E=mc^2\]

From the 1.0.2, we see that… Or (1.0.2), …

With Space (This is markdown.). Environment name has a space, and is unnumbered.

Lemma 1.0.3 (can cite 1.0.2). This one share counter with Theorem.

Definition 1.0.1 (pandoc-crossref style cite 1.0.2). definition theoremstyle here

Case 1.0.1 (within parenthesis). remark theoremstyle here

Proof of the Main Theorem. Predefined proof theoremstyle here

Proof of the little theorem. Predefined proof theoremstyle here with markdown info.

Proof. Bare proof here.

Klein’s Lemma 1.0.1. Klein’s Lemma from amsthm doc.

Definition 1.0.2.

code here

2 Counter test

Theorem 2.0.1. some theorem

Theorem 2.0.2. some theorem

2.1 Next level

Theorem 2.1.1. some theorem

Theorem 2.1.2. some theorem

2.1.1 Level 3

Theorem 2.1.3. some theorem

Theorem 2.1.4. some theorem

2.1.1.1 Level 4

Theorem 2.1.5. some theorem

Theorem 2.1.6. some theorem

2.1.1.1.1 Level 5

Theorem 2.1.7. some theorem

Theorem 2.1.8. some theorem

Level 6

Theorem 2.1.9. some theorem

Theorem 2.1.10. some theorem