> 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/068-how-to-insert-figures-in-overleaf.md).

# Overleaf에 그림을 삽입하는 방법

Overleaf는 LaTeX 그림을 만드는 세 가지 방법을 제공합니다:

1. 다음을 사용하세요 [**그림 삽입** 버튼을 클릭하세요](#using-insert-figure-to-add-a-figure-to-your-project) (![The Insert Figure button on the editor toolbar](/files/26da85b87b40f986756e9990154ddd3212b578a2))를 사용해 그림을 삽입하려면 **비주얼 편집기** 또는 **코드 편집기**.
2. [이미지를 복사하여 붙여넣기](/latex/ko/knowledge-base/075-how-to-paste-formatted-content-into-overleaf.md#pasting-images-into-your-overleaf-project) 을 **비주얼 편집기** 또는 **코드 편집기**.
3. 사용 **코드 편집기** LaTeX 코드를 작성하여 [그래픽을 삽입하고 figure 환경 안에 배치합니다](/latex/ko/more-topics/27-inserting-images.md).

옵션 1과 2는 그림을 만드는 데 필요한 LaTeX 코드를 자동으로 생성하지만, LaTeX를 능숙하게 다룬다면 가장 유연한 옵션 3을 선호할 수 있습니다. LaTeX가 처음이라면 옵션 1인 **그림 삽입** 버튼(이 페이지의 핵심)은 시작하기에 아주 좋은 방법입니다.

이러한 그림 생성 방법을 사용하기 전에, 메인 LaTeX 파일에 다음이 로드되어 있는지 확인하세요: `graphicx` 다음과 같이 작성하여 패키지를 불러옵니다 `\usepackage{graphicx}` 그 파일의 [프리앰블](/latex/ko/latex/01-learn-latex-in-30-minutes.md#the-preamble-of-a-document).

## 비주얼 편집기와 코드 편집기 사용하기

그림을 삽입하는 방법을 설명하기 전에, 다음을 알아두면 좋습니다 **비주얼 편집기**의 그림 미리보기 기능.

그림은 다음에 삽입할 수 있습니다 **비주얼 편집기** 또는 **코드 편집기**, 하지만 오직 **비주얼 편집기** 그림의 미리보기를 제공하고, 변경을 할 수 있는 모달 창을 여는 버튼도 함께 제공합니다. 다음의 짧은 동영상 클립은 **비주얼 편집기**의 그림 미리보기 기능.

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/4ohFnejYVn89OUj2fAbJ6F/18ad3cd10b0b3ceb7955cc651c92eedb/VisualEditorDemo.mp4>" %}

## Insert Figure를 사용하여 프로젝트에 그림을 추가하기

Overleaf LaTeX 문서에 그림을 삽입하려면 다음 단계를 따르세요.

1. 사용할 편집기를 선택하세요: **비주얼 편집기** 또는 **코드 편집기**.
2. 다음을 선택하세요 **그림 삽입** 버튼(![The Insert Figure button on the editor toolbar](/files/26da85b87b40f986756e9990154ddd3212b578a2))를 사용하여 그림 삽입 옵션 목록을 표시합니다:

   ![그림 삽입 옵션 목록](/files/400e4266667aec6eb0d213c2e2bc8fce318994aa)
3. 다음 문서 링크를 사용하여 원하는 옵션으로 이동하세요:

* [컴퓨터에서 업로드](#upload-from-computer)
* [프로젝트 파일에서](#from-project-files)
* [다른 프로젝트에서(동영상 데모)](#from-another-project)
* [URL에서(동영상 데모)](#from-url)

### 컴퓨터에서 업로드

이 옵션은 기기에서 업로드한 그래픽 파일을 사용하여 그림을 만듭니다.

![파일을 업로드할 때 표시되는 컴퓨터에서 업로드 모달](/files/7615a36cb5cc723c489cdda41037035864c0a7e5)

이 옵션을 사용하려면:

1. 다음 방법 중 하나로 그래픽을 업로드하세요:

* 그래픽 파일을 모달 창의 지정된 영역으로 끌어다 놓기
* 이미지를 모달 창의 지정된 영역에 붙여넣기
* 기기에 있는 파일을 직접 선택하기

3. 그래픽 파일에 이름을 지정하세요.
4. (선택 사항) 파일을 저장할 프로젝트 폴더를 선택하세요.
5. 그림 캡션을 사용할지 결정합니다.
6. 레이블을 포함할지 결정하세요(다음 용도: [그림 참조](/latex/ko/more-topics/27-inserting-images.md#labels-and-cross-references)).
7. 이미지 너비를 설정하세요(의 비율로 `\linewidth`).
8. 에서 선택할 수 있습니다. **그림 삽입** 그래픽을 업로드하고 LaTeX를 자동으로 생성하려면 `figure` 선택에 따라 환경을 자동으로 생성합니다.

### 프로젝트 파일에서

이 옵션은 현재 프로젝트에 이전에 업로드한 그래픽 파일 중 하나를 사용하여 그림을 만듭니다.

![그림 생성을 위해 프로젝트 파일을 선택하는 데 사용되는 프로젝트 파일에서 삽입 모달](/files/20b49f9e2a625125337840c774ca4f518781e829)

이 옵션을 사용하려면:

1. 프로젝트에 포함된 그래픽을 선택하세요.
2. 그림 캡션을 사용할지 결정합니다.
3. 레이블을 포함할지 결정하세요(다음 용도: [그림 참조](/latex/ko/more-topics/27-inserting-images.md#labels-and-cross-references)).
4. 이미지 너비를 설정하세요(의 비율로 `\linewidth`).
5. 에서 선택할 수 있습니다. **그림 삽입** LaTeX를 자동으로 생성하려면 `figure` 선택에 따라 환경을 자동으로 생성합니다.

### 다른 프로젝트에서

이 옵션을 사용하면 다른 Overleaf 프로젝트에 포함된 그래픽 파일을 사용해 그림을 만들 수 있습니다. 아래 애니메이션 스크린샷에 표시된 것처럼, 프로젝트를 선택한 다음 이전에 *업로드된* 해당 프로젝트로, 또는 파일 *출력* (생성된) 파일—예를 들어, 다음에 의해 생성된 PDF 그래픽 [TikZ 그래픽 외부화](https://learn.overleaf.com/learn/Questions/I_have_a_lot_of_tikz,_matlab2tikz_or_pgfplots_figures,_so_I%27m_getting_a_compilation_timeout._Can_I_externalise_my_figures%3F#How_to_externalize_TikZ_graphics). 다음 섹션을 참조하세요 [출력 파일에서 선택](#select-from-output-files) 다른 프로젝트에서 생성된 출력 파일을 사용하는 방법을 보여 주는 동영상 클립을 보려면

![다른 프로젝트에서 생성된 파일을 선택하는 방법을 보여 주는 애니메이션 GIF](/files/d0e736c432cb7ea6a7e0345db2127315e0c48071)

이 옵션을 사용하려면:

1. 현재 프로젝트에서 사용하려는 그래픽 파일이 포함된 프로젝트를 선택하세요.
2. 해당 프로젝트의 그래픽 중 하나를 선택하세요:
   * 하나의 **이미지 파일** *업로드된* 해당 프로젝트에, 또는
   * 하나의 [**출력 파일**](#select-from-output-files) *생성된* 해당 프로젝트에서.
3. 그래픽 파일에 이름을 지정하세요.
4. (선택 사항) 파일을 저장할 프로젝트 폴더를 선택하세요.
5. 그림 캡션을 사용할지 결정합니다.
6. 레이블을 포함할지 결정하세요(다음 용도: [그림 참조](/latex/ko/more-topics/27-inserting-images.md#labels-and-cross-references)).
7. 이미지 너비를 설정하세요(의 비율로 `\linewidth`).
8. 에서 선택할 수 있습니다. **그림 삽입** LaTeX를 자동으로 생성하려면 `figure` 선택에 따라 환경을 자동으로 생성합니다.

#### 출력 파일에서 선택

아래 동영상 클립은 그림을 현재 프로젝트에 삽입하는 과정을 안내합니다. 이는 다음을 생성하는 다른 프로젝트에서 생성된 파일을 활용합니다 [외부화된 TikZ 그래픽](/latex/ko/questions-and-answers/60-i-have-a-lot-of-tikz-matlab2tikz-or-pgfplots-figures-so-i-m-getting-a-compilation-timeout.-can-i.md#how-to-externalize-tikz-graphics).

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/1hcdCRW7PFioG58vexEMpf/60b86288419fea290ad4b43a633afda3/FigureFromExternalProjectFile.mp4>" %}

### URL에서

이 옵션을 사용하면 URL을 통해 프로젝트에 추가(다운로드)한 그래픽으로 그림을 만들 수 있습니다.

![URL을 통해 파일을 다운로드하는 모달 창을 보여 주는 이미지](/files/456c6fdbab4bcfdfb3e26df686d3dcb8dd452a5b)

이 옵션을 사용하려면:

1. 다음을 붙여넣으세요: [직접 다운로드 링크](https://en.wikipedia.org/wiki/Direct_download_link) (URL)을 다음에: **이미지 URL** 필드.
2. 그래픽 파일에 이름을 지정하세요.
3. (선택 사항) 저장할 프로젝트 폴더를 선택하세요.
4. 그림 캡션을 포함할지 결정하세요.
5. 레이블을 포함할지 결정하세요(다음 용도: [그림 참조](/latex/ko/more-topics/27-inserting-images.md#labels-and-cross-references)).
6. 이미지 너비를 설정하세요(의 비율로 `\linewidth`).
7. 에서 선택할 수 있습니다. **그림 삽입** LaTeX를 자동으로 생성하려면 `figure` 선택에 따라 환경을 자동으로 생성합니다.

다음 동영상 클립은 다음을 사용하는 방법 [Google Drive 다운로드 URL](/latex/ko/knowledge-base/051-how-can-i-upload-files-from-google-drive.md). 또한 그림 크기를 변경하고 캡션을 추가하는 방법도 보여 줍니다.

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/29hcjGmsEQewhuCVQaWkSr/2cef229050a36a87b86dc0aabdde2858/InsertFigureURL.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/068-how-to-insert-figures-in-overleaf.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.
