> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://authorea.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to create a table of contents and list of figures and tables

You can access a table of contents while writing by clicking the *Document* dropdown in the toolbar and selecting *Table of Contents.* But what if you want a table of contents and a list of figures in your exported PDF document? Follow these instructions:

1. First, make sure your document has Numbered Headings enabled. (Find it under Document Settings -> Advanced Options)

2. Second, create a table of contents by adding a LaTeX block where you want to place the table of contents - ideally, under the abstract or at the top of the document. Click *Insert -> LaTeX* and then insert this snippet:

```
\tableofcontents
\listoffigures
\listoftables
\newpage
```
3. Export your PDF document again.

You can of course omit the newpage or the list of tables, etc.



|| **Tip**: If you want to customize the header of your table of contents try: ```\renewcommand*{\contentsname}{CUSTOM HEADER} \tableofcontents```