This page gives examples on the usage of the different counters. Please view the source of this page (click Tools > View Source) for a better understanding.

Default counter (page level)

Number by counter macroExpected Number
11
22
33

Resetting the counter:

Number by counter macroExpected Number
11
22
33

This table will continue with the counter from the last table, i.e. start with "4":

Number by counter macroExpected Number
44
55
66

Counter with alpha numbering:

Number by counter macroExpected Number
aa
bb
cc

Named counters

Counting with c1, new value (expected 1): 1

Counting with c1, new value (expected 2): 2

Counting with c2, new value (expected 1): 1

Counting with c1, new value (expected 3): 3

Resetting c1 then counting, new value (expected 1): 1

Counting with c2, new value (expected 2): 2

Counters in headings

1 First heading (1)

2 Second heading (2)

2.1 First nested heading (2.1)

2.2 Second nested heading (2.2)

3 Third heading (3)

3.1 First nested heading (3.1)

3.2 Second nested heading (3.2)