> 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/23-misplaced-alignment-tab-character.md).

# 잘못된 위치의 정렬 탭 문자 &

이 오류는 정렬 문자 '&'가 잘못 사용될 때 나타납니다. 정렬 문자 *&* 는 다음과 같은 특정 환경에서 요소를 정렬하는 데 사용됩니다. *행렬*, *align*, *table* 등.

## 일반적인 오류 원인

**\\&를 쓰지 않을 때:**

앰퍼샌드를 사용하고 싶을 때 *&* 제목과 같은 글에서 텍스트 문자로 사용하려면 다음과 같이 써야 합니다 `\&`. 그렇게 하지 않으면 아래와 같은 오류가 발생합니다

```latex
회사의 이름은 `Michael & Sons'
```

main.tex, 5행

잘못 배치된 정렬 탭 문자 &.

l.5 회사의 이름은 \`Michael & Sons'입니다. 여기서 왜 탭 표시를 사용하려는지 모르겠습니다. 단순히 앰퍼샌드만 원한다면 해결책은 간단합니다. 지금 \`I\\&'라고 입력하세요. 하지만 위쪽 어딘가의 오른쪽 중괄호가 이전 정렬을 너무 일찍 끝낸 것이라면, 더 많은 오류 메시지가 나올 가능성이 있으며, 지금 \`S'라고 입력해서 무엇을 살릴 수 있는지 확인해 볼 수 있습니다. \[1

이 오류를 수정하려면 다음을 변경하세요. `&` 을 `\&`.

**amsmath:matrix: 대신 사용된 행렬 매크로:**

기본 LaTeX 배포판에는 다음이라는 매크로가 있습니다 *행렬*. 이는 실제로 사용하려는 것이 *환경은* 패키지에서 제공하는 matrix일 때 종종 잘못 사용됩니다. *amsmath* amsmath 패키지를 불러오지 않고 단순히

```latex
$$
\begin{matrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{matrix}
$$
```

라고 쓰면 *잘못 배치된 정렬 탭* 오류 메시지가 나타납니다. 이는 이것이 다음을 사용하는 올바른 방법이 아니기 때문입니다 *행렬* LaTeX 배포판에서 제공하는 매크로입니다. 이 문제를 해결하려면 단순히 *amsmath* 패키지.

```latex
% 서문에 (\begin{document} 전에)
\usepackage{amsmath}

% 문서 본문에서

$$
\begin{matrix}
1 & 2 & 3 \\
4 & 5 & 6 \\
7 & 8 & 9
\end{matrix}
$$
```

![Amsmathmacro.PNG](/files/941cdcf75391125c7c73753b63f7f8c4ae1d7fc9)


---

# 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/23-misplaced-alignment-tab-character.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.
