> 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/bdaeyat-tex-latex/06-hfuzz.md).

# \hfuzz

يوفّر TEX أوامر تتيح لك التأثير في قراره بشأن ما إذا كان سيعتبر الصندوق ممتلئًا أكثر من اللازم وسيبلّغ عنه على هذا النحو — على سبيل المثال في `.log` الملف.

* `\hfuzz[=]` *بُعد*: `\hfuzz` يحدّد مقدار الزيادة التي يمكن أن يتجاوزها المحتوى في `\hbox` يمكن أن يتجاوز عرض ذلك `\hbox` قبل أن يُعتبر ممتلئًا أكثر من اللازم.
* `\vfuzz[=]` *بُعد*: `\vfuzz` يحدّد مقدار الزيادة التي يمكن أن يتجاوزها المحتوى في `\vbox` يمكن أن يتجاوز ارتفاع ذلك `\vbox` قبل أن يُبلَّغ عنه على أنه ممتلئ أكثر من اللازم.

لاحظ أن:

* “`[=]`” تعني أن علامة يساوي اختيارية.
* *بُعد* هو مقدار يُحدَّد بوحدات يستطيع TEX فهمها — مثل pt وbp وmm إلخ.

**أمثلة على الاستخدام**

* `\hfuzz=0.5pt` أو `\hfuzz 0.5pt` (علامة “=” اختيارية)
* `\vfuzz=0.75pt` أو `\vfuzz 0.75pt` (علامة “=” اختيارية)

#### مثال

إذا وضعنا الكلمة “Overleaf” في `\hbox` وقسنا عرضها (باستخدام الخطوط الافتراضية):

```
\setbox99=\hbox{Overleaf}\the\wd99
```

نرى قيمة 36.41675pt. إذا وضعنا الآن “Overleaf” في `\hbox` ضيّق جدًا، لنقل 36pt، وضبطنا [`\overfullrule`](/latex/ar/bdaeyat-tex-latex/07-overfullrule.md) على قيمة غير صفرية:

```
\overfullrule=5mm
\hbox to 36pt{Overleaf}
```

يوضح الرسم التالي المخرجات:

![](/files/d85b66e00a4642151ef069220848b39394c6f64a)

إذا قمنا أيضًا بضبط `\hfuzz=0.5pt` وأعدنا تنفيذ التمرين أعلاه:

```
\overfullrule=5mm
\hfuzz=0.5pt
\hbox to 36pt{Overleaf}
```

الرسم التالي:

![](/files/f240b2b3edec97f5d0267803453e621d960af37f)

يُظهر أن TEX لم يعد يعتبر `\hbox to 36pt{Overleaf}` على أنه ممتلئ أكثر من اللازم، وبالتالي لا يضيف [`\overfullrule`](/latex/ar/bdaeyat-tex-latex/07-overfullrule.md) خطًا، لأن قيمة `\hfuzz` (0.5pt) كافية تمامًا لمنع ذلك.

سلوك `\vfuzz` مماثلة لـ `\hfuzz`— باستثناء أن TEX لا يعرض خطوط الامتلاء الزائد لصناديق vbox.

#### مزيد من التفاصيل حول \hfuzz

ما الذي *فعليًا* يتحقق منه TEX هو الفرق بين الزيادة في عرض المادة وإجمالي انكماش الغراء (من الدرجة الصفرية). على سبيل المثال، لنفترض أن العرض الإجمالي لبعض المحتوى هو 100pt وأن عرض الصندوق المطلوب هو 95pt: الزيادة في العرض التي يحتاج TEX إلى امتصاصها هي 5pt — إذ يحتاج إلى تقليص الغراء المتاح بمقدار 5pt. لنفترض أن إجمالي انكماش الغراء من الدرجة الصفرية هو 4pt، عندئذٍ يقارن TEX القيمة الحالية لـ `\hfuzz` بـ 5pt$$-$$4pt$$=$$1pt.

#### الأوامر ذات الصلة

انظر أيضًا:

* [`\overfullrule`](/latex/ar/bdaeyat-tex-latex/07-overfullrule.md)
* [`\hbadness`](/latex/ar/bdaeyat-tex-latex/05-hbadness.md)


---

# 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/bdaeyat-tex-latex/06-hfuzz.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.
