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

# showlabels로 레이블을 추적하기

**저자: James Allen (2012년 1월)**

긴 LaTeX 문서를 작성할 때마다 저는 항상 코드에서 앞뒤로 왔다 갔다 하며 내가 무엇에 어떤 이름을 붙였는지 기억하려고 하게 됩니다 a `\label`. 코드에서 제 위치를 잃지 않기 위해 저는 그 [`showlabels`](https://ctan.org/pkg/showlabels?lang=en) 패키지로, 해당 방정식 옆에 레이블 이름을 표시합니다. 그러면 PDF에서 찾고 있는 방정식을 더 쉽게 찾을 수 있어 코드 안을 이리저리 이동할 필요가 없습니다. 이는 여러분이 a `\label` 에. 정말 훌륭합니다!

**사용법**

서문에 다음을 넣으세요:

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

**예시 출력**

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

**옵션**

showlabels에 옵션을 제공하여 레이블을 어디에 배치할지 지정할 수 있습니다:

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

사용 가능한 옵션은 다음과 같습니다(다음에서 가져옴 [설명서](https://ctan.org/pkg/showlabels?lang=en)):

* `바깥쪽` \[기본값]—모든 주석은 본문의 바깥쪽 여백에 배치됩니다
* `안쪽`—안쪽 여백
* `왼쪽`—왼쪽 여백
* `오른쪽`—오른쪽 여백
* `여백` \[기본값]—주석을 여백에 배치합니다
* `인라인`—가능한 한 주석을 본문 안에 배치하고 위의 여백 배치 옵션은 무시합니다
* `레이블 없음`—에 대한 여백 주석을 삽입하지 않습니다 `\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/ko/latex-2/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.
