> 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/questions-and-answers/66-i-m-trying-to-include-urls-in-my-.tex-or-.bib-but-i-got-an-error-missing-inserted.md).

# .tex 또는 .bib에 URL을 포함하려고 했는데 "Missing $ inserted" 오류가 발생했습니다

URL에 밑줄(\_) 문자가 일부 포함되어 있을 수 있습니다 `_`, 이는 LaTeX에서 특수 문자입니다 — 수학 모드에서는 아래첨자 연산자이며, 예를 들면 `$x_i$` 는 다음을 생성합니다 $$x\_i$$. 일반 텍스트에서 밑줄 문자를 그대로 사용하려면 보통 이스케이프하여 다음과 같이 써야 합니다 `\_`.

다행히도 밑줄이 포함된 URL을 넣는 더 쉬운 방법이 있습니다. 다음을 추가하면 `\usepackage{url}` 또는 `\usepackage{hyperref}` 다음 바로 앞에 `\begin{document}`를 추가하면, 다음과 같이 쓸 수 있습니다:

```latex
\url{https://www.example.com/url_with_underscore}
```

문서에.

자세한 내용은 Overleaf 도움말 문서 [누락된 $가 삽입되었습니다](/latex/ko/latex-1/25-missing-inserted.md).


---

# 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/questions-and-answers/66-i-m-trying-to-include-urls-in-my-.tex-or-.bib-but-i-got-an-error-missing-inserted.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.
