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

# Chyba LaTeXu: Neznámá volba plovoucího objektu \`H'

Tato chyba se objeví, když jste zapomněli načíst **`float`** balíček. Specifikátory plovoucích objektů se zapisují do hranatých závorek vždy, když použijeme *float* například obrázek nebo tabulku, tj. **`H`** v **`\begin{figure}[H]`**. Balíček **`H`** specifikátor plovoucího objektu je součástí **`float`** balíčku. Říká kompilátoru, aby umístil obrázek přesně na toto místo na stránce, místo aby jej přesunul jinam. Kdykoli chceme tuto možnost použít, musíme zahrnout **`\usepackage{float}`** do preambule. Chcete-li si přečíst více o tom, jak používat volby k určení umístění plovoucích objektů, podívejte se na naše [dokumentace](/latex/cs/obrazky-a-tabulky/02-positioning-images-and-tables.md).

## Časté příčiny

**Zapomenutí načíst `float` balíček:**

Ta [balíček float](https://www.ctan.org/pkg/float?lang=en) nám poskytuje `H` možnost. To je silnější verze `h`, a říká LaTeXu, že bychom chtěli, aby se obrázek objevil *přesně* zde. Pokud použijeme `H` možnost, ale zapomeneme zahrnout `\usepackage{float}` do preambule, dostaneme chybu, jako je ta zobrazená níže

main.tex, line 12

Chyba LaTeXu: Neznámá možnost plovoucího objektu \`H'.

Vysvětlení najdete v příručce LaTeX nebo v publikaci LaTeX Companion. Pro okamžitou nápovědu zadejte H. ... ř.10 \begin{figure}\[H] Možnost \`H' ignorována a použita \`p'.

K vyřešení této chyby stačí zahrnout **`\usepackage{float}`** do preambule našeho dokumentu, tj. před **`\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/cs/chyby-latexu/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.
