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

# Помилка LaTeX: невідома опція плаваючого елемента \`H'

Ця помилка з’являється, коли ви забули завантажити **`float`** пакет. Специфікатори плаваючих об’єктів записуються в квадратних дужках, коли ми використовуємо *float* такий як рисунок або таблиця, тобто **`H`** % **`\begin{figure}[H]`**. **`H`** специфікатор плаваючого об’єкта є частиною **`float`** пакет. Він повідомляє компілятору розмістити рисунок саме в цьому місці на сторінці, замість того щоб переміщувати його кудись іще. Щоразу, коли ми хочемо використовувати цю опцію, ми маємо включити **`\usepackage{float}`** у преамбулу. Щоб дізнатися більше про те, як використовувати параметри для вказання розташування плаваючих об’єктів, перегляньте наш [документації](/latex/uk/risunki-ta-tablici/02-positioning-images-and-tables.md).

## Поширені причини

**Якщо забути завантажити `float` пакета:**

Функція [пакет float](https://www.ctan.org/pkg/float?lang=en) надає нам `H` параметр. Це більш сувора версія `h`, і повідомляє LaTeX, що ми хотіли б, щоб рисунок з’явився *точно* тут. Якщо ми використовуємо `H` параметр, але забудемо включити `\usepackage{float}` у нашу преамбулу, ми отримаємо помилку, подібну до наведеної нижче

main.tex, рядок 12

Помилка LaTeX: невідомий параметр плаваючого об’єкта \`H'.

Див. посібник LaTeX або LaTeX Companion для пояснення. Введіть H для негайної допомоги. ... l.10 \begin{figure}\[H] Параметр \`H' проігноровано, використано \`p'.

Щоб усунути цю помилку, нам просто потрібно включити **`\usepackage{float}`** у преамбулу нашого документа, тобто перед **`\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/uk/pomilki-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.
