> 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/pl/rysunki-i-tabele/03-lists-of-tables-and-figures.md).

# Spisy tabel i rysunków

## Wprowadzenie

Spis tabel i rysunków porządkuje informacje i zapewnia łatwy dostęp do konkretnego elementu. Ten artykuł wyjaśnia, jak utworzyć spis rysunków, spis tabel oraz jak zmienić domyślny tytuł w obu z nich.

Zacznijmy od podstawowego przykładu:

```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/0af4bf48602d9466b891aee356e5742c6b31e6de)

&#x20;[Otwórz przykład w 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=)

Polecenia `\listoffigures` i `\listoftables` są oczywiste, pierwsze generuje listę rysunków, a drugie listę tabel. W tym przykładzie są jeszcze dwa inne istotne polecenia:

**\thispagestyle{empty}**

Usuwa numerację stron.

**\pagenumbering{arabic}**

Ponownie rozpoczyna numerację stron cyframi arabskimi.

## Zmiana nazw

Jak pokazano w poniższym przykładzie, domyślne tytuły „Spis tabel” i „Spis rysunków” można zmienić na dowolny inny tekst:

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

\renewcommand{\listfigurename}{Spis wykresów}
\renewcommand{\listtablename}{Tabele}

\begin{document}

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

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

![Listoffiguresandtables.png](/files/7a3dada3bc088c29f945b22b634b5a8812c059b8)

&#x20;[Otwórz przykład w 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=)

Polecenia, które zmieniają tytuły, to:

* `\renewcommand{\listfigurename}{Spis wykresów}` wypisze „Spis wykresów” zamiast „Spis rysunków”.
* `\renewcommand{\listtablename}{Tabele}` wypisze „Tabele” zamiast „Spis tabel”.

Jeśli używasz pakietu `babel` w swoim dokumencie i musisz użyć któregoś z poprzednich poleceń, umieść je w nawiasach klamrowych polecenia `\addto\captionsenglish{ }`. Zamiast `angielski` w `\captionenglish` wpisz nazwę języka, który ustawisz w babel.

**Uwaga**: twój dokument może wymagać dwukrotnej kompilacji, aby listy zostały poprawnie wygenerowane.

## Dalsza lektura

Więcej informacji zobacz:

* [Wstawianie obrazów](/latex/pl/wiecej-tematow/27-inserting-images.md)
* [Tabele](/latex/pl/rysunki-i-tabele/01-tables.md)
* [Pozycjonowanie obrazów i tabel](/latex/pl/rysunki-i-tabele/02-positioning-images-and-tables.md)
* [Sekcje i rozdziały](/latex/pl/struktura-dokumentu/01-sections-and-chapters.md)
* [Spis treści](/latex/pl/struktura-dokumentu/02-table-of-contents.md)
* [Indeksy](/latex/pl/struktura-dokumentu/04-indices.md)
* [Glosariusze](/latex/pl/struktura-dokumentu/05-glossaries.md)
* [Numeracja stron](/latex/pl/formatowanie/03-page-numbering.md)
* [Zarządzanie w dużym projekcie](/latex/pl/struktura-dokumentu/07-management-in-a-large-project.md)
* [Projekty LaTeX z wieloma plikami](/latex/pl/struktura-dokumentu/08-multi-file-latex-projects.md)
* [Liczniki](/latex/pl/formatowanie/10-counters.md)
* [Niekoniecznie krótki wstęp 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/pl/rysunki-i-tabele/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.
