Articles on: Writing

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:

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

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:


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

Updated on: 04/30/2020