> 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/alaselh-walajwbh/75-inserting-emojis-in-latex-documents-on-overleaf.md).

# إدراج الرموز التعبيرية في مستندات LaTeX على Overleaf

*ملاحظة: `[twemojis](https://www.ctan.org/pkg/twemojis)` الحزمة غير مُضمَّنة في* [*TeX Live*](/latex/ar/mlfat-alfeh/02-overleaf-and-tex-live.md)*، ولذلك فهي غير متاحة للاستخدام في Overleaf.*

## محارف الإيموجي ومحرر Overleaf

لا يمكن لـ Overleaf تخزين الملفات التي تحتوي على [أحرف NUL](https://en.wikipedia.org/wiki/Null_character) أو تحرير الملفات التي تحتوي على محارف من خارج [المستوى المتعدد اللغات الأساسي (BMP)](https://en.wikipedia.org/wiki/Plane_\(Unicode\)).

أسندت Unicode العديد من محارف الإيموجي إلى نقاط ترميز خارج المستوى المتعدد اللغات الأساسي: وهي مُشفَّرة في [المستوى 1](https://en.wikibooks.org/wiki/Unicode/Character_reference/1F000-1FFFF)، ما يعني أن نقاط الترميز الخاصة بها تقع ضمن النطاق U+10000–U+1FFFF، وتحديدًا U+1F000–U+1FFFF. ولهذا أثر مهم لكل من يرغب في نسخ محارف الإيموجي ولصقها في محرر Overleaf. في الوقت الحالي، لا يستطيع محرر النص في Overleaf التعامل إلا مع المحارف ضمن المستوى المتعدد اللغات الأساسي، رغم أننا نأمل أن تُدخل التحديثات المستقبلية دعمًا للمحارف غير التابعة لـ BMP.

إذا لصقتَ إيموجي مثل 😀، أو أي محرف آخر غير تابع لـ BMP، في محرر Overleaf فسيُحوَّل إلى المحرفين ��. ومع ذلك، يمكنك رفع ملفات نصية تحتوي على تسلسلات UTF-8 غير تابعة لـ BMP: لن تكون قابلة للتحرير داخل محرر Overleaf، لكن يمكنك إدراج تلك الملفات داخل مستندك باستخدام أوامر LaTeX المناسبة لتضمين الملفات.

كما هو موضح في الأمثلة أدناه، يمكنك إدراج الإيموجي باستخدام الخطوط والأوامر المناسبة التي توفرها حزم LaTeX.

## إيموجي أحادية اللون

يمكنك استخدام `\symbol` أو `\char` الأمر بالتزامن مع `fontspec`, [XƎLaTeX أو LuaLaTeX](/latex/ar/qaadh-almarfh/026-changing-compiler.md) وخَط مناسب. على سبيل المثال، من دون استخدام [`الرموز التعبيرية` الحزمة](https://ctan.org/pkg/emoji?lang=en)، يمكنك مع ذلك إدراج إيموجي أحادية اللون باستخدام خط Symbola:

```latex
أوراق متساقطة: {\fontspec{Symbola}\symbol{"1F343}}

أو

أوراق متساقطة: {\fontspec{Symbola}\char"1F343}
```

[افتح مثال الإيموجي أحادي اللون هذا في Overleaf](https://www.overleaf.com/docs?engine=lualatex\&snip_name=Monochrome+emoji\&snip=%5Cdocumentclass%5B12pt%5D%7Barticle%7D%0A%5Cusepackage%7Bfontspec%7D%0A%5Cusepackage%7Bparskip%7D%0A%0A%5Cbegin%7Bdocument%7D%0AFalling+leaves%3A+%7B%5Cfontspec%7BSymbola%7D%5Csymbol%7B%221F343%7D%7D%0A%0Aor%0A%0AFalling+leaves%3A+%7B%5Cfontspec%7BSymbola%7D%5Cchar%221F343%7D%0A%5Cend%7Bdocument%7D)

سيعطيك هذا الناتج ![Symbola-falling-leaves.png](/files/1f08503e7cf9033cb5c582fddf2fa3045ad6e86c)

يمكنك البحث عن نقاط الترميز الخاصة بالإيموجي على [هذه الصفحة الإلكترونية](https://unicode.org/emoji/charts/emoji-list.html).

## إيموجي ملونة

إذا كنت تريد استخدام إيموجي ملونة، فاطّلع على `[emoji](https://www.ctan.org/pkg/emoji)` الحزمة، التي تستخدم محرك تشكيل النص LuaLaTeX + HarfBuzz للوصول الصحيح إلى خطوط الإيموجي الملونة. ستحتاج إلى [تغيير مُصرِّف مشروعك إلى LuaLaTeX](/latex/ar/qaadh-almarfh/026-changing-compiler.md)ثم يمكنك تحميل `الرموز التعبيرية` الحزمة، وكتابة `\emoji{leaves}`.

```latex
\documentclass[12pt]{article}
\usepackage{emoji}

\begin{document}

هذه إيموجي ملونة باستخدام الحزمة \texttt{emoji} وLuaLaTeX:
\emoji{leaves}
\emoji{rose}

يمكنك استخدام معدِّلات الإيموجي:
\emoji{woman-health-worker-medium-skin-tone}
\emoji{family-man-woman-girl-boy}
\emoji{flag-malaysia}
\emoji{flag-united-kingdom}

\end{document}
```

[اطّلع على هذا المثال المباشر في Overleaf](https://www.overleaf.com/docs?engine=lualatex\&snip_name=colour+emojis+using+LuaLaTeX\&snip=%5Cdocumentclass%5B12pt%5D%7Barticle%7D%0A%5Cusepackage%7Bemoji%7D%0A%0A%5Cbegin%7Bdocument%7D%0A%0AThese+are+colour+emojis+using+the+%5Ctexttt%7Bemoji%7D+package+and+LuaLaTeX%3A%0A%5Cemoji%7Bleaves%7D%0A%5Cemoji%7Brose%7D%0A%0AYou+can+use+emoji-modifiers%3A%0A%5Cemoji%7Bwoman-health-worker-medium-skin-tone%7D%0A%5Cemoji%7Bfamily-man-woman-girl-boy%7D%0A%5Cemoji%7Bflag-malaysia%7D%0A%5Cemoji%7Bflag-united-kingdom%7D%0A%0A%5Cend%7Bdocument%7D)

![NotoEmoji-demo.png](/files/33c7bc8e852389ab4f6b4e76c3e5b8527edfe7e0)

يمكنك البحث عن أسماء Unicode CLDR (مستودع بيانات اللغة المحلية الشائعة) [هنا](https://unicode.org/emoji/charts/emoji-list.html)، لكن تذكّر استبدال المسافات في الأسماء بشرطات. وبدلاً من ذلك، يمكنك البحث في [موقع `الرموز التعبيرية` توثيق الحزمة](http://texdoc.net/pkg/emoji) نفسه.

## اختيار خط إيموجي مختلف

في Overleaf، خط الإيموجي الافتراضي هو Noto Color Emoji. يمكنك اختيار خط إيموجي مختلف:

```latex
\setemojifont{TwemojiMozilla}
```

![TwemojiMozilla-demo.png](/files/6f5fc4fd7eba3a6b70ede1d25309c223a59e7a22)

```latex
\documentclass[12pt]{article}
\usepackage{emoji}

\begin{document}
\setemojifont{TwemojiMozilla}
هذه إيموجي ملونة باستخدام الحزمة \texttt{emoji} وLuaLaTeX:
\emoji{leaves}
\emoji{rose}

يمكنك استخدام معدِّلات الإيموجي:
\emoji{woman-health-worker-medium-skin-tone}
\emoji{family-man-woman-girl-boy}
\emoji{flag-malaysia}
\emoji{flag-united-kingdom}

\end{document}
```

[افتح مثال TwemojiMozilla هذا في Overleaf](https://www.overleaf.com/docs?engine=lualatex\&snip_name=Colour+emojis+using+the+TwemojiMozilla+font+and+LuaLaTeX\&snip=%5Cdocumentclass%5B12pt%5D%7Barticle%7D%0A%5Cusepackage%7Bemoji%7D%0A%0A%5Cbegin%7Bdocument%7D%0A%5Csetemojifont%7BTwemojiMozilla%7D%0AThese+are+colour+emojis+using+the+%5Ctexttt%7Bemoji%7D+package+and+LuaLaTeX%3A%0A%5Cemoji%7Bleaves%7D%0A%5Cemoji%7Brose%7D%0A%0AYou+can+use+emoji-modifiers%3A%0A%5Cemoji%7Bwoman-health-worker-medium-skin-tone%7D%0A%5Cemoji%7Bfamily-man-woman-girl-boy%7D%0A%5Cemoji%7Bflag-malaysia%7D%0A%5Cemoji%7Bflag-united-kingdom%7D%0A%0A%5Cend%7Bdocument%7D)

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

* [ال `الرموز التعبيرية` الحزمة](https://www.ctan.org/pkg/emoji)
* [قائمة بأسماء الإيموجي في CLDR ونقاط الترميز](https://unicode.org/emoji/charts/emoji-list.html)
* [تغيير المُصرِّف الخاص بمشروعك في Overleaf](/latex/ar/qaadh-almarfh/026-changing-compiler.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/alaselh-walajwbh/75-inserting-emojis-in-latex-documents-on-overleaf.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.
