> 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/tex-latex-primitiven/12-synctex.md).

# \synctex

Die `\synctex` Primitive ist eine Ergänzung zu TeX, bereitgestellt durch die [SyncTeX-Erweiterung](https://ctan.org/tex-archive/support/synctex-parser?lang=en). SyncTeX kann über eine Befehlszeilenoption der TeX-Engine aktiviert oder deaktiviert werden oder direkt in einer TeX-Quelldatei über die `\synctex` Primitive:

**Anwendungsbeispiele**

* um SyncTeX zu aktivieren, verwenden Sie `\synctex=1` in der `.tex-Datei` Datei;
* um SyncTeX zu deaktivieren, verwenden Sie `\synctex=0` in der `.tex-Datei` Datei;

Dieses Zitat stammt aus [CTAN](https://ctan.org/tex-archive/support/synctex-parser?lang=en):

> Synchronisationstechnologie, SyncTeX genannt, ist eine Funktion von TeX-Engines. Sie ermöglicht die Synchronisation zwischen Eingabe und Ausgabe, was bedeutet, vom Quelldokument zum gesetzten Material und umgekehrt zu navigieren. So funktioniert es: Während des Satzprozesses von `foo.tex`, schreiben die TeX-Engines einige geometrische Informationen in eine Hilfsdatei namens `foo.synctex`, diese Informationen werden dann von Editoren oder Viewern verwendet, um zwischen Eingabe und Ausgabe zu navigieren.

SyncTeX wird von Overleaf unterstützt.

#### Weitere Informationen zu SyncTeX

* [Ein TUGboat-Artikel von Jérôme Laurens](http://www.tug.org/TUGboat/tb29-3/tb93laurens.pdf), dem Autor von SyncTeX.
* Die [GitHub-Repository](https://github.com/jlaurens/synctex) des SyncTeX-Parsers.


---

# 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/tex-latex-primitiven/12-synctex.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.
