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

# Відстежуйте свої мітки за допомогою showlabels

**Автор: Джеймс Аллен (січень 2012)**

Коли я пишу довгі документи LaTeX, я завжди ловлю себе на тому, що бігаю вперед і назад по коду, намагаючись згадати, як я назвав `\label`. Щоб не втрачати своє місце в коді, я використовую [`showlabels`](https://ctan.org/pkg/showlabels?lang=en) пакет, який відображає назву мітки поруч із відповідним рівнянням. Тоді я можу подивитися в PDF, де легше знайти потрібне мені рівняння, і мені не потрібно бігати по коду. Він працює майже з усім, чому можна призначити `\label` до чого. Чудово!

**Використання**

У преамбулі вставте:

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

**Приклад виводу**

![ShowlabelsExample.png](/files/4557a392b8d4773525ad8c199a4f8d9daa6149c8)

**Параметри**

Ви можете вказати параметр для showlabels, щоб повідомити йому, де розміщувати мітки:

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

Доступні параметри такі (взято з [документації](https://ctan.org/pkg/showlabels?lang=en)):

* `outer` \[типово] — усі примітки розміщуються у зовнішньому полі тексту
* `inner`— внутрішнє поле
* `left`— ліве поле
* `right`— праве поле
* `marginal` \[типово] — розміщуйте примітки на полі
* `вбудованому`— розміщуйте примітки в рядку, наскільки це можливо, і ігноруйте будь-які наведені вище параметри розміщення в полі
* `nolabel`— не вставляти примітку на полі для `\label` команди
* `чернетка` \[типово] — нічого не робить, пара до...
* `кінцевий`— вимикає всю функціональність пакета

Зверніть увагу, що `showlabels` слід включати після пакетів `amsmath` та `hyperref` щоб він коректно працював із ними. Див. [офіційну документацію (PDF)](http://mirrors.ctan.org/macros/latex/contrib/showlabels/showlabels.pdf) для отримання додаткових відомостей.


---

# 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/uk/pitannya-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.
