> 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/24-missing-right-inserted.md).

# 누락된 \right가 삽입됨

이 오류는 수학을 조판할 때 다음이 `\left` 명령이 사용되지만 해당 `\right` 이 누락된 경우 발생합니다. 이 문서는 이 오류의 일반적인 원인과 해결 방법을 설명합니다.

## \left 및 \right 명령에 대한 간단한 소개

다음 `\left` 및 `\right` 명령은 동적으로 크기가 정해지는 구분 기호를 조판하며, 수학식 안에서 다음 형식으로 함께 사용해야 합니다.

$$\verb'\left'\thinspace\textit{delim}*{\thinspace\text{L}}\quad\textit{math expression}\quad \verb'\right'\thinspace\textit{delim}*{\thinspace\text{R}}$$

여기서 $$\textit{delim}*{\thinspace\text{L}}$$ 및 $$\textit{delim}*{\thinspace\text{R}}$$ 는 수식을 감싸는 데 사용되는 구분 기호입니다 $$\textit{math expression}$$. 일반적으로 $$\textit{delim}*{\thinspace\text{L}}$$ 및 $$\textit{delim}*{\thinspace\text{R}}$$ 는 다음 문자 중 하나입니다 `() [] | \| \{ \}` 또는 점 ‘`.`’인데, 이는 “[빈 구분 기호](#forgetting-a-blank-delimiter)”로 사용됩니다.

### 예제

다음은 ...을 사용하는 예제입니다 `\left` 및 `\right` 분수를 완전히 감싸는 괄호를 조판하려면:

```latex
\[
  \left(\frac{x}{y} \right)
\]
```

이 코드는 $$\left(\frac{x}{y}\right)$$

\left 명령을 사용하지 않으면 `\left` 및 `\right` 구분 기호(괄호 포함)를 배치할 때 명령을 사용하지 않으면, 그 구분 기호는 수학식을 완전히 감싸지 못합니다. 예를 들어,

```latex
\[
  (\frac{x}{y})
\]
```

라고 쓰면 다음이 만들어집니다

$$(\frac{x}{y})$$

## 이 오류의 원인과 몇 가지 해결 방법

### \right 명령을 포함하는 것을 잊음

다음과 같이 `\left` 명령을 해당하는 `\right` 없이 쓰는 것은 이 오류의 흔한 원인입니다. 아래 예시에서 보듯이, 이 실수는 다음을 포함한 연쇄적인 오류를 일으킬 수 있습니다. `\right.가 삽입됨`.

```latex
\[
\pi =
\left( \int_{-\infty}^{+\infty} e^{-x^2} dx )
\]
```

[이 예제를 **오류를 생성하는** Overleaf의 예](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Example+demonstrating+a+missing+delimiter\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5C%5B+%0A%5Cpi+%3D+%0A%5Cleft%28+%5Cint_%7B-%5Cinfty%7D%5E%7B%2B%5Cinfty%7D+e%5E%7B-x%5E2%7D+dx+%29%0A%5C%5D%0A%5Cend%7Bdocument%7D)

이러한 오류를 수정하려면, 누락된 `\right` 명령:

```latex
\[
\pi =
\left( \int_{-\infty}^{+\infty} e^{-x^2} dx \right)
\]
```

[이 예제를 **수정된 예시** Overleaf에서](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Correcting+a+missing+delimiter\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5C%5B+%0A%5Cpi+%3D+%0A%5Cleft%28+%5Cint_%7B-%5Cinfty%7D%5E%7B%2B%5Cinfty%7D+e%5E%7B-x%5E2%7D+dx+%5Cright%29%0A%5C%5D%0A%5Cend%7Bdocument%7D)

이 코드는 다음 출력을 생성합니다.

$$\pi = \left( \int\_{-\infty}^{+\infty} e^{-x^2} dx \right)$$

### 빈 구분 기호를 잊음

이 오류의 흔한 원인 중 하나는 아래에 보인 함수와 같은 것을 쓰려고 할 때 발생합니다:

$$f(x)= \left{\begin{array}{lr} 0 & x\leq 0 \ 1 & x > 0 \end{array}\right.$$

이 함수를 다음과 같이 조판하려고 하면

```latex
\[
f(x)= \left\{
  \begin{array}{lr}
      0 & x\leq 0 \\
      1 & x > 0
      \end{array}
\]
```

[이 예제를 **오류를 생성하는** Overleaf의 예](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Example+showing+a+missing+%5Cright+command\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5C%5B+%0Af%28x%29%3D+%5Cleft%5C%7B%0A++%5Cbegin%7Barray%7D%7Blr%7D+%0A++++++0+%26+x%5Cleq+0+%5C%5C%0A++++++1+%26+x+%3E+0+%0A++++++%5Cend%7Barray%7D%0A%5C%5D%0A%5Cend%7Bdocument%7D)

오류가 발생하는데, 이는 `\right` 구분 기호가 없기 때문입니다.

다음을 조판하려면 `\left` 구분 기호만 필요할 때는 점 문자(‘`.`’)를 `\right` 구분 기호로 사용하여 `\right.` 라고 쓰면, 아래와 같이 빈, 즉 “널” 구분 기호가 조판됩니다.

```latex
\[
f(x)= \left\{
  \begin{array}{lr}
      0 & x\leq 0 \\
      1 & x > 0
      \end{array}
\right.
\]
```

[이 예제를 **수정됨** Overleaf의 예](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Using+the+dot+delimiter\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5C%5B+%0Af%28x%29%3D+%5Cleft%5C%7B%0A++%5Cbegin%7Barray%7D%7Blr%7D+%0A++++++0+%26+x%5Cleq+0+%5C%5C%0A++++++1+%26+x+%3E+0+%0A++++++%5Cend%7Barray%7D%0A%5Cright.%0A%5C%5D%0A%5Cend%7Bdocument%7D)

이 수정된 예시는 원하는 결과를 만듭니다:

$$f(x)= \left{\begin{array}{lr} 0 & x\leq 0 \ 1 & x > 0 \end{array}\right.$$

#### 또 다른 방법: cases 환경 사용

다음을 직접 사용하지 않고도 피할 수 있습니다 `\left` 및 `\right` 명령은 `amsmath` 패키지에서 제공하는 cases 환경을 통해 사용할 수 있습니다. 우리의 함수는 아래와 같이 조판할 수 있습니다:

```latex
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
f(x)= \begin{cases}
      0 & x\leq 0 \\
      1 & x > 0
      \end{cases}
\]
\end{document}
```

[이 예제를 Overleaf에서 열기](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Using+the+amsmath+cases+environment\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bamsmath%7D%0A%5Cbegin%7Bdocument%7D%0A%5C%5B+%0Af%28x%29%3D+%5Cbegin%7Bcases%7D+%0A++++++0+%26+x%5Cleq+0+%5C%5C%0A++++++1+%26+x+%3E+0+%0A++++++%5Cend%7Bcases%7D%0A%5C%5D%0A%5Cend%7Bdocument%7D)

### \left 및 \right 명령 안에서 줄 바꿈 사용하기

여러 줄 방정식을 작성할 때는 `amsmath` 패키지 환경을 사용합니다 `align`, `align*` 또는 `aligned`에서 관찰했듯이, `\left` 및 `\right` 명령어는 균형을 이루어야 합니다 *각 줄에서 그리고 `&`*. \left와 \right 쌍 사이에 줄 바꿈을 넣으려고 하면 LaTeX가 일련의 오류를 발생시킵니다. `\left` 및 `\right` 명령들.

다음 코드 조각은 줄 바꿈(`\\`)을 `\left` 및 `\right` 명령 사이에 사용하여 오류와 함께 실패합니다:

```latex
\begin{align*}
y  = 1 + & \left(  \frac{1}{x} + \frac{1}{x^2} + \frac{1}{x^3} + \cdots  \\
  & \quad  + \frac{1}{x^{n-1}} + \frac{1}{x^n} \right)
\end{align*}
```

[이 예제를 **오류를 생성하는** Overleaf의 LaTeX 조각](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=brackets+and+parentheses+example+with+errors\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bamsmath%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cbegin%7Balign%2A%7D%0Ay++%3D+1+%2B+%26+%5Cleft%28++%5Cfrac%7B1%7D%7Bx%7D+%2B+%5Cfrac%7B1%7D%7Bx%5E2%7D+%2B+%5Cfrac%7B1%7D%7Bx%5E3%7D+%2B+%5Ccdots++%5C%5C%0A++%26+%5Cquad++%2B+%5Cfrac%7B1%7D%7Bx%5E%7Bn-1%7D%7D+%2B+%5Cfrac%7B1%7D%7Bx%5En%7D+%5Cright%29%0A%5Cend%7Balign%2A%7D%0A%5Cend%7Bdocument%7D)

#### 이 오류를 수정하는 방법: 두 가지 해결책

**해결책 1: 빈 구분 기호 사용**

이 해결책은 다음을 추가하여 빈 구분 기호를 사용합니다 `\right.` 을 첫 번째 줄 끝에 추가하고, `\left.` 둘째 줄의 시작 부분에, 다음 뒤에 `&`:

```latex
\begin{align*}
y  = 1 + & \left(  \frac{1}{x} + \frac{1}{x^2} + \frac{1}{x^3} + \cdots \right. \\
  &\left. \quad + \frac{1}{x^{n-1}} + \frac{1}{x^n} \right)
\end{align*}
```

[이 예제를 **수정됨** Overleaf의 LaTeX 조각](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Line+breaks+and+delimiters\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bamsmath%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cbegin%7Balign%2A%7D%0Ay++%3D+1+%2B+%26+%5Cleft%28++%5Cfrac%7B1%7D%7Bx%7D+%2B+%5Cfrac%7B1%7D%7Bx%5E2%7D+%2B+%5Cfrac%7B1%7D%7Bx%5E3%7D+%2B+%5Ccdots+%5Cright.+%5C%5C%0A++%26%5Cleft.+%5Cquad+%2B+%5Cfrac%7B1%7D%7Bx%5E%7Bn-1%7D%7D+%2B+%5Cfrac%7B1%7D%7Bx%5En%7D+%5Cright%29%0A%5Cend%7Balign%2A%7D%0A%5Cend%7Bdocument%7D)

이 예제는 다음 출력을 생성합니다:

$$\begin{align\*} y = 1 + & \left( \frac{1}{x} + \frac{1}{x^2} + \frac{1}{x^3} + \cdots \right. \ &\left. \quad + \frac{1}{x^{n-1}} + \frac{1}{x^n} \right)\end{align\*}$$

**해결책 2: 구분 기호 크기를 수동으로 선택**

이를 `\biggl(` 및 `\biggr)` 이는 줄 바꿈을 가로질러 작동하기 때문입니다:

```latex
\begin{align*}
y  = 1 + & \biggl(  \frac{1}{x} + \frac{1}{x^2} + \frac{1}{x^3} + \cdots  \\
  & \quad + \frac{1}{x^{n-1}} + \frac{1}{x^n} \biggr)
\end{align*}
```

[이 예제를 **수정됨** Overleaf의 LaTeX 조각](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Line+breaks+and+delimiters+example+2\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bamsmath%7D%0A%5Cbegin%7Bdocument%7D%0A%5Cbegin%7Balign%2A%7D%0Ay++%3D+1+%2B+%26+%5Cbiggl%28++%5Cfrac%7B1%7D%7Bx%7D+%2B+%5Cfrac%7B1%7D%7Bx%5E2%7D+%2B+%5Cfrac%7B1%7D%7Bx%5E3%7D+%2B+%5Ccdots++%5C%5C%0A++%26+%5Cquad+%2B+%5Cfrac%7B1%7D%7Bx%5E%7Bn-1%7D%7D+%2B+%5Cfrac%7B1%7D%7Bx%5En%7D+%5Cbiggr%29%0A%5Cend%7Balign%2A%7D%0A%5Cend%7Bdocument%7D)

이 해결책은 같은 결과를 만듭니다:

$$\begin{align\*}y = 1 + & \left( \frac{1}{x} + \frac{1}{x^2} + \frac{1}{x^3} + \cdots \right. \ &\left. \quad + \frac{1}{x^{n-1}} + \frac{1}{x^n} \right)\end{align\*}$$

#### 구분 기호 크기를 수동으로 선택할 때의 몇 가지 참고 사항

LaTeX는 다음을 위한 여러 명령을 제공합니다 [구분 기호 크기를 수동으로 설정](/latex/ko/mathematics/03-brackets-and-parentheses.md#reference-guide). 해당 명령으로 선택한 구분 기호는 고정 크기입니다— *작동하지* 감싸는 수학식에 맞게 동적으로 크기가 조정됩니다. 또한 `\left` 및 `\right` 명령들.

구분 기호의 크기는 작은 것부터 큰 것 순으로 `\big`, `\Big`, `\bigg`, 그리고 `\Bigg`입니다. 예를 들면:

| LaTeX 마크업                       | 다음과 같이 렌더링됨                                        |
| ------------------------------- | -------------------------------------------------- |
| `\bigl( \Bigl( \biggl( \Biggl(` | $$\displaystyle\bigl(; \Bigl(; \biggl(; \Biggl($$  |
| `\bigr) \Bigr) \biggr) \Biggr)` | $$\displaystyle\bigr); \Bigr); \biggr); \Biggr);$$ |


---

# 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/24-missing-right-inserted.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.
