> 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/sv/figurer-och-tabeller/03-lists-of-tables-and-figures.md).

# Listor över tabeller och figurer

## Inledning

En lista över tabeller och figurer håller informationen organiserad och ger enkel åtkomst till ett specifikt element. Den här artikeln förklarar hur man skapar en figurlista, en tabellista och hur man ändrar standardtiteln i båda.

Låt oss börja med ett grundläggande exempel:

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

&#x20;[Öppna ett exempel i 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=)

Kommandona `\listoffigures` och `\listoftables` är självförklarande, det första genererar figurlistan och det andra tabellistan. I detta exempel finns två ytterligare relevanta kommandon:

**\thispagestyle{empty}**

Tar bort sidnumreringen.

**\pagenumbering{arabic}**

Starta sidnumreringen på nytt med arabiska siffror.

## Ändra namnen

Som visas i följande exempel kan standardtitlarna, "List of Tables" och "List of Figures", ändras till vilken annan text som helst:

```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/8aaa528caf61fda624f05c23846c0bdadfc84f6d)

&#x20;[Öppna ett exempel i 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=)

Kommandona som skriver om titlarna är:

* `\renewcommand{\listfigurename}{List of plots}` skriver ut "List of plots" i stället för "List of Figures".
* `\renewcommand{\listtablename}{Tables}` skriver ut "Tables" i stället för "List of Tables".

Om du använder `babel` paketet i ditt dokument och du behöver använda något av de tidigare kommandona, placera det inom klamrarna i `\addto\captionsenglish{ }`. I stället för `english` i `\captionenglish` skriv namnet på det språk du har angett i babel.

**Obs**: ditt dokument kan behöva kompileras två gånger för att listorna ska genereras korrekt.

## Vidare läsning

För mer information, se:

* [Infoga bilder](/latex/sv/fler-amnen/27-inserting-images.md)
* [Tabeller](/latex/sv/figurer-och-tabeller/01-tables.md)
* [Placering av bilder och tabeller](/latex/sv/figurer-och-tabeller/02-positioning-images-and-tables.md)
* [Avsnitt och kapitel](/latex/sv/dokumentstruktur/01-sections-and-chapters.md)
* [Innehållsförteckning](/latex/sv/dokumentstruktur/02-table-of-contents.md)
* [Sakregister](/latex/sv/dokumentstruktur/04-indices.md)
* [Ordlistor](/latex/sv/dokumentstruktur/05-glossaries.md)
* [Sidnumrering](/latex/sv/formatering/03-page-numbering.md)
* [Hantering i ett stort projekt](/latex/sv/dokumentstruktur/07-management-in-a-large-project.md)
* [LaTeX-projekt med flera filer](/latex/sv/dokumentstruktur/08-multi-file-latex-projects.md)
* [Räknare](/latex/sv/formatering/10-counters.md)
* [Den inte så korta introduktionen till 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/sv/figurer-och-tabeller/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.
