> 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/mathematics/03-brackets-and-parentheses.md).

# 대괄호와 소괄호

## 소개

괄호와 대괄호는 수학 공식에서 매우 흔합니다. LaTeX에서는 괄호의 크기와 스타일을 쉽게 제어할 수 있습니다. 이 글에서는 그 방법을 설명합니다.

다음은 LaTeX에서 사용되는 몇 가지 일반적인 수학용 중괄호와 괄호를 나열한 표입니다:

| 종류         | LaTeX 마크업             | 다음과 같이 렌더링됨                |
| ---------- | --------------------- | -------------------------- |
| 괄호; 둥근 괄호  | `(x+y)`               | $$(x+y)$$                  |
| 대괄호; 네모 괄호 | `[x+y]`               | $$\[x+y]$$                 |
| 중괄호; 곡선 괄호 | `\{ x+y \}`           | $${ x+y }$$                |
| 꺾쇠 괄호      | `\langle x+y \rangle` | $$\langle x+y\rangle$$     |
| 파이프; 세로 막대 | `\|x+y\|`             | $$\displaystyle\| x+y \|$$ |
| 이중 파이프     | \`\\                  | x+y\\                      |

## 몇 가지 예

괄호와 대괄호의 크기는 수동으로 설정할 수도 있고, 다음 예시와 같이 문서에서 동적으로 크기를 조절할 수도 있습니다:

```latex
\[
F = G \left( \frac{m_1 m_2}{r^2} \right)
\]
```

[이 LaTeX 코드 조각을 Overleaf에서 열기](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=brackets+and+parentheses+example+1\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5C%5B+%0AF+%3D+G+%5Cleft%28+%5Cfrac%7Bm_1+m_2%7D%7Br%5E2%7D+%5Cright%29%0A%5C%5D%0A%5Cend%7Bdocument%7D)

위 예시는 다음과 같은 출력을 생성합니다:

$$F = G \left( \frac{m\_1 m\_2}{r^2} \right)$$ 괄호나 대괄호를 삽입하려면, `\left` 및 `\right` 명령어를 사용합니다. 괄호가 하나만 있더라도, *둘 다* 명령어는 필수입니다. `\left` 및 `\right` 는 다음 예시에서 보이듯이 크기를 동적으로 조절할 수 있습니다:

```latex
\[
 \left[  \frac{ N } { \left( \frac{L}{p} \right)  - (m+n) }  \right]
\]
```

[이 LaTeX 코드 조각을 Overleaf에서 열기](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=brackets+and+parentheses+example+2\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5C%5B+%0A+%5Cleft%5B++%5Cfrac%7B+N+%7D+%7B+%5Cleft%28+%5Cfrac%7BL%7D%7Bp%7D+%5Cright%29++-+%28m%2Bn%29+%7D++%5Cright%5D%0A%5C%5D%0A%5Cend%7Bdocument%7D)

위 예시는 다음과 같은 출력을 생성합니다:

$$\left\[ \frac{ N } { \left( \frac{L}{p} \right) - (m+n) } \right]$$

다음과 같은 다중 행 방정식을 작성할 때 `align`, `align*` 또는 `aligned` 환경에서, `\left` 및 `\right` 명령어는 균형을 이루어야 합니다 *각 줄에서 그리고 `&`*. 따라서 다음 코드 조각은 오류를 발생시킵니다:

```latex
\begin{align*}
y  = 1 + & \left(  \frac{1}{x} + \frac{1}{x^2} + \frac{1}{x^3} + \ldots  \\
  & \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+%5Cldots++%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)

해결책은 균형을 맞추기 위해 "보이지 않는" 괄호를 사용하는 것입니다. 즉, `\right.` 을 첫 번째 줄 끝에 추가하고, `\left.` 를 두 번째 줄의 시작 부분에 `&`:

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

[이 LaTeX 코드 조각을 Overleaf에서 열기](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=brackets+and+parentheses+example+4\&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+%5Cldots+%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)

위 예시는 다음과 같은 출력을 생성합니다:

![Paren-ex03.png](/files/ea48026127c5bd1141e0ef365fe70855416e9028)

## 종류와 크기 제어하기

괄호의 크기는 이 LaTeX 코드 조각에서 보이듯이 명시적으로 제어할 수 있습니다:

```latex
\[
 \Biggl \langle 3x+7 \biggr \rangle
\]
```

[이 LaTeX 코드 조각을 Overleaf에서 열기](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=brackets+and+parentheses+example+5\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5C%5B%0A+%5CBiggl+%5Clangle+3x%2B7+%5Cbiggr+%5Crangle%0A%5C%5D%0A%5Cend%7Bdocument%7D)

위 예시는 다음과 같은 출력을 생성합니다:

$$\Biggl \langle 3x+7 \biggr \rangle$$

명령어 `\Biggl` 및 `\biggr` 는 구분 기호의 크기를 정합니다 `<` 및 `>` 각각, `l` 또는 `r` 는 왼쪽 또는 오른쪽 괄호인지 표시합니다. 괄호와 크기의 전체 목록은 [참조 안내서](#reference-guide).

## 참조 안내서

| LaTeX 마크업                                                   | 다음과 같이 렌더링됨                                               |
| ----------------------------------------------------------- | --------------------------------------------------------- |
| `\bigl( \Bigl( \biggl( \Biggl(`                             | $$\big( \Big( \bigg( \Bigg($$                             |
| `\bigr] \Bigr] \biggr] \Biggr]`                             | $$\big] \Big] \bigg] \Bigg]$$                             |
| `\bigl\{ \Bigl\{ \biggl\{ \Biggl\{`                         | $$\big{ \Big{ \bigg{ \Bigg{$$                             |
| `\bigl \langle \Bigl \langle \biggl \langle \Biggl \langle` | $$\big \langle \Big \langle \bigg \langle \Bigg \langle$$ |
| `\bigr \rangle \Bigr \rangle \biggr \rangle \Biggr \rangle` | $$\big \rangle \Big \rangle \bigg \rangle \Bigg \rangle$$ |
| `\big\| \Big\| \bigg\| \Bigg\|`                             | $$\big\| ; \Big\| ; \bigg\| ; \Bigg\|$$                   |
| \`\big\\                                                    | \Big\\                                                    |
| `\bigl \lceil \Bigl \lceil \biggl \lceil \Biggl \lceil`     | $$\big \lceil \Big \lceil \bigg \lceil \Bigg \lceil$$     |
| `\bigr \rceil \Bigr \rceil \biggr \rceil \Biggr \rceil`     | $$\big \rceil \Big \rceil \bigg \rceil \Bigg \rceil$$     |
| `\bigl \lfloor \Bigl \lfloor \biggl \lfloor \Biggl \lfloor` | $$\big \lfloor \Big \lfloor \bigg \lfloor \Bigg \lfloor$$ |
| `\bigr \rfloor \Bigr \rfloor \biggr \rfloor \Biggr \rfloor` | $$\big \rfloor \Big \rfloor \bigg \rfloor \Bigg \rfloor$$ |

## 추가 읽을거리

* [수학 표현식](/latex/ko/mathematics/01-mathematical-expressions.md)
* [아래첨자와 위첨자](/latex/ko/mathematics/02-subscripts-and-superscripts.md)
* [amsmath를 사용한 방정식 정렬](/latex/ko/mathematics/06-aligning-equations-with-amsmath.md)
* [수학 모드의 표시 스타일](/latex/ko/mathematics/10-display-style-in-math-mode.md)
* [연산자](/latex/ko/mathematics/07-operators.md)
* [LaTeX2ε에 대한 그다지 짧지 않은 소개](http://www.ctan.org/tex-archive/info/lshort/)


---

# 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/mathematics/03-brackets-and-parentheses.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.
