> 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/vragen-en-antwoorden/59-i-have-a-lot-of-.cls-.sty-.bst-files-and-i-want-to-put-them-in-a-folder-to-keep-my-project-unclut.md).

# Ik heb veel .cls-, .sty- en .bst-bestanden, en ik wil ze in een map plaatsen om mijn project overzichtelijk te houden. Maar mijn project kan ze niet vinden om correct te compileren

Het goede nieuws is dat we aangepaste `TEXINPUTS` mappen kunnen opgeven met het `latexmkrc` bestand, zodat Overleaf weet dat het in die map naar de pakketbestanden moet zoeken.

Stel dat je om dit te doen deze pakketbestanden in een map hebt geplaatst met de naam `tex/`; en respectievelijk bibliografiestijlbestanden in een map met de naam `bst/`:

1. Klik bovenaan de Project-zijbalk op “Bestand toevoegen”.
2. Selecteer “Leeg bestand” en sla het bestand op met de naam `latexmkrc` (als het daar nog niet staat).
3. Zet de volgende regel in `latexmkrc`:

   ```
   $ENV{'TEXINPUTS'}='./tex//:' . $ENV{'TEXINPUTS'};
   $ENV{'BSTINPUTS'}='./bst//:' . $ENV{'BSTINPUTS'};
   ```

   (of wijzig dit naar de relevante mapnamen in je project)

Overleaf doorzoekt nu eerst de `tex/` map voordat het de systeem `TEXINPUTS` doorzoekt om pakketbestanden te vinden, en `bst/` map voordat het de systeem `BSTINPUTS` om bibliografiestijlbestanden te vinden.

(Bron: <http://tex.stackexchange.com/a/50847/226>)

**Opmerking**: Je hoofddocumentbestand en je `latexmkrc` bestand moeten op het hoogste niveau van je project blijven, niet in een map.


---

# 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/vragen-en-antwoorden/59-i-have-a-lot-of-.cls-.sty-.bst-files-and-i-want-to-put-them-in-a-folder-to-keep-my-project-unclut.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.
