> 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/es/figuras-y-tablas/03-lists-of-tables-and-figures.md).

# Índices de tablas y figuras

## Introducción

Una lista de tablas y figuras mantiene la información organizada y proporciona acceso fácil a un elemento específico. Este artículo explica cómo crear una lista de figuras, una lista de tablas y cómo cambiar el título predeterminado en ambas.

Empecemos con un ejemplo 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/10bb20ae66c5a68991230f02105051f14a5923af)

&#x20;[Abrir un ejemplo en 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=)

Los comandos `\listoffigures` y `\listoftables` se explican por sí solos; el primero genera la lista de figuras y el segundo la lista de tablas. En este ejemplo hay otros dos comandos relevantes:

**\thispagestyle{empty}**

Elimina la numeración de páginas.

**\pagenumbering{arabic}**

Reinicia la numeración de páginas con numerales arábigos.

## Cambiar los nombres

Como se muestra en el siguiente ejemplo, los títulos predeterminados, "List of Tables" y "List of Figures", pueden cambiarse por cualquier otro texto:

```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/fa43335e1c108b22ad7b1424aa876c40c728eeeb)

&#x20;[Abrir un ejemplo en 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=)

Los comandos que reescriben los títulos son:

* `\renewcommand{\listfigurename}{List of plots}` escribirá "List of plots" en lugar de "List of Figures".
* `\renewcommand{\listtablename}{Tables}` escribirá "Tables" en lugar de "List of Tables".

Si usa el `babel` paquete en su documento y necesita usar cualquiera de los comandos anteriores, póngalo dentro de las llaves de `\addto\captionsenglish{ }`. En lugar de `english` en `\captionenglish` escriba el nombre del idioma que haya configurado en babel.

**Nota**: es posible que su documento deba compilarse dos veces para que las listas se generen correctamente.

## Lecturas adicionales

Para más información, consulte:

* [Insertar imágenes](/latex/es/mas-temas/27-inserting-images.md)
* [Tablas](/latex/es/figuras-y-tablas/01-tables.md)
* [Colocación de imágenes y tablas](/latex/es/figuras-y-tablas/02-positioning-images-and-tables.md)
* [Secciones y capítulos](/latex/es/estructura-del-documento/01-sections-and-chapters.md)
* [Índice](/latex/es/estructura-del-documento/02-table-of-contents.md)
* [Índices](/latex/es/estructura-del-documento/04-indices.md)
* [Glosarios](/latex/es/estructura-del-documento/05-glossaries.md)
* [Numeración de páginas](/latex/es/formato/03-page-numbering.md)
* [Gestión en un proyecto grande](/latex/es/estructura-del-documento/07-management-in-a-large-project.md)
* [Proyectos LaTeX con múltiples archivos](/latex/es/estructura-del-documento/08-multi-file-latex-projects.md)
* [Contadores](/latex/es/formato/10-counters.md)
* [La introducción no tan corta a 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/es/figuras-y-tablas/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.
