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

# Lacak label Anda dengan showlabels

**Penulis: James Allen (Januari 2012)**

Setiap kali saya menulis dokumen LaTeX yang panjang, saya selalu mendapati diri saya bolak-balik dalam kode untuk mengingat apa yang saya beri nama sebuah `\label`. Untuk mencegah saya kehilangan posisi dalam kode, saya menggunakan [`showlabels`](https://ctan.org/pkg/showlabels?lang=en) paket yang menampilkan nama label di samping persamaan yang sesuai. Lalu saya bisa melihat di PDF, di mana lebih mudah menemukan persamaan yang saya cari dan saya tidak perlu berpindah-pindah di kode saya. Paket ini bekerja pada hampir semua hal yang dapat Anda beri sebuah `\label` pada. Luar biasa!

**Penggunaan**

Di preamble Anda, masukkan:

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

**Contoh keluaran**

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

**Opsi**

Anda dapat memberikan opsi kepada showlabels untuk memberi tahu di mana menempatkan label:

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

Opsi yang tersedia adalah (diambil dari [dokumentasi](https://ctan.org/pkg/showlabels?lang=en)):

* `luar` \[default]—semua catatan ditempatkan di margin luar teks
* `dalam`—margin dalam
* `kiri`—margin kiri
* `kanan`—margin kanan
* `marginal` \[default]—tempatkan catatan di margin
* `sebaris`—tempatkan catatan sejajar dalam teks semaksimal mungkin, dan abaikan semua opsi penempatan margin di atas
* `nolabel`—jangan sisipkan catatan margin untuk `\label` perintah
* `draft` \[default]—tidak melakukan apa-apa, pasangan dari...
* `final`—menonaktifkan semua fungsi paket

Perhatikan bahwa `showlabels` harus disertakan setelah paket-paket `amsmath` dan `hyperref` agar dapat bekerja dengan benar bersama mereka. Lihat [dokumentasi resmi (PDF)](http://mirrors.ctan.org/macros/latex/contrib/showlabels/showlabels.pdf) untuk detail lebih lanjut.


---

# 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/id/pertanyaan-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.
