> 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/28-no-positions-in-optional-float-specifier.md).

# Geen posities in optionele floatspecifier

Dit is een standaard LaTeX-fout die verschijnt wanneer je geen [float-specificatie](/latex/nl/afbeeldingen-en-tabellen/02-positioning-images-and-tables.md) in de opties van een float, d.w\.z. de **`ht`** in **`\begin{figure}[ht]`**. De parameter voor de float-specificatie is een optie waarmee we meer controle hebben over waar een figuur wordt geplaatst. De verschillende plaatsingsopties die we hebben, worden hieronder opgesomd:

| Specificatie | Toestemming                                                                                                                                      |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| h            | Plaats de float *hier*, d.w\.z., *ongeveer* op ongeveer dezelfde plek waar het in de brontekst voorkomt (maar niet *exact* precies op die plek)  |
| t            | Plaats aan de *bovenkant* van de pagina.                                                                                                         |
| b            | Plaats aan de *onderkant* van de pagina.                                                                                                         |
| p            | Zet op een speciale *page* alleen voor floats.                                                                                                   |
| !            | Overschrijf interne parameters die LaTeX gebruikt om 'goede' floatposities te bepalen.                                                           |
| H            | Plaatst de float precies op de locatie in de LaTeX-code. Vereist het *float* pakket (*\usepackage{float}*). Dit komt enigszins overeen met *h!*. |

Deze *float-specificaties* kunnen tussen de vierkante haken worden geplaatst wanneer we een float aanmaken, zoals **`\begin{figure}[h]`**. Ze kunnen zelfs in combinaties worden geplaatst, zoals **`\begin{figure}[!htb]`**, wat LaTeX vertelt de figuur te plaatsen *hier*, of *bovenkant*, of *onderkant*. Als je de vierkante haken leeg laat door iets te schrijven als **`\begin{table}[]`**, verschijnt er een foutmelding zoals die hieronder wordt getoond.

main.tex

Geen posities in optionele float-specificatie.

## Hoe de fout op te lossen

**De vierkante haken verwijderen:**

De eenvoudigste manier om van deze fout af te komen is de vierkante haken te verwijderen wanneer we geen float-specificatie gebruiken, d.w\.z. in plaats van te schrijven **`\begin{figure}[]`**, kun je gewoon schrijven **`\begin{figure}`**.

**Een float-specificatie invoegen:**

Een andere manier om deze fout op te lossen is door een [float-specificatie](/latex/nl/afbeeldingen-en-tabellen/02-positioning-images-and-tables.md) die LaTeX vertelt waar je wilt dat je float verschijnt. Dit moet tussen de vierkante haken worden opgenomen, zoals **`\begin{figure}[h]`** of **`\begin{table}[!htb]`**.


---

# 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/28-no-positions-in-optional-float-specifier.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.
