> 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/latex-fouten/19-latex-error-unknown-float-option-h.md).

# LaTeX-fout: onbekende floatoptie \`H'

Deze fout verschijnt wanneer je bent vergeten het te laden **`float`** pakket. Float-specificaties worden tussen vierkante haken geschreven telkens wanneer we een *float* zoals een afbeelding of een tabel, d.w\.z. de **`H`** in **`\begin{figure}[H]`**&#x7A;ijn gegenereerd. Het **`H`** float-specificatie maakt deel uit van het **`float`** pakket. Het vertelt de compiler om de afbeelding precies op die locatie op de pagina te plaatsen, in plaats van deze ergens anders naartoe te verplaatsen. Wanneer we deze optie willen gebruiken, moeten we **`\usepackage{float}`** in onze preamble opnemen. Lees meer over hoe je opties gebruikt om floatposities op te geven in onze [documentatie](/latex/nl/afbeeldingen-en-tabellen/02-positioning-images-and-tables.md).

## Veelvoorkomende oorzaken

**Vergeten het te laden `float` pakket:**

De [float-pakket](https://www.ctan.org/pkg/float?lang=en) geeft ons de `H` optie. Dit is een sterkere versie van `h`, en vertelt LaTeX dat we willen dat de afbeelding *exact* hier verschijnt. Als we de `H` optie gebruiken, maar vergeten op te nemen `\usepackage{float}` in onze preamble, krijgen we een fout zoals hieronder weergegeven

main.tex, regel 12

LaTeX-fout: onbekende floatoptie \`H'.

Raadpleeg de LaTeX-handleiding of LaTeX Companion voor uitleg. Typ H voor directe hulp. ... l.10 \begin{figure}\[H] Optie \`H' genegeerd en \`p' gebruikt.

Om deze fout op te lossen, hoeven we alleen **`\usepackage{float}`** in de preamble van ons document op te nemen, d.w\.z. vóór **`\begin{document}`**


---

# 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/latex-fouten/19-latex-error-unknown-float-option-h.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.
