> 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/knowledge-base/077-how-to-search-in-an-overleaf-project.md).

# Overleaf 프로젝트에서 검색하는 방법

이 문서에서는 Overleaf 프로젝트에서 텍스트를 검색하는 두 가지 방법을 설명합니다.

* [**현재 파일 내 검색 및 바꾸기**](#search-and-replace-within-the-current-file) 편집기에서 현재 열려 있는 편집 가능한 파일 내의 텍스트를 찾고 바꿀 수 있습니다.
* [**프로젝트 전체 검색**](#project-wide-search) 프로젝트의 모든 텍스트 파일을 대상으로 검색할 수 있습니다.

## 현재 파일 내 검색 및 바꾸기

이 기능을 사용하면 편집기에 표시된 편집 가능한 파일 내의 텍스트를 찾고 바꿀 수 있습니다. 이 기능은 다음과 같은 읽기 전용 파일에는 사용할 수 없습니다:

* 텍스트 파일 [외부 URL에서 업로드된](/latex/ko/knowledge-base/081-how-to-upload-a-file-using-an-external-url.md), Google Drive에 저장된 파일을 포함하여, 그리고 `.bib` 에서 가져온 파일(참고문헌 라이브러리) [Papers](/latex/ko/knowledge-base/071-how-to-link-papers-to-your-overleaf-account.md), [Mendeley](/latex/ko/knowledge-base/070-how-to-link-mendeley-to-your-overleaf-account.md), 또는 [Zotero](/latex/ko/knowledge-base/073-how-to-link-zotero-to-your-overleaf-account.md)
* 크기가 2MB를 초과하는 텍스트 파일은 편집기가 이를 읽기 전용으로 취급하기 때문에

### 검색 및 바꾸기에 접근하는 방법

이 기능에 접근하려면 다음 방법 중 하나를 사용하세요:

1. 키보드 단축키:

* Windows/Linux: Ctrl+f
* Mac OS: Cmd+f

3. 다음을 선택하세요 **검색 전환** 아이콘, 편집기 위에 위치:

![파일 검색 위치를 보여주는 이미지](/files/3b040f745bfd0e1b738aeebc621dddab08c84c3d)

두 방법 중 어느 것을 사용해도 편집기 하단에 있는 검색 패널이 표시됩니다.

![파일 검색 패널의 위치를 보여주는 이미지](/files/d800fe11736ede90d5c2acf612575a874911fc6b)

검색 패널에는 다음 제어 항목이 제공됩니다.

![파일 검색 패널에 제공되는 제어 항목을 보여주는 이미지](/files/92bd5e68d163dbb34db4487dd51a91ce9e189184)

### 검색 또는 검색 및 바꾸기 사용 방법

1. 다음 옵션 중 하나 이상을 선택해 검색을 구성할 수 있으며, 아무것도 선택하지 않고 검색해도 됩니다.

* ![Icon for case sensitive search](/files/925988abf71840fde6f1ef01667b7dc6b57f1a0f): 대/소문자를 구분하여 검색
* ![Icon for searching using regular expressions](/files/72d0664a2d5a37038cd87d3ced8a5e102baeacea): 정규 표현식 사용
* ![Icon for whole word search](/files/cd2a000b510f34d6074ef51b2d247814ca19fd77): 전체 단어만 검색
* ![Icon for searching within selected text](/files/1c55c430013d9f731e72f3659a6dde038aecbbfb): 편집기에서 강조 표시된 텍스트 내에서만 검색

3. 검색 옵션을 선택한 후, **검색할 내용**이라고 표시된 상자에 검색어를 입력하세요. Overleaf는 입력하는 동안 검색을 시작하고 첫 번째 일치 결과를 강조 표시합니다.
4. 다음 및 이전 버튼을 사용하여 추가 검색 결과를 찾을 수 있습니다.

![이전 및 다음 검색 결과 제어를 보여주는 이미지](/files/b60f4762d967e6b2edaddf96eb1a88b7949b1cdf)

6. 검색 결과의 텍스트를 바꾸려면 **바꿀 내용** 에 대체 텍스트를 입력하고 다음 방법 중 하나를 사용하세요:

* *수동 바꾸기*: **바꾸기** 를 선택하여 개별 일치 항목을 업데이트하고 Overleaf가 다음 일치 항목을 강조 표시하게 합니다. 이전/다음 버튼을 사용하여 결과를 계속 이동한 다음 **바꾸기** 를 클릭하여 추가 일치 항목을 업데이트합니다.
* *자동 바꾸기*: **모두 바꾸기** 를 사용하면 모든 일치 항목을 한 번에 바꿀 수 있습니다.

8. **참고**: 검색 버튼(![A button to access project-wide search](/files/e3fdc6ce64ebc2f6f399c254f03d89666d85d01d))을 선택하면 프로젝트 전체 검색으로 전환됩니다.

## 프로젝트 전체 검색

이 기능을 사용하면 프로젝트의 모든 파일에서 텍스트를 검색할 수 있으며, 파일 크기가 2MB 미만인 경우에만 가능합니다. 2MB보다 큰 파일은 검색 결과에서 제외됩니다(예시는 [비디오](#video-demonstrating-project-wide-search) 를 참조하세요).

### 프로젝트 전체 검색에 접근하는 방법

이 기능에 접근하려면 다음 방법 중 하나를 사용하세요:

1. 키보드 단축키:

* Windows/Linux: Ctrl+Shift+f
* Mac OS: Cmd+Shift+f

3. 다음을 선택하세요 **검색** 아이콘, 파일 트리 위에 위치:

![프로젝트 전체 검색 아이콘의 위치를 보여주는 이미지](/files/a71735df901732fe295300ea22dd9ff6fbe92e95)

5. 검색 버튼(![A button to access project-wide search](/files/e3fdc6ce64ebc2f6f399c254f03d89666d85d01d))을 [검색 패널](#how-to-access-search-and-replace).

에 있는 버튼을 선택하세요. 이러한 방법을 사용하면 파일 트리를 일시적으로 숨기는 검색 상자가 표시됩니다.

![프로젝트 전체 검색 상자를 보여주는 이미지](/files/c4a706abb305fefc7f1a7104b5b48cf15f2d4009)

### 프로젝트 전체 검색 사용 방법

1. 다음 옵션 중 하나 이상을 선택해 검색을 구성할 수 있으며, 아무것도 선택하지 않고 검색해도 됩니다.

![프로젝트 전체 검색을 구성하는 제어 항목을 보여주는 이미지](/files/a64fe2a40810ab6f4e7da917da997bd2cf8d4fe0)

* ![Icon for case sensitive search](/files/925988abf71840fde6f1ef01667b7dc6b57f1a0f): 대/소문자를 구분하여 검색
* ![Icon for searching using regular expressions](/files/72d0664a2d5a37038cd87d3ced8a5e102baeacea): 정규 표현식 사용
* ![Icon for whole word search](/files/cd2a000b510f34d6074ef51b2d247814ca19fd77): 전체 단어만 검색

4. 제공된 상자에 검색어를 입력하고 검색 아이콘(![Image showing project-wide search icon](/files/71fdca518425cdbcf73db4d9bc46c10335f4408e))을 선택하거나 return 키를 누르세요.
5. 검색 결과가 있으면 파일별로 목록화되어 그룹화됩니다.
6. 검색 결과를 선택하면 해당 파일 위치로 이동합니다.

### 프로젝트 전체 검색을 보여주는 비디오

다음 비디오는 Overleaf 프로젝트 [Typeset, TeX, e-TeX 또는 pdfTeX의 소스 코드 문서](https://www.overleaf.com/latex/examples/typeset-the-source-code-documentation-for-tex-e-tex-or-pdftex/qkgfgyspnhcv)를 사용한 프로젝트 전체 검색을 보여줍니다. 이 프로젝트는 큰 `.tex` 파일을 포함하고 있기 때문에 선택되었습니다. 여기에는 `pdftex.tex`가 포함되며, 이 파일은 2MB 크기 제한을 초과하므로 검색 결과에서 제외됩니다.

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/21dsGfzi4yynX5beA2eBz3/4bd76333ece5ae522e09bb9745b8d6ca/NewSearch.mp4>" %}


---

# 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/knowledge-base/077-how-to-search-in-an-overleaf-project.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.
