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

# オプションの浮動体指定子に位置指定がありません

これは、〜を含めないと表示される標準的な LaTeX のエラーです [フロート指定子](/latex/ja/to/02-positioning-images-and-tables.md) フロートのオプション、つまり **`ht`** を **`\begin{figure}[ht]`**。float 指定子パラメータは、図をどこに配置するかをより細かく制御できるオプションです。利用できる配置オプションは以下のとおりです：

| 指定子 | 許可                                                                               |
| --- | -------------------------------------------------------------------------------- |
| 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/ja/to/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/ja/latexer/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.
