> 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/15-how-can-i-get-my-table-or-figure-to-stay-where-they-are-instead-of-going-to-the-next-page.md).

# 표나 그림이 다음 페이지로 넘어가지 않고 현재 위치에 있도록 하려면 어떻게 하나요?

보통 다음과 함께 `\begin{figure}` 또는 `\begin{table}` 즉 *플로트*, 기본 배치 지정자는 `[btp]`, 즉 LaTeX가 그림을 \*\*`b`\*\*페이지/열의 아래쪽에; \*\*`t`\*\*페이지/열의 위쪽에; 또는 플로트가 꽤 높다면(캡션 포함), 텍스트 없이 플로트 전용 \*\*`p`\*\*페이지에 텍스트 없이. 이는 전문적인 조판과 출판의 관례를 따르는 것입니다(즉 TeX가 만들어진 목적), 여기서 그림과 표 같은 "플로팅 자료"는 그런 위치에서만 허용됩니다: 만약 페이지 중간에 배치되면 읽기 흐름을 방해하는 것으로 간주되기 때문입니다.

그렇지만 그림이 어디에 나타나길 원하는지는 여전히 조정할 수 있습니다. 다음을 추가하면 `[hbt!]` 다음 뒤에 `\begin{figure}`, 예를 들면:

```latex
\begin{figure}[hbt!]
```

그러면 이는 LaTeX에게 이미지를 바로 여기에 두라고 지시합니다(소스 코드상의 위치에 최대한 가깝게); 또는 그것이 불가능하면(예: 현재 페이지에 들어갈 만큼 너무 크다면) 다음 페이지의 위쪽이나 아래쪽에 둡니다. 느낌표 **`!`** 는 중요합니다. 이는 LaTeX에게 "여기서는 제 선택을 정말 존중해 주세요"라고 알려줍니다.

하지만 그림이 꽤 높고 현재 페이지에 충분한 공간이 없다면(예: 이미 현재 페이지의 끝부분에 가깝다면), 그림은 여전히 다음 페이지의 위쪽으로 이동합니다. 이 경우 다음을 옮겨 보실 수 있습니다 `\begin{figure}[hbt!]...\end{figure}` 코드에서 몇 단락 앞쪽으로 옮겨 보세요. 그러면 그 시점에는 현재 페이지에 아직 더 많은 여유가 있을 수 있습니다.

그래도 안 된다면, 그리고 그림/표가 다음 뒤에 나타나도록 더 앞으로 떠 버렸다면 `\section` 제목 뒤에, 현재 섹션의 끝에 계속 나타나게 하고 싶을 수 있습니다. 그러면 다음을 발행할 수 있습니다 `\clearpage` 다음 전에 `\section` 페이지 나누기를 삽입하여, 대기열에 있는 모든 플로트도 함께 출력한 뒤에 다음 `\section` 제목이 새 페이지에 인쇄됩니다.

또는 다음을 살펴보세요 [`placeins` 패키지](http://texdoc.net/pkg/placeins), 여기서 다음을 추가할 수 있습니다 `\FloatBarrier` 다음 전에 `\section`—또는 다음을 사용해 이를 자동화할 수 있습니다 `section` 패키지 옵션, 즉 다음과 같이 작성하세요 `\usepackage[section]{placeins}` 서문에.


---

# 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/15-how-can-i-get-my-table-or-figure-to-stay-where-they-are-instead-of-going-to-the-next-page.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.
