> 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/45-how-to-create-matrices-in-latex.md).

# LaTeX에서 행렬을 만드는 방법

이것은 [빈센트 나이트 박사](http://bit.ly/186ai3Z) 카디프 대학교의 21편 시리즈 중 16번째 영상입니다. 이 영상에서 Vince는 LaTeX에서 행렬을 빠르게 작성하는 방법을 보여주며, 다음을 사용합니다 `amsmath` 패키지와 `\pmatrix` (중괄호가 있는 행렬의 경우), `\matrix` (괄호가 없는 행렬의 경우), 그리고 `\vmatrix` (행렬의 행렬식을 나타내는 데 사용됨) 명령입니다. 다음은 마지막 예제의 코드입니다:

```latex
$$
\begin{vmatrix}
a&b\\
c&d\\
e&f\\
\end{vmatrix}
$$
```

{% embed url="<https://www.youtube.com/embed/JDsirwrf1Bg>" %}

위의 예제(영상에도 나와 있음)는 여기에서도 템플릿으로 제공됩니다. 직접 시도해 보려면 여기를 클릭하여 ['Matrices' 예제를 열어보세요](https://www.overleaf.com/latex/examples/hello-world-example/pwtzfptbxqgb).


---

# 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/45-how-to-create-matrices-in-latex.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.
