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

# Lister over tabeller og figurer

## Introduktion

En liste over tabeller og figurer holder oplysningerne organiseret og giver nem adgang til et bestemt element. Denne artikel forklarer, hvordan man opretter en figurliste, en tabelliste og hvordan man ændrer standardtitlen i begge.

Lad os starte med et simpelt eksempel:

```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/1b680e384a885ebebd88e91c5f3324f2c51f378b)

&#x20;[Åbn et eksempel på 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=)

Kommandoerne `\listoffigures` og `\listoftables` er selvforklarende; den første genererer figurlisten og den anden tabellisten. I dette eksempel er der to andre relevante kommandoer:

**\thispagestyle{empty}**

Fjerner sidenummereringen.

**\pagenumbering{arabic}**

Genstart sidenummereringen med arabiske tal.

## Ændring af navnene

Som vist i det følgende eksempel kan standardtitlerne, "List of Tables" og "List of Figures", ændres til enhver anden tekst:

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

\renewcommand{\listfigurename}{Liste over plots}
\renewcommand{\listtablename}{Tabeller}

\begin{document}

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

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

![Listoffiguresandtables.png](/files/8715e34f8bddb64f788b8cc8ec36adc24bbe24b3)

&#x20;[Åbn et eksempel på 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=)

Kommandoerne, der omskriver titlerne, er:

* `\renewcommand{\listfigurename}{Liste over plots}` vil skrive "Liste over plots" i stedet for "Liste over figurer".
* `\renewcommand{\listtablename}{Tabeller}` vil skrive "Tabeller" i stedet for "Liste over tabeller".

Hvis du bruger `babel` -pakken i dit dokument, og du har brug for at bruge en af de foregående kommandoer, skal du placere den inden i klammerne i `\addto\captionsenglish{ }`. I stedet for `english` i `\captionenglish` skriv navnet på det sprog, du har angivet i babel.

**Bemærk**: dit dokument skal muligvis kompileres to gange, før listerne genereres korrekt.

## Yderligere læsning

Se for mere information:

* [Indsættelse af billeder](/latex/da/flere-emner/27-inserting-images.md)
* [Tabeller](/latex/da/figurer-og-tabeller/01-tables.md)
* [Placering af billeder og tabeller](/latex/da/figurer-og-tabeller/02-positioning-images-and-tables.md)
* [Sektioner og kapitler](/latex/da/dokumentstruktur/01-sections-and-chapters.md)
* [Indholdsfortegnelse](/latex/da/dokumentstruktur/02-table-of-contents.md)
* [Indeks](/latex/da/dokumentstruktur/04-indices.md)
* [Ordlister](/latex/da/dokumentstruktur/05-glossaries.md)
* [Sidenummerering](/latex/da/formatering/03-page-numbering.md)
* [Håndtering i et stort projekt](/latex/da/dokumentstruktur/07-management-in-a-large-project.md)
* [LaTeX-projekter med flere filer](/latex/da/dokumentstruktur/08-multi-file-latex-projects.md)
* [Tællere](/latex/da/formatering/10-counters.md)
* [Den ikke så korte introduktion til 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/da/figurer-og-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.
