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

# \synctex

De `\synctex` primitive is een toevoeging aan TEX die wordt geleverd door de [SyncTEX-uitbreiding](https://ctan.org/tex-archive/support/synctex-parser?lang=en). SyncTEX kan worden geactiveerd of gedeactiveerd via een opdrachtregeloptie van de TEX-engine of rechtstreeks in een TEX-bronbestand via de `\synctex` primitive:

**Gebruiksvoorbeelden**

* om SyncTEX te activeren, gebruik `\synctex=1` in je `.tex` bestand;
* om SyncTEX uit te schakelen, gebruik `\synctex=0` in je `.tex` bestand;

Deze beschrijving, geciteerd van [CTAN](https://ctan.org/tex-archive/support/synctex-parser?lang=en):

> Synchronisatie-TEXnologie, genaamd SyncTEX, is een functie van TEX-engines. Het maakt synchronisatie tussen invoer en uitvoer mogelijk, wat betekent dat je van het brondocument naar het opgemaakte materiaal kunt navigeren en omgekeerd. Zo werkt het: tijdens het zetproces van `foo.tex`, schrijven de TEX-engines enkele geometrische informatie in een hulpbestand met de naam `foo.synctex`, deze informatie wordt vervolgens gebruikt door editors of viewers om tussen invoer en uitvoer te navigeren.

SyncTEX wordt ondersteund door Overleaf.

#### Meer informatie over SyncTEX

* [Een TUGBoat-artikel van Jérôme Laurens](http://www.tug.org/TUGboat/tb29-3/tb93laurens.pdf), de auteur van SyncTEX.
* De [GitHub-repository](https://github.com/jlaurens/synctex) van de SyncTEX-parser.


---

# 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/nl/tex-latex-primitieven/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.
