> 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/overleaf-learn-latex-pt/figuras-e-tabelas/03-lists-of-tables-and-figures.md).

# Listas de tabelas e figuras

## Introdução

Uma lista de tabelas e figuras mantém a informação organizada e proporciona fácil acesso a um elemento específico. Este artigo explica como criar uma lista de figuras, uma lista de tabelas e como alterar o título predefinido em ambas.

Vamos começar com um exemplo básico:

```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/6df9cc43108f192c18b7e2a25f976d46effe1784)

&#x20;[Abrir um exemplo no 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=)

Os comandos `\listoffigures` e `\listoftables` são autoexplicativos; o primeiro gera a lista de figuras e o segundo, a lista de tabelas. Neste exemplo há mais dois comandos relevantes:

**\thispagestyle{empty}**

Remove a numeração das páginas.

**\pagenumbering{arabic}**

Reinicia a numeração das páginas com algarismos arábicos.

## Alterando os nomes

Como mostrado no exemplo a seguir, os títulos predefinidos, "List of Tables" e "List of Figures", podem ser alterados para qualquer outro texto:

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

\renewcommand{\listfigurename}{Lista de gráficos}
\renewcommand{\listtablename}{Tabelas}

\begin{document}

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

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

![Listoffiguresandtables.png](/files/0a876de0be1691aa9541223adabf812be04e4688)

&#x20;[Abrir um exemplo no 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=)

Os comandos que reescrevem os títulos são:

* `\renewcommand{\listfigurename}{Lista de gráficos}` escreverá "Lista de gráficos" em vez de "List of Figures".
* `\renewcommand{\listtablename}{Tabelas}` escreverá "Tabelas" em vez de "List of Tables".

Se você usar o `babel` pacote no seu documento e precisar usar qualquer um dos comandos anteriores, coloque-o entre as chaves de `\addto\captionsenglish{ }`. Em vez de `inglês` em `\captionenglish` escreva o nome do idioma que definiu no babel.

**Nota**: o seu documento pode precisar de ser compilado duas vezes para que as listas sejam geradas corretamente.

## Leitura adicional

Para mais informações, veja:

* [Inserção de imagens](/latex/overleaf-learn-latex-pt/mais-topicos/27-inserting-images.md)
* [Tabelas](/latex/overleaf-learn-latex-pt/figuras-e-tabelas/01-tables.md)
* [Posicionamento de imagens e tabelas](/latex/overleaf-learn-latex-pt/figuras-e-tabelas/02-positioning-images-and-tables.md)
* [Secções e capítulos](/latex/overleaf-learn-latex-pt/estrutura-do-documento/01-sections-and-chapters.md)
* [Índice](/latex/overleaf-learn-latex-pt/estrutura-do-documento/02-table-of-contents.md)
* [Índices](/latex/overleaf-learn-latex-pt/estrutura-do-documento/04-indices.md)
* [Glossários](/latex/overleaf-learn-latex-pt/estrutura-do-documento/05-glossaries.md)
* [Numeração de páginas](/latex/overleaf-learn-latex-pt/formatacao/03-page-numbering.md)
* [Gestão num projeto grande](/latex/overleaf-learn-latex-pt/estrutura-do-documento/07-management-in-a-large-project.md)
* [Projetos LaTeX com vários ficheiros](/latex/overleaf-learn-latex-pt/estrutura-do-documento/08-multi-file-latex-projects.md)
* [Contadores](/latex/overleaf-learn-latex-pt/formatacao/10-counters.md)
* [A introdução não tão curta ao 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/overleaf-learn-latex-pt/figuras-e-tabelas/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.
