Create Table of Contents, Figures and Index of Tables in LibreOffice

Learn to create table of contents, table of figures and index of tables in LibreOffice Writer.
Warp Terminal

If you are creating a book, thesis or any such official or academic work, you must add a table of contents to your document.

You may also need to add a table of figures and an index of tables used in the documentation.

In this tutorial, I'll show you how to:

  • Create the table of contents and figures automatically
  • Update the tables when needed
  • Insert the index of tables

Adding a table of contents in LibreOffice

The table of contents will be generated based on the headings you have. That means a level one heading will be on top; level two and three follows as subsections of the Level one heading and so on.

First, you need to place the cursor on the position where you want to add the Table of Contents because the ToC (table of contents) will be added depending on where your cursor is.

Once you are at the right place, click on the Insert button and select Table of Contents and Index:

From the Insert menu, select Table of Contents option
Select Table of Contents

This will open a dialog box for tweaking the table of contents. For the default ToC, select a name you want for the heading and then press OK.

Give a Heading to the Table of Contents, if you want and press OK button on the bottom left to add a simple Table of Contents
Give a Heading and press OK

This will add a simple table of contents for your entire document based on the headings.

Viewing a Simpe Table of Contents in Libre Office Writer
Simple Table of Contents
๐Ÿ’ก
The elements in the table of contents are clickable. If you want to go to a particular heading, hold down the CTRL key and then click on the item you want to go.

Edit an existing table of contents

To tweak the properties of an existing table of contents, right-click on it and select "Edit Index":

Right click on the Table of Contents and click on "Edit Index" button to edit an existing table of contents block
Click on Edit Index

This will open the Table of Contents dialog box, where you can make the changes like the color of the table of contents, etc.

Update the table of contents

If you add a table of contents, it is write-protected by default. This means it won't change automatically as the user updates the document.

If you want to make the changes reflect on the Table of Contents, right-click on the ToC and select โ€œUpdate Indexโ€.

Right-click on the Table of Contents and select "Update Index"to update the content of Table of Contents based on recent changes
Update Index

Automatically update the ToC as you add subheadings

But sometimes, for convenience, you may want to update your ToC automatically as you add additional headings.

For this, uncheck the Protect against manual changes box on the Table of Contents dialog box. This will give the required permissions to modify the ToC automatically.

Disable protection against manual changes to make the table of contents update automatically
Disable Protection against manual changes
๐Ÿ—’๏ธ
I do not prefer the automatic update. First, you should verify the changes and then update the table manually for better control.

Multiple-columned table of contents

LibreOffice Writer allows you to add the table of contents in multiple columns.

Go to the Table of Contents dialog box by choosing the 'Edit index' option from the right click context menu.

Now, go to the Columns tab. From there, you can change the appearance, like how many columns you want for the ToC.

A Two column layout settings for Table of Contents
Settings for a Two Column Table of Contents

Once you press the OK button, you can see the table of content changed into more than one column.

The table of contents appearance as a two column layout
Two column table of contents

Table of contents for chapters

Don't want to apply ToC for the entire document? You can add ToC for chapters, too.

To do this, on the ToC dialog box, select "Chapters" instead of "Entire Document":

Settings for adding table of contents for a chapter
Table of Contents for Chapter
๐Ÿšง
If you don't have chapters on your document, the table of contents will appear blank.

Create table of figures

Some academic documents require a table for all the figures and diagrams used.

To create the table of figures, you need to add captions to your image. To do that, right-click on an image you inserted and select "Insert Caption":

Right-click on an image in LibreOffice and select "Insert Caption" option to add caption
Click on Insert Caption

On the next screen, enter the caption for that image and click OK.

Provide the caption text to an image and click OK
Add caption to an image

Once you have the captions for all the figures, position the cursor on a place where you want to add the table of figures. Now, select Insert > Table of Contents and Index.
From there, select โ€œTable of Figuresโ€ from the dropdown menu on the Table of Contents dialog box.

Setting options to add a simple Table of Figures
Setting to add a simple Table of Figures

Here, you can see that I have selected the Captions option and selected "Figure" as Category and "Caption Text" as Display.

This way, it will create a Table of Figures with the caption text as entries.

Table of Figures appearance in Document
Table of Figures Appearance

You can CTRL + click on the entry to navigate between them.

Create an index of tables

An index of tables comes in handy when your document has many tables. In fact, some academic documents require an index of tables.

First, as in the case of the table of figures, adding a caption to your tables will be very helpful in retrieving information. So, right-click on the tables you have added and select โ€œInsert Captionโ€. Now, provide a caption text and click OK.

Add caption text to a table
Add caption to a table

Once the tables are ready with the caption, position your cursor on the document where you want the Index of Tables to appear. Now, click on Insert > Table of Contents and Index. Select Index of Tables from the drop-down in the Table of Contents dialog box.

Various settings for Index of Tables block
Settings for Index of Tables

Upon clicking OK, you can see that an Index of Tables has been added.

Index of Tables Appearance in Document
Index of Tables Appearance

Bonus: Make table of content attractive

It is possible to make the ToC more attractive by changing the color, adding background image, etc. You can do this on the Table of Contents Dialog box.

For this, go to the "Background" tab. From there, select the color button to apply different background colors to your Table of Contents blocks.

Settings to add a background color to Table of Contnets block
Add colors to Table of Contents

Or, select the โ€œImageโ€ button to add images, textures, etc. as background for your Table of Content.

Settings to add an Image background to Table of Contents
Add an Image background to Table of Contents

More on LibreOffice

There are many more advanced Table of Contents settings in LibreOffice. You can try them all in a sample document.

You may also check out this article on LibreOffice tips.

7 LibreOffice Tips To Get More Out of It
Brief: LibreOffice is an excellent office suite. These LibreOffice tips will enable you to use it more effectively. There is little doubt that LibreOffice is the best open source office product out there. While you might use it for writing documents, creating spreadsheets or making presentโ€ฆ

Did you find any other productivity tips and suggestions on this? Comment them below.

About the author
Sreenath

Sreenath

Linux tinkerer by day, Lord of the Rings fanatic by night. When I'm not busy conquering the command line, you can find me kicking back and watching some football while quoting JRR Tolkien

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

itsfoss happy penguin

Great! Youโ€™ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.