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

# Błąd LaTeX: nieznana opcja obiektu pływającego \`H'

Ten błąd pojawia się, gdy zapomnisz załadować **`float`** pakietu. Specyfikatory elementów pływających zapisuje się w nawiasach kwadratowych, gdy używamy *float* takiego jak rysunek lub tabela, tj. **`H`** % **`\begin{figure}[H]`**. Pakiet **`H`** specyfikator elementu pływającego jest częścią **`float`** pakietu. Nakazuje kompilatorowi umieścić rysunek dokładnie w tym miejscu na stronie, zamiast przenosić go gdzie indziej. Za każdym razem, gdy chcemy użyć tej opcji, musimy dołączyć **`\usepackage{float}`** w naszym preambule. Aby dowiedzieć się więcej o używaniu opcji do określania położenia elementów pływających, sprawdź nasz [dokumentację](/latex/pl/rysunki-i-tabele/02-positioning-images-and-tables.md).

## Najczęstsze przyczyny

**Zapomnienie o załadowaniu `float` pakiet:**

Ta [pakietu float](https://www.ctan.org/pkg/float?lang=en) zapewnia nam `H` opcję. To jest silniejsza wersja `h`, i informuje LaTeX, że chcielibyśmy, aby rysunek pojawił *dokładnie* się tutaj. Jeśli użyjemy `H` opcji, ale zapomnimy dołączyć `\usepackage{float}` w naszym preambule, otrzymamy błąd podobny do poniższego

main.tex, wiersz 12

Błąd LaTeX: Nieznana opcja elementu pływającego \`H'.

Zobacz podręcznik LaTeX lub LaTeX Companion, aby uzyskać wyjaśnienie. Wpisz H, aby uzyskać natychmiastową pomoc. ... l.10 \begin{figure}\[H] Opcja \`H' zignorowana, użyto \`p'.

Aby rozwiązać ten błąd, wystarczy dołączyć **`\usepackage{float}`** w preambule naszego dokumentu, tj. przed **`\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/pl/bledy-latex/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.
