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

# Behalten Sie mit showlabels den Überblick über Ihre Labels

**Autor: James Allen (Januar 2012)**

Wenn ich lange LaTeX-Dokumente schreibe, springe ich im Code immer wieder vor und zurück und versuche mich daran zu erinnern, wie ich ein `\label`. Um zu verhindern, dass ich im Code meine Stelle verliere, verwende ich das [`showlabels`](https://ctan.org/pkg/showlabels?lang=en) Paket, das den Namen des Labels neben der entsprechenden Gleichung anzeigt. Dann kann ich im PDF nachsehen, wo ich die gesuchte Gleichung leichter finde, und ich muss nicht in meinem Code hin und her springen. Es funktioniert mit fast allem, dem man ein `\label` zuweisen kann. Wunderbar!

**Verwendung**

In die Präambel schreiben Sie:

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

**Beispielausgabe**

![ShowlabelsExample.png](/files/f2a91f89910f7ed8168d7f13f2c72f4091d24181)

**Optionen**

Sie können showlabels eine Option übergeben, um anzugeben, wo es die Labels platzieren soll:

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

Verfügbare Optionen sind (entnommen aus dem [Dokumentation](https://ctan.org/pkg/showlabels?lang=en)):

* `outer` \[Standard]—alle Notizen werden im äußeren Rand des Textes platziert
* `inner`—innerer Rand
* `left`—linker Rand
* `right`—rechter Rand
* `marginal` \[Standard]—Notizen werden im Rand platziert
* `Inline-`—Notizen möglichst im Text platzieren und die oben genannten Optionen zur Randplatzierung ignorieren
* `nolabel`—keine Randnotiz für `\label` Befehle
* `draft` \[Standard]—tut nichts, Gegenstück zu...
* `final`—deaktiviert die gesamte Funktionalität des Pakets

Beachten Sie, dass `showlabels` nach den Paketen eingebunden werden sollte, `amsmath` und `hyperref` damit es korrekt mit ihnen funktioniert. Siehe die [offizielle Dokumentation (PDF)](http://mirrors.ctan.org/macros/latex/contrib/showlabels/showlabels.pdf) für weitere 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/de/latex-fragen/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.
