Let us add a TOC with some formatting options:
Table of Contents
The Title number:1	2
A subtitle of the title number: 1	2
The Title number:2	3
A subtitle of the title number: 2	3
The Title number:3	4
A subtitle of the title number: 3	4
The Title number:4	5
A subtitle of the title number: 4	5
The Title number:1
A subtitle of the title number: 1
Some random text.
The Title number:2
A subtitle of the title number: 2
Some random text.
The Title number:3
A subtitle of the title number: 3
Some random text.
The Title number:4
A subtitle of the title number: 4
Some random text.