> 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/01-h-float-specifier-changed-to-ht.md).

# !h' 부동체 지정자가 !ht'로 변경됨

LaTeX가 사용자가 지정한 위치에 플로트(예: 이미지나 어떤 종류의 그림)를 배치하는 데 문제가 생길 때를 말합니다 [float 지정자](/latex/ko/figures-and-tables/02-positioning-images-and-tables.md) 즉, **`ht`** 에서 **`\begin{figure}[ht]`** . LaTeX는 큰 빈 공간이나 몰려 있는 단락을 피하기 위해 텍스트의 흐름에 맞는 방식으로 그림을 배치하려고 합니다. 배치 지정자 매개변수를 사용하면 그림이 배치되는 위치를 더 세밀하게 제어할 수 있습니다. 사용할 수 있는 다양한 배치 옵션은 아래와 같습니다:

| 지정자 | 허용                                                                                                  |
| --- | --------------------------------------------------------------------------------------------------- |
| h   | 플로트를 배치 *여기*, 즉, *대략적으로* 원문 텍스트에 나타나는 동일한 위치에 (하지만 *정확히* 그 지점에)                                     |
| t   | 위치시킨다 *상단* 에 배치합니다.                                                                                 |
| b   | 위치시킨다 *하단* 에 배치합니다.                                                                                 |
| p   | 플로트 전용의 특별한 *페이지에* 배치한다.                                                                            |
| !   | LaTeX가 "좋은" 플로트 위치를 결정하는 데 사용하는 내부 매개변수를 무시한다.                                                      |
| H   | 플로트를 LaTeX 코드의 정확한 위치에 배치합니다. 다음이 필요합니다: *float* 패키지(*\usepackage{float}*). 이는 어느 정도 다음과 같습니다 *h!*. |

LaTeX는 우리가 지정한 배치를 따르기 위해 최선을 다하지만, 항상 이를 준수할 수는 없습니다. LaTeX가 원하는 위치에 플로트를 배치하는 데 어려움을 겪으면, 텍스트의 흐름을 끊지 않는 새로운 배치 지정자로 교체할 수 있습니다. 이 경우 아래와 같은 오류 메시지가 표시됩니다.

```latex
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}

\begin{document}

\section{Introduction}
\vspace{10cm}

\begin{figure}[h]
    \centering
    \includegraphics{image.PNG}
\end{figure}

\end{document}
```

그러면 아래와 비슷한 오류 메시지가 생성됩니다

main.tex, 12행

\`h' float 지정자가 \`ht'로 변경되었습니다.

플로트 지정자 **`h`** 단독으로는 보통 LaTeX에 너무 엄격한 명령입니다. 이 오류를 해결하려면 이 요구를 다음으로 완화하는 것이 가장 좋습니다 **`ht`** 즉, 플로트를 다음 중 하나에 배치합니다 *여기* 또는 페이지의 *상단* 에 위치시킵니다. 이 요구는 더 완화하여 **`htbp`** 또는 **`!htbp`** 필요하다면 그렇게 할 수 있습니다. 이 대체를 무시하고 그림을 페이지의 특정 위치에 배치하고 싶다면, 아래에 몇 가지 유용한 방법이 나와 있습니다.

**float 패키지 사용:**

우리가 **`float`** 패키지를 서문에 포함하면, 다음을 사용하는 대신 **`h`** 를 지정하기 위해 *여기* 우리의 float 지정자 옵션에서, 더 강력한 **`H`**&#xB97C; 사용할 수 있으며, 이는 그림이 그 자리에 유지되도록 보장합니다.

```latex
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{float}

\begin{document}

\section{Introduction}

\begin{figure}[H]
    \centering
    \includegraphics{image.PNG}
\end{figure}

\end{document}
```

**placeins 패키지 사용:**

다음을 사용하여 **`placeins`** 패키지를 사용하면 다음을 사용할 수 있습니다: **`\FloatBarrier`** 명령. 우리가 어디에 **`\FloatBarrier`** 명령을 두더라도, 그림이 통과할 수 없는 장벽이 생깁니다. 이는 우리가 다음을 두면 **`\FloatBarrier`** 그림의 양쪽에 명령을 두면, 그 그림은 그 자리에 고정된다는 뜻입니다

```latex
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{placeins}

\begin{document}

\section{Introduction}

\FloatBarrier
\begin{figure}
    \centering
    \includegraphics{image.PNG}
\end{figure}

\FloatBarrier
\end{document}
```

**매개변수 조정:**

LaTeX에게 그림을 장의 끝이 아니라 본문 안에 배치하도록 하려면(기본값임), 문서 서문에서 'float placement' 매개변수를 조정합니다. 유용한 값은 다음과 같습니다.

```latex
\renewcommand\topfraction{.9}
\renewcommand\textfraction{0.35}
\renewcommand\floatpagefraction{0.8}
```


---

# 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/01-h-float-specifier-changed-to-ht.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.
