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

# Falsch platziertes Ausrichtungstabulatorzeichen &

Dieser Fehler tritt auf, wenn das Ausrichtungszeichen '&' falsch verwendet wird. Das Ausrichtungszeichen *&* wird verwendet, um Elemente in bestimmten Umgebungen auszurichten, wie z. B. *Matrix*, *align*, *Tabelle* usw.

## Häufige Fehlerursachen

**Nicht \\& schreiben:**

Wenn Sie ein kaufmännisches Und *&* als Textzeichen in Ihrem Text verwenden möchten, z. B. in einem Titel, müssen Sie es schreiben als `\&`. Wenn Sie das nicht tun, erhalten Sie einen Fehler wie unten gezeigt

```latex
Das Unternehmen heißt `Michael & Sons'
```

main.tex, Zeile 5

Falsch platzierter Ausrichtungs-Tabulatorzeichen &.

l.5 Das Unternehmen heißt \`Michael & Sons' Ich kann nicht herausfinden, warum Sie hier ein Tabulatorzeichen verwenden möchten. Wenn Sie nur ein kaufmännisches Und wollen, ist die Lösung einfach: Tippen Sie jetzt einfach \`I\\&' ein. Aber wenn eine rechte Klammer weiter oben eine frühere Ausrichtung vorzeitig beendet hat, werden Sie wahrscheinlich noch mehr Fehlermeldungen erhalten, und Sie könnten jetzt \`S' eingeben, um zu sehen, was noch rettbar ist. \[1

Um diesen Fehler zu beheben, ändern Sie `&` zu `\&`.

**Matrix-Makro statt amsmath:matrix verwendet:**

In der grundlegenden LaTeX-Distribution gibt es ein Makro namens *Matrix*. Dies wird oft fälschlicherweise verwendet, wenn Sie eigentlich die *Umgebung* Matrix, bereitgestellt vom *amsmath* Paket. Wenn Sie vergessen, das amsmath-Paket zu laden, und einfach schreiben

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

dann wird eine *falsch platzierter Ausrichtungs-Tabulator* Fehlermeldung erscheinen. Dies liegt daran, dass dies nicht die richtige Art ist, das von der LaTeX-Distribution bereitgestellte *Matrix* Makro zu verwenden. Um dieses Problem zu beheben, laden Sie einfach das *amsmath* Paket.

```latex
% In Ihrer Präambel (vor \begin{document})
\usepackage{amsmath}

% In Ihrem Dokument

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

![Amsmathmacro.PNG](/files/a038b44be435ce421def6ab9e5bc972e4df6f4af)


---

# 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/de/latex-fehler/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.
