> 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/30-there-were-undefined-references.md).

# 정의되지 않은 참조가 있습니다

이 오류는 다음과 같은 경우에 나타납니다 **`\ref{...}`** 가 사용되고 LaTeX가 해당 레이블을 찾을 수 없을 때입니다. 이런 일이 발생하는 경우는 세 가지가 있습니다.

* 오타가 있습니다 **`\label{...}`**
* 오타가 있습니다 **`\ref{...}`**
* 레이블이 하나 빠졌습니다.

예시는 아래에 나와 있습니다

```latex
\section{introduction}\label{introduction}
도입부를 참조할 때의 오타 예시는 \ref{intorduction}입니다.

또 다른 오류는 \ref{section1}처럼 한 번도 정의된 적이 없는 레이블을 참조하는 것입니다
```

이들 각각은 다음과 같은 오류를 생성합니다

main.tex, 6번째 줄

입력 6번째 줄의 \`intorduction' 참조는 1페이지에서 정의되어 있지 않습니다.

main.tex, 6번째 줄

입력 8번째 줄의 \`section1' 참조는 1페이지에서 정의되어 있지 않습니다.

main.tex, 6번째 줄

정의되지 않은 참조가 있었습니다.

이를 피하려면, 우리가 다음을 사용할 때 항상 **`\ref{...}`**, 그에 대응하는 것이 있는지 **`\label{...}`**, 그리고 다음의 인수가 **`\ref{...}`** 및 **`\label{...}`** 같은지 확인해야 합니다.


---

# 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/30-there-were-undefined-references.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.
