> 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/nl/latex-vragen/02-keep-track-of-your-labels-with-showlabels.md).

# Houd je labels bij met showlabels

**Auteur: James Allen (januari 2012)**

Wanneer ik lange LaTeX-documenten schrijf, merk ik altijd dat ik in de code heen en weer spring om te proberen te onthouden hoe ik een `\label`. Om te voorkomen dat ik mijn plek in de code verlies, gebruik ik de [`showlabels`](https://ctan.org/pkg/showlabels?lang=en) pakket dat de naam van het label naast de overeenkomstige vergelijking weergeeft. Dan kan ik in de PDF kijken, waar het gemakkelijker is de vergelijking te vinden die ik zoek, en hoef ik niet door mijn code te springen. Het werkt op bijna alles waaraan je een `\label` kunt toewijzen. Prachtig!

**Gebruik**

Zet in je preambule:

```latex
\usepackage{showlabels}
```

**Voorbeelduitvoer**

![ShowlabelsExample.png](/files/6200f6fea9aedad48050fe52e08a56f4d5d4c7ca)

**Opties**

Je kunt aan showlabels een optie meegeven om aan te geven waar het de labels moet plaatsen:

```latex
\usepackage[inline]{showlabels}
```

Beschikbare opties zijn (overgenomen van de [documentatie](https://ctan.org/pkg/showlabels?lang=en)):

* `outer` \[standaard]—alle notities worden in de buitenste marge van de tekst geplaatst
* `inner`—binnenste marge
* `left`—linkermarge
* `right`—rechtermarge
* `marginal` \[standaard]—plaats notities in de marge
* `inline`—plaats notities zoveel mogelijk inline en negeer alle bovenstaande opties voor margeplaatsing
* `nolabel`—voeg geen kanttekening in voor `\label` commando's
* `draft` \[standaard]—doet niets, tegenhanger van...
* `final`—schakelt alle functionaliteit van het pakket uit

Merk op dat `showlabels` na de pakketten moet worden opgenomen `amsmath` en `hyperref` om er correct mee te werken. Zie de [officiële documentatie (PDF)](http://mirrors.ctan.org/macros/latex/contrib/showlabels/showlabels.pdf) voor meer details.


---

# 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/nl/latex-vragen/02-keep-track-of-your-labels-with-showlabels.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.
