> 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/tex-latex-1/07-overfullrule.md).

# \overfullrule

`\overfullrule[=]` *차원*

다음과 같음:

* “`[=]`”은 등호가 선택 사항임을 의미합니다.
* *차원* 은 TEX가 이해할 수 있는 단위로 지정된 값입니다. 예: pt, bp, mm 등.

TEX이 hbox가 넘침(overfull) 상태임을 감지하면—예를 들어 조판된 문단의 한 줄이나 어떤 텍스트가 들어 있는 `\hbox{..}`—그 정보는 로그 파일에 기록됩니다. 또한 TEX 엔진은 다음도 제공합니다. `\overfullrule` 이 명령을 사용하여 TEX에게 문제가 있는 박스의 끝에 짧은 선을 추가하도록 지시할 수 있으며, 이는 사용자에게 시각적 경고로 작용합니다.

**사용 예**

“=” 기호는 선택 사항이므로 다음과 같이 쓸 수 있습니다 `\overfullrule=10pt` 또는 `\overfullrule 10pt`.

LATEX는 다음과 같이 설정한다는 점에 유의하세요 `\overfullrule` 를 0pt로, Plain TEX는 이를 5pt로 설정합니다.

#### 예제

다음과 같은 `\hbox{}` 넘치게 될 것입니다: `\hbox to 10pt{This box will be overfull}` 그리고 `\overfullrule` 를 0이 아닌 값, 예를 들어 10mm로 설정합니다:

```
\overfullrule=10mm\hbox to 10pt{This box will be overfull}\par
```

다음 그림은 출력 결과를 보여 줍니다:

![](/files/4d8ccfdcd5d8d1cc90fb5fb7c6a7f13849d5c723)

보시다시피, 길이 10mm의 선이 넘친 `\hbox`. 이제 `\overfullrule=0mm` 를 설정하여 넘친 박스의 선이 표시되지 않도록 합니다:

```
\overfullrule=0mm\hbox to 10pt{This box will be overfull}
```

다음 그림은 출력 결과를 보여 줍니다:

![](/files/31e1f374bc30601b7beb6d909f8d37890203f2ed)

그 결과 `\hbox` 는 여전히 넘친 상태이지만, 이번에는 그 사실을 강조하기 위해 overfull 선 없이 표시됩니다.

#### 또 다른 예: 문단의 줄

TEX이 문단을 조판된 텍스트의 줄로 나눌 때, 문단의 각 줄은 다음에 저장됩니다. `\hbox`. TEX은 다음을 설정하여 넘친 줄을 표시하도록 할 수 있습니다. `\overfullrule` 를 0이 아닌 값으로 설정합니다. 다음 예는 문단의 넘친 줄 끝에 overfull 선이 표시되는 모습을 보여줍니다.

문단을 만들기 위해 좁은 `\vbox`, 설정하고 `\overfullrule=10pt`, 그리고 테두리가 있는 박스를 그립니다. 우리가 다음을 사용했기 때문에 `\verb` 명령을 사용했으므로 먼저 `\vbox` 을 박스 레지스터(100)에 저장한 다음 LATEX 명령(매크로) `\fbox` 을 사용하여 주변에 딱 맞는 테두리를 그려 넘친 줄을 더 쉽게 볼 수 있습니다.

```
\overfullrule=10pt
\setlength{\fboxsep}{0pt}% 틈이 없도록 딱 맞는 테두리를 보장하기 위해
\setbox100=\vbox{\hsize=30mm 이 vbox 안에서 우리는
줄 너비를 \verb|\hsize=30mm|를 사용하여 30mm로 설정합니다.
우리는 \verb|\vbox| 안에 일부 텍스트를 조판하고 있습니다
왜냐하면 이것이 \TeX{}가 줄바꿈을 수행하게 하고
문단을 수평 박스들의 쌓음으로 구성하게 만들기 때문입니다.
어떤 줄에서는 \TeX{}가 좋은
줄바꿈을 찾지 못할 수 있으며, 그 결과 줄이 너무 넓어져
30mm 너비 안에 들어가지 못할 수 있습니다. \verb|\overfullrule|이
0이 아닌 값(10pt)이므로, 그런 넘친 줄은
너비 10pt의 overfull 선으로 표시됩니다. \TeX{}에게는,
이 박스는 여전히 30mm 너비로 간주되며, 비록
일부 줄이 맞지 않고 \verb|\overfullrule|
너비 10pt가 일부 줄의 끝에 추가되더라도 그렇습니다.}
\fbox{\copy100}
```

다음 그림은 출력 결과를 보여 줍니다:

![](/files/10e99cfd6254a22c9e53cb2c76fb4d4174a70b26)


---

# 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/tex-latex-1/07-overfullrule.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.
