> ## Documentation Index
> Fetch the complete documentation index at: https://resources.latex-cloud-studio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# LaTeX in Arabic

> Write right-to-left Arabic documents in LaTeX using polyglossia and proper RTL support.

Use this setup to typeset documents in arabic with stable language rules and typography.

## Compiler Recommendation

Use XeLaTeX or LuaLaTeX for this language to ensure robust Unicode and font support.

## XeLaTeX / LuaLaTeX Setup

```latex xelatex-arabic.tex theme={null}
\documentclass{article}
\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic]{Amiri}

\begin{document}
\textarabic{hatha mithal li nass bi alarabiyya.}
\end{document}
```

## Practical Notes

* Keep one compiler across the entire project.
* Verify fonts are available in local or cloud environments.
* For multilingual bibliographies, use Unicode-safe workflows.

## Related Pages

* [Multi-language documents](/learn/latex/how-to/multi-language-documents)
* [Choosing a compiler](/learn/latex/basics/choosing-compiler)
* [Bibliography and citations](/learn/latex/bibliography-citations)
