> 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/kennisbank/086-if-my-latex-project-is-split-into-multiple-tex-files-can-i-edit-them-all-on-overleaf.md).

# Als mijn LaTeX-project in meerdere tex-bestanden is opgesplitst, kan ik ze dan allemaal in Overleaf bewerken?

Voor grotere projecten verdient het vaak de voorkeur om niet alle code in één hoofdbestand op te nemen, maar de inhoud op te splitsen in meerdere bestanden (bijv. hoofdstukken van een scriptie). Het totale project bestaat dan uit één hoofd-texbestand en veel subbestanden.

Deze subbestanden kunnen in zo'n project op Overleaf worden opgenomen door ze als bijlagen te uploaden (via het menu bestanden --> upload in de editor), en op de gebruikelijke manier worden verwezen via `\input` of `\include`.

U kunt deze subbestanden vervolgens rechtstreeks op Overleaf bewerken door er simpelweg op te klikken

Om een korte video te bekijken die dit demonstreert, bekijk onze blogpost over [het schrijven van je scriptie met Overleaf](https://www.overleaf.com/blog/30).

![Schermafbeelding van het bewerken van Overleaf-bestanden](/files/2c63c7b5b9f5a871972960716cb07b1f403e1721)


---

# 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/kennisbank/086-if-my-latex-project-is-split-into-multiple-tex-files-can-i-edit-them-all-on-overleaf.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.
