> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/figures-and-tables/03-lists-of-tables-and-figures.md).

# Lists of Tables and Figures

## Introduction

A list of the tables and figures keep the information organized and provide easy access to a specific element. This article explains how to create a list of figures, a list of tables and how to change the default title in both of them.

Let's start with a basic example:

```latex
\documentclass{article}
\usepackage{graphicx}
\graphicspath{ {figures/} }
\usepackage{array}

\begin{document}

\thispagestyle{empty}
\listoffigures
\listoftables
\newpage
\pagenumbering{arabic}

Lorem ipsum dolor sit amet, consectetuer adipiscing
elit.  Etiam lobortisfacilisis...
\end{document}
```

![ListOfTablesAndFiguresEx1OLV2.png](/files/zVCXRDJhIOkcPGJnLObU)

&#x20;[Open an example on Overleaf](https://www.overleaf.com/project/new/template/20148?id=68603601\&templateName=Lists+of+tables+and+figures\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

The commands `\listoffigures` and `\listoftables` are self explanatory, the first one generates the list of figures and the second one the list of tables. In this example there are two more relevant commands:

**\thispagestyle{empty}**

Removes the page numbering.

**\pagenumbering{arabic}**

Re-start the page numbering with Arabic-style numerals.

## Changing the names

As shown in the following example, the default titles, "List of Tables" and "List of Figures", can be changed to any other text:

```latex
\documentclass{article}
\usepackage{graphicx}
\usepackage{array}
\graphicspath{ {figures/} }

\renewcommand{\listfigurename}{List of plots}
\renewcommand{\listtablename}{Tables}

\begin{document}

\thispagestyle{empty}
\listoffigures
\listoftables
\clearpage
\pagenumbering{arabic}

Lorem ipsum dolor sit amet, consectetuer adipiscing elit.  Etiam lobortisfacilisis...
\end{document}
```

![Listoffiguresandtables.png](/files/NClEZAVeAPFbdKy2KFSK)

&#x20;[Open an example on Overleaf](https://www.overleaf.com/project/new/template/20148?id=68603601\&templateName=Lists+of+tables+and+figures\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

The commands that re-write the titles are:

* `\renewcommand{\listfigurename}{List of plots}` will write "List of plots" instead of "List of Figures".
* `\renewcommand{\listtablename}{Tables}` will write "Tables" instead of "List of Tables".

If you use the `babel` package in your document and you need to use any of the previous commands, put it inside the braces of `\addto\captionsenglish{ }`. Instead of `english` in `\captionenglish` write the name of the language you set in babel.

**Note**: your document may need to be compiled twice for the lists to be generated properly.

## Further reading

For more information see:

* [Inserting Images](/latex/more-topics/27-inserting-images.md)
* [Tables](/latex/figures-and-tables/01-tables.md)
* [Positioning images and tables](/latex/figures-and-tables/02-positioning-images-and-tables.md)
* [Sections and chapters](/latex/document-structure/01-sections-and-chapters.md)
* [Table of contents](/latex/document-structure/02-table-of-contents.md)
* [Indices](/latex/document-structure/04-indices.md)
* [Glossaries](/latex/document-structure/05-glossaries.md)
* [Page numbering](/latex/formatting/03-page-numbering.md)
* [Management in a large project](/latex/document-structure/07-management-in-a-large-project.md)
* [Multi-file LaTeX projects](/latex/document-structure/08-multi-file-latex-projects.md)
* [Counters](/latex/formatting/10-counters.md)
* [The not so short introduction to LaTeX2ε](http://www.ctan.org/tex-archive/info/lshort/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/figures-and-tables/03-lists-of-tables-and-figures.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
