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

# Tieni traccia delle tue etichette con showlabels

**Autore: James Allen (gennaio 2012)**

Ogni volta che scrivo lunghi documenti LaTeX mi ritrovo sempre a saltare avanti e indietro nel codice cercando di ricordare come ho chiamato un `\label`. Per evitare di perdere il punto in cui sono nel codice uso il [`showlabels`](https://ctan.org/pkg/showlabels?lang=en) pacchetto che visualizza il nome dell'etichetta accanto all'equazione corrispondente. Poi posso cercare nel PDF, dove è più facile trovare l'equazione che sto cercando, e non devo saltare nel mio codice. Funziona quasi con tutto ciò a cui puoi assegnare un `\label` a. Meraviglioso!

**Utilizzo**

Nel preambolo inserisci:

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

**Output di esempio**

![ShowlabelsExample.png](/files/57a17cd237f6f56a4de608a0a1b7b0bb1acaec7e)

**Opzioni**

Puoi fornire un'opzione a showlabels per indicargli dove collocare le etichette:

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

Le opzioni disponibili sono (tratte dal [documentazione](https://ctan.org/pkg/showlabels?lang=en)):

* `esterno` \[predefinito]—tutte le note vengono collocate nel margine esterno del testo
* `interno`—margine interno
* `sinistro`—margine sinistro
* `destro`—margine destro
* `marginale` \[predefinito]—mette le note nel margine
* `inline`—mette le note in linea, il più possibile, e ignora tutte le opzioni di collocazione nel margine sopra
* `nolabel`—non inserire una nota marginale per `\label` comandi
* `bozza` \[predefinito]—non fa nulla, complemento di...
* `finale`—disattiva tutte le funzionalità del pacchetto

Nota che `showlabels` dovrebbe essere incluso dopo i pacchetti `amsmath` e `hyperref` per funzionare correttamente con essi. Vedi la [documentazione ufficiale (PDF)](http://mirrors.ctan.org/macros/latex/contrib/showlabels/showlabels.pdf) per maggiori dettagli.


---

# 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/it/domande-su-latex/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.
