> 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/cs/obrazky-a-tabulky/03-lists-of-tables-and-figures.md).

# Seznamy tabulek a obrázků

## Úvod

Seznam tabulek a obrázků udržuje informace uspořádané a poskytuje snadný přístup ke konkrétnímu prvku. Tento článek vysvětluje, jak vytvořit seznam obrázků, seznam tabulek a jak změnit výchozí název u obou z nich.

Začněme s jednoduchým příkladem:

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

&#x20;[Otevřete si příklad na Overleafu](https://www.overleaf.com/project/new/template/20148?id=68603601\&templateName=Lists+of+tables+and+figures\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

Příkazy `\listoffigures` a `\listoftables` jsou samy o sobě srozumitelné, první z nich vygeneruje seznam obrázků a druhý seznam tabulek. V tomto příkladu jsou ještě dva další relevantní příkazy:

**\thispagestyle{empty}**

Odstraní číslování stránek.

**\pagenumbering{arabic}**

Znovu spustí číslování stránek arabskými číslicemi.

## Změna názvů

Jak ukazuje následující příklad, výchozí názvy „Seznam tabulek“ a „Seznam obrázků“ lze změnit na jakýkoli jiný text:

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

\renewcommand{\listfigurename}{Seznam grafů}
\renewcommand{\listtablename}{Tabulky}

\begin{document}

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

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

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

&#x20;[Otevřete si příklad na Overleafu](https://www.overleaf.com/project/new/template/20148?id=68603601\&templateName=Lists+of+tables+and+figures\&latexEngine=pdflatex\&texImage=texlive-full%3A2020.1\&mainFile=)

Příkazy, které přepíší názvy, jsou:

* `\renewcommand{\listfigurename}{Seznam grafů}` zapíše „Seznam grafů“ místo „Seznam obrázků“.
* `\renewcommand{\listtablename}{Tabulky}` zapíše „Tabulky“ místo „Seznam tabulek“.

Pokud používáte `babel` balíček ve svém dokumentu a potřebujete použít některý z předchozích příkazů, vložte jej do složených závorek `\addto\captionsenglish{ }`. Místo `english` v `\captionenglish` napište název jazyka, který jste v babel nastavili.

**Poznámka**: váš dokument může být potřeba zkompilovat dvakrát, aby se seznamy vygenerovaly správně.

## Další čtení

Více informací viz:

* [Vkládání obrázků](/latex/cs/dalsi-temata/27-inserting-images.md)
* [Tabulky](/latex/cs/obrazky-a-tabulky/01-tables.md)
* [Umísťování obrázků a tabulek](/latex/cs/obrazky-a-tabulky/02-positioning-images-and-tables.md)
* [Sekce a kapitoly](/latex/cs/struktura-dokumentu/01-sections-and-chapters.md)
* [Obsah](/latex/cs/struktura-dokumentu/02-table-of-contents.md)
* [Rejstříky](/latex/cs/struktura-dokumentu/04-indices.md)
* [Slovníčky](/latex/cs/struktura-dokumentu/05-glossaries.md)
* [Číslování stránek](/latex/cs/formatovani/03-page-numbering.md)
* [Správa ve velkém projektu](/latex/cs/struktura-dokumentu/07-management-in-a-large-project.md)
* [Vícesouborové projekty LaTeXu](/latex/cs/struktura-dokumentu/08-multi-file-latex-projects.md)
* [Čítače](/latex/cs/formatovani/10-counters.md)
* [Ne tak krátký úvod do 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/cs/obrazky-a-tabulky/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.
