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

# Nessuna posizione nello specificatore di flottante opzionale

Questo è un errore standard di LaTeX che appare quando non includi un [specificatore di posizionamento](/latex/it/figure-e-tabelle/02-positioning-images-and-tables.md) nelle opzioni di un float, cioè il **`ht`** in **`\begin{figure}[ht]`**. Il parametro dello specifier del float è un'opzione che ci consente di avere un maggiore controllo su dove viene posizionata una figura. Le diverse opzioni di posizionamento disponibili sono elencate di seguito:

| Specificatore | Permesso                                                                                                                                                            |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| h             | Posiziona il float *qui*, cioè, *approssimativamente* allo stesso punto in cui compare nel testo sorgente (tuttavia, non *esattamente* in quel punto)               |
| t             | Posiziona in *alto* della pagina.                                                                                                                                   |
| b             | Posiziona in *basso* della pagina.                                                                                                                                  |
| p             | Metti su una speciale *pagina* solo per i float.                                                                                                                    |
| !             | Sostituisci i parametri interni che LaTeX usa per determinare posizioni “buone” dei float.                                                                          |
| H             | Posiziona il float esattamente nella posizione nel codice LaTeX. Richiede il *pacchetto float* (*\usepackage{float}*). Questo è in qualche modo equivalente a *h!*. |

Questi *specifier del float* possono essere inseriti tra parentesi quadre quando creiamo un float, ad esempio **`\begin{figure}[h]`**. Possono persino essere usati in combinazioni come **`\begin{figure}[!htb]`**, che indica a LaTeX di posizionare la figura *qui*, oppure *alto*, oppure *basso*. Se lasci vuote le parentesi quadre scrivendo qualcosa come **`\begin{table}[]`**, apparirà un messaggio di errore come quello mostrato di seguito.

main.tex

Nessuna posizione nello specificatore opzionale del float.

## Come risolvere l'errore

**Rimuovere le parentesi quadre:**

Il modo più semplice per eliminare questo errore è rimuovere le parentesi quadre quando non stiamo usando uno specifier del float, cioè invece di scrivere **`\begin{figure}[]`**, puoi semplicemente scrivere **`\begin{figure}`**.

**Inserire uno specifier del float:**

Un altro modo per risolvere questo errore è inserire un [specificatore di posizionamento](/latex/it/figure-e-tabelle/02-positioning-images-and-tables.md) che indica a LaTeX dove vuoi che il tuo float appaia. Questo deve essere incluso tra parentesi quadre, ad esempio **`\begin{figure}[h]`** o **`\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/it/errori-latex/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.
