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

# لا توجد مواضع في محدد العائم الاختياري

هذا خطأ قياسي في LaTeX يظهر عندما لا تتضمن [مُحدِّد العناصر العائمة](/latex/ar/alashkal-waljdawl/02-positioning-images-and-tables.md) في خيارات كائن عائم، أي **`ht`** في **`\begin{figure}[ht]`**. إن وسيط محدد الكائن العائم هو خيار يتيح لنا تحكمًا أكبر في مكان وضع الشكل. خيارات الموضع المختلفة المتاحة لنا مذكورة أدناه:

| المُحدِّد | الإذن                                                                                                                         |
| --------- | ----------------------------------------------------------------------------------------------------------------------------- |
| h         | ضع العنصر العائم *هنا*، أي، *تقريبًا* في النقطة نفسها التي يظهر فيها في النص المصدر (ولكن ليس *بالضبط* في الموضع)             |
| t         | ضعه عند *أعلى* الصفحة.                                                                                                        |
| b         | ضعه عند *الأسفل* الصفحة.                                                                                                      |
| ص         | وضعه على صفحة خاصة *page* للعناصر العائمة فقط.                                                                                |
| !         | تجاوز المعلمات الداخلية التي تستخدمها LaTeX لتحديد مواضع عائمة «جيدة».                                                        |
| H         | يضع العنصر العائم في الموضع نفسه تمامًا في كود LaTeX. يتطلب *float* الحزمة (*\usepackage{float}*). وهذا يعادل إلى حد ما *h!*. |

هذه *محددات الكائن العائم* يمكن وضعها داخل الأقواس المربعة عند إنشاء كائن عائم، مثل **`\begin{figure}[h]`**. ويمكن حتى وضعها في مجموعات مثل **`\begin{figure}[!htb]`**، مما يخبر LaTeX بوضع الشكل *هنا*، أو *أعلى*، أو *الأسفل*. إذا تركت الأقواس المربعة فارغة بكتابة شيء مثل **`\begin{table}[]`**، ستظهر رسالة خطأ مثل الموضحة أدناه.

main.tex

لا توجد مواضع في محدد الكائن العائم الاختياري.

## كيفية حل الخطأ

**إزالة الأقواس المربعة:**

أبسط طريقة للتخلص من هذا الخطأ هي إزالة الأقواس المربعة عندما لا نستخدم محدد كائن عائم، أي بدلًا من كتابة **`\begin{figure}[]`**، يمكنك ببساطة كتابة **`\begin{figure}`**.

**إدراج محدد كائن عائم:**

طريقة أخرى لحل هذا الخطأ هي بإدراج [مُحدِّد العناصر العائمة](/latex/ar/alashkal-waljdawl/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/ar/akhtaa-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.
