> 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/wissensdatenbank/069-how-to-jump-to-the-source-code-from-the-typeset-pdf-synctex.md).

# Wie springe ich vom gesetzten PDF zum Quellcode (SyncTeX)?

Overleaf ermöglicht es dir, von einer Stelle in der gesetzten PDF-Datei zur entsprechenden Stelle in deinem LaTeX-Quellcode zu wechseln und umgekehrt. **Hinweis**: Diese Funktion wird nicht funktionieren, wenn die Hauptdatei deines Projekts `.tex` in einem Ordner gespeichert ist (d. h. sie muss sich auf der obersten (Root-)Ebene deines Projekts befinden). Mehrere weitere mögliche Ursachen sind aufgelistet [hier](/latex/de/wissensdatenbank/132-synctex-errors.md).

Du kannst entweder:

* auf die PDF doppelklicken, wodurch der Overleaf-Editor zur entsprechenden Stelle im Quellcode scrollt, oder
* die Pfeiltasten verwenden, die sich auf dem Trennstrich zwischen dem Quellcodebereich und dem Vorschaubereich befinden, um von Quelle zu Vorschau oder von Vorschau zu Quelle zu springen:

![Bild, das die Overleaf-Pfeile für Quelle-zu-Vorschau oder Vorschau-zu-Quelle zeigt](/files/3e87ea8987a764b449e92828581e5d3776cbef94)

Wenn du diese Pfeile nicht siehst oder das Doppelklicken auf die PDF nicht funktioniert, musst du sicherstellen, dass der PDF-Viewer deines Projekts auf „Overleaf“ und nicht auf „Browser“ eingestellt ist. Hier ist ein kurzes Video, das zeigt, wie du den PDF-Viewer deines Projekts einstellst, und das die Quell-/PDF-Synchronisationsfunktionen von Overleaf demonstriert.

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/2xt7xSOvXcVqKZEAkxoaJi/76436c82c9382f8e78c84140c96deb40/SyncTeX_video.mp4>" %}

### SyncTeX: Die TeXnologie hinter dieser Overleaf-Funktion

Die Fähigkeit von Overleaf, „zum Quellcodeort springen“ und „zum PDF-Ort springen“, wird mithilfe von SyncTeX implementiert, einer Standardfunktion, die in alle TeX-Engines integriert ist. Leser, die an einer kurzen Einführung in SyncTeX interessiert sind, finden weitere Informationen in [diesem Overleaf-Artikel](/latex/de/weitere-themen/39-mltex-enctex-and-synctex-tex-extensions.md).


---

# 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/wissensdatenbank/069-how-to-jump-to-the-source-code-from-the-typeset-pdf-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.
