> 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/06-extra-right.md).

# \right إضافي

يحدث هذا الخطأ عند تنضيد المعادلات الرياضية إذا استُخدم الأمر \right لكن كان \left المقابل مفقودًا. تتناول هذه المقالة الأسباب الشائعة لهذا الخطأ وكيفية إصلاحه.

## مقدمة موجزة إلى الأمرين \left و \right

ال `\left` و `\right` تُنسِّق الأوامر محددات ذات حجم ديناميكي ويجب استخدامها معًا، ضمن المادة الرياضية، بالشكل

$$\verb'\left'\thinspace\textit{delim}*{\thinspace\text{L}}\quad\textit{math expression}\quad \verb'\right'\thinspace\textit{delim}*{\thinspace\text{R}}$$

حيث $$\textit{delim}*{\thinspace\text{L}}$$ و $$\textit{delim}*{\thinspace\text{R}}$$ هي محددات تُستخدم لإحاطة $$\textit{math expression}$$، وعادةً، $$\textit{delim}*{\thinspace\text{L}}$$ و $$\textit{delim}*{\thinspace\text{R}}$$ هي أحد الأحرف `() [] | \| \{ \}` أو النقطة ‘`.`’، والتي تُستخدم كـ «[محدد فارغ](#using-a-blank-delimiter)».

### مثال

إليك مثالًا باستخدام `\left` و `\right` لتنضيد الأقواس التي تُحيط بكسر بالكامل:

```latex
\[
  \left(\frac{x}{y} \right)
\]
```

ينتج هذا الرمز $$\left(\frac{x}{y}\right)$$

إذا لم تستخدم `\left` و `\right` الأوامر عند وضع المحددات، بما في ذلك الأقواس، فلن تُحيط تلك المحددات بالتعبير الرياضي إحاطةً كاملة؛ على سبيل المثال، كتابة

```latex
\[
  (\frac{x}{y})
\]
```

ينتج هذا

$$(\frac{x}{y})$$

## أسباب هذا الخطأ وبعض الحلول

### نسيان تضمين الأمر \left

ينشأ هذا الخطأ عادةً عند كتابة `\right` أمر، ولكن مع نسيان تضمين الأمر المقابل `\left`، كما هو موضح في المثال أدناه:

```latex
\[
\pi =
( \int_{-\infty}^{+\infty} e^{-x^2} dx \right)
\]
```

[افتح هذا **المولِّد للخطأ** المثال في Overleaf](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Example+demonstrating+a+missing+delimiter\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cbegin%7Bdocument%7D%0A%5C%5B+%0A%5Cpi+%3D+%0A%28+%5Cint_%7B-%5Cinfty%7D%5E%7B%2B%5Cinfty%7D+e%5E%7B-x%5E2%7D+dx+%5Cright%29%0A%5C%5D%0A%5Cend%7Bdocument%7D)

ينتج عن هذا المثال الخطأ التالي:

![صورة توضح وجود فاصل مفقود في LaTeX](/files/4005de20a2f36b2835d76478f4a9efdd73141d99)

أضِف `\left` المفقود لإصلاح هذا الخطأ بكتابة

```latex
\[
\pi =
\left( \int_{-\infty}^{+\infty} e^{-x^2} dx \right)
\]
```

والذي ينتج المخرجات التالية

$$\pi = \left( \int\_{-\infty}^{+\infty} e^{-x^2} dx \right)$$

### استخدام فاصل فارغ

إذا كنت ترغب في تنضيد `\right` فاصل فقط، فاستخدم الرمز ‘`.`’ كحرف `\left` المحدد بكتابة `\left.`، والذي لا يُنضِّد حرف فاصل. يستخدم المثال التالي فاصلًا `.` داخل `aligned` البيئة التي توفرها حزمة الـ `amsmath` الحزمة:

```latex
\documentclass{article}
\usepackage{amsmath} % مطلوب لاستخدام بيئة aligned

\begin{document}
\[
 \left.\begin{aligned}
        dF &= 0,\\
        d^{\dagger} F &= 0,
       \end{aligned}
\ \right\}
 \qquad \text{معادلات ماكسويل}
\]
\end{document}
```

[افتح هذا المثال في Overleaf](https://www.overleaf.com/docs?engine=pdflatex\&snip_name=Using+the+dot+delimiter\&snip=%5Cdocumentclass%7Barticle%7D%0A%5Cusepackage%7Bamsmath%7D+%25+Required+to+use+the+aligned+environment%0A%0A%5Cbegin%7Bdocument%7D%0A%5C%5B%0A+%5Cleft.%5Cbegin%7Baligned%7D%0A++++++++dF+%26%3D+0%2C%5C%5C%0A++++++++d%5E%7B%5Cdagger%7D+F+%26%3D+0%2C%0A+++++++%5Cend%7Baligned%7D%0A%5C+%5Cright%5C%7D%0A+%5Cqquad+%5Ctext%7BMaxwell%27s+equations%7D%0A%5C%5D%0A%5Cend%7Bdocument%7D)

ينضّد هذا المثال التعبير التالي:

$$\left.\begin{aligned} dF &= 0,\d^{\dagger} F &= 0,\end{aligned}\ \right}\qquad \text{Maxwell's equations}$$


---

# 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/06-extra-right.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.
