> 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-1/29-there-were-multiply-defined-labels.md).

# 라벨이 여러 번 정의되었습니다

이 오류는 상호 참조와 관련이 있습니다. 서로 다른 객체에 같은 레이블을 여러 번 사용할 때 발생하며, LaTeX가 혼란스러워집니다.  **`\ref{...}`** 사용됩니다.

## 흔한 원인

**같은 레이블을 여러 번 사용함:**

이러한 오류의 가장 기본적인 예는 아래와 같이 서로 다른 객체에 같은 레이블을 붙이는 것입니다

```latex
\section{Section 1}
\label{algebra}

\includegraphics{image.jpg}
\label{algebra}
```

여기서 이미지(image.jpg)와 섹션(Section 1) 모두에 다음 레이블이 지정되었습니다 *algebra*, 이로 인해 LaTeX가 참조할 대상을 혼동하게 됩니다 **`\ref{algebra}` 사용됩니다.** 아래와 같은 오류가 발생합니다

main.tex

중복 정의된 레이블이 있었습니다.

이를 해결하려면 레이블 중 하나의 이름을 다른 것으로 변경하세요.


---

# 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-1/29-there-were-multiply-defined-labels.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.
