> 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/mzyd-mn-almwdhwaat/06-bold-italics-and-underlining-es.md).

# الغامق، والمائل، والتسطير es

إن تنسيق نصٍّ ما بطريقةٍ معينة يساعد على إبراز المفاهيم المهمة داخل المستند ويجعله أكثر قابلية للقراءة بكثير. ومن خلال استخدام الخط المائل أو العريض أو التسطير يمكن تغيير إدراك القارئ لكلمةٍ ما.

## مقدمة

يشرح هذا المقال استخدام ثلاث أدوات أساسية لتنسيق مستند: الخط المائل، والخط العريض، والتسطير. لنبدأ بمثال:

```latex
بعضٌ من \textbf{أعظم}
الاكتشافات في \underline{العلوم}
تمت \textbf{\textit{بالصدفة}}.
```

![Biu1.png](/files/287dd9d41570c0f7c3a0a5e5e69cb1ead7a6e08d)

كما يمكن أن نرى، توجد ثلاثة أوامر أساسية يمكن تداخلها لدمج تأثيرها.

ملاحظة: *الأوامر **\it** و **\bf** تعمل أيضًا على تحويل النص إلى مائل أو عريض، لكن لا يُنصح باستخدامها لأنها لا تحافظ على الأنماط السابقة. فعلى سبيل المثال، لا يمكن بهذه الأوامر إنشاء نص عريض ومائل*

[افتح مثالًا في Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=BoldItalicsUnderline\&compiler=pdflatex)

## نص مائل

كتابة النص بحروف مائلة (وتسمى أيضًا إيطاليك أو مائلة) أمر بسيط جدًا، ما عليك سوى استخدام الأمر **\textit**:

```latex
بعضٌ من أعظم
الاكتشافات في العلوم
تمت \textit{بالصدفة}.
```

![Biu2.png](/files/cf3098ae0ebe739b6e96aafc4a63e51e653eb716)

[افتح مثالًا في Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## نص عريض

لكتابة نص عريض يجب استخدام الأمر **\textbf**:

```latex
بعضٌ من \textbf{أعظم}
الاكتشافات في العلوم
تمت بالصدفة.
```

![Biu3.png](/files/e59ae611904542c11209d3c18f02a3a5c22795ee)

[افتح مثالًا في Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## نص تحته خط

تسطير النص سهل جدًا أيضًا، والأمر المستخدم هو **\underline**:

```latex
بعضٌ من أعظم
الاكتشافات في \underline{العلوم}
تمت بالصدفة.
```

![Biu4.png](/files/9f7ae4b008b0e8d6b48549505b089737fa1dfb6c)

[افتح مثالًا في Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## إبراز النص

يمكن إبراز النص من خلال الأمر **\emph**. أحيانًا يتصرف هذا الأمر بنفس الطريقة التي يتصرف بها **\textit** لكنهما ليسا الشيء نفسه تمامًا.

```latex
بعضٌ من أعظم \emph{الاكتشافات}
في العلوم
تمت بالصدفة.

\textit{بعضٌ من أعظم \emph{الاكتشافات}
في العلوم
تمت بالصدفة.}

\textbf{بعضٌ من أعظم \emph{الاكتشافات}
في العلوم
تمت بالصدفة.}
```

![Biu5.png](/files/85b064022da8f18def7183c2f00397b530f30b35)

ما يفعله الأمر في الواقع **\emph** يعتمد على السياق. داخل النص العادي يُطبع النص المبرَز بخط مائل، لكن هذا السلوك ينعكس عندما يُستخدم الأمر مع نص مكتوب أصلًا بخط مائل. راجع المثال السابق لتفهم المقصود بذلك.

علاوة على ذلك، بعض الحزم، مثل [بيمر](/latex/ar/alarwdh-altqdymyh/01-beamer.md)، تغيّر سلوك الأمر **\emph**.

[افتح مثالًا في Overleaf](https://www.sharelatex.com/project/new/template?zipUrl=/project/52e2cf6fcd3ae4400500066d/download/zip\&templateName=Bold_Italics_Underline\&compiler=pdflatex)

## قراءات إضافية

للمزيد من المعلومات، راجع:

* [الفقرات والأسطر الجديدة](/latex/ar/asasyat-latex/02-paragraphs-and-new-lines.md)
* [القوائم](/latex/ar/asasyat-latex/04-lists.md)
* [تنسيق الفقرات](/latex/ar/altnsyq/04-articles-how-to-change-paragraph-spacing-in-latex.md)
* [فواصل الأسطر والمسافات الفارغة](/latex/ar/altnsyq/05-line-breaks-and-blank-spaces.md)
* [المقدمة التي ليست قصيرة جدًا إلى LaTeX2ε](http://www.ctan.org/tex-archive/info/lshort/)


---

# 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/mzyd-mn-almwdhwaat/06-bold-italics-and-underlining-es.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.
