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

# У необов’язковому специфікаторі плаваючого елемента немає позицій

Це стандартна помилка LaTeX, яка з’являється, коли ви не вказуєте [специфікаторі плаваючого об’єкта](/latex/uk/risunki-ta-tablici/02-positioning-images-and-tables.md) у параметрах плаваючого об’єкта, тобто **`ht`** % **`\begin{figure}[ht]`**. Параметр-специфікатор плаваючого об’єкта — це опція, яка дає змогу краще контролювати, де розміщується рисунок. Доступні нам різні варіанти розміщення наведено нижче:

| Специфікатор | Дозвіл                                                                                                                                               |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- |
| h            | Розмістити плаваючий об’єкт *тут*, тобто, *приблизно* у тому самому місці, де він з’являється у вихідному тексті (однак не *точно* на цьому місці)   |
| t            | Розташувати *вгорі* сторінки.                                                                                                                        |
| b            | Розташувати *внизу* сторінки.                                                                                                                        |
| p            | Розмістити на окремій *page* лише для плаваючих об’єктів.                                                                                            |
| !            | Перевизначає внутрішні параметри, які LaTeX використовує для визначення «добрих» позицій плаваючих об’єктів.                                         |
| H            | Розміщує плаваючий об’єкт точно в тому місці в коді LaTeX. Потребує пакета *float* пакета (*\usepackage{float}*). Це певною мірою еквівалентно *h!*. |

Ці *специфікатори плаваючих об’єктів* можна розмістити всередині квадратних дужок, коли ми створюємо плаваючий об’єкт, наприклад **`\begin{figure}[h]`**. Їх навіть можна поєднувати, наприклад **`\begin{figure}[!htb]`**, що вказує LaTeX розмістити рисунок *тут*, або *вгорі*, або *внизу*. Якщо ви залишите квадратні дужки порожніми, написавши щось на кшталт **`\begin{table}[]`**, з’явиться повідомлення про помилку, подібне до наведеного нижче.

main.tex

Немає позицій у необов’язковому специфікаторі плаваючого об’єкта.

## Як усунути помилку

**Видалення квадратних дужок:**

Найпростіший спосіб позбутися цієї помилки — прибрати квадратні дужки, коли ми не використовуємо специфікатор плаваючого об’єкта, тобто замість того, щоб писати **`\begin{figure}[]`**, ви можете просто написати **`\begin{figure}`**.

**Вставлення специфікатора плаваючого об’єкта:**

Інший спосіб усунути цю помилку — вставити [специфікаторі плаваючого об’єкта](/latex/uk/risunki-ta-tablici/02-positioning-images-and-tables.md) щоб вказати LaTeX, де саме ви хочете розмістити плаваючий об’єкт. Це слід вказувати у квадратних дужках, наприклад **`\begin{figure}[h]`** або **`\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/uk/pomilki-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.
