# Is there arabic latex allow me to write mathematical paper with question arabic and latine math?

I would like to write a book in mathematics but with questions in Arabic and Latin mathmetical symbols (for example, between two Arabic words there might be a Latin mathematical symbol).

Note: For example pleas check this pdf to see what I want. Here's an image of the first page:

Thank you for any help !!

• I up-loaded an image of the first page of the linked PDF so everyone can quickly see what you want to achieve. I hope it's OK. Oct 15 '15 at 0:23
• what is your question exactly. It seems that you need to learn xelatex. Oct 15 '15 at 7:23

MWE using pdflatex (i.e., xelatex not required) with selectlanguage from the babel package:

\documentclass[]{article}
\usepackage[utf8]{inputenc}
\usepackage[LAE,T1]{fontenc}
\usepackage[arabic,english]{babel}

\begin{document}
\selectlanguage{arabic}
النظر في الصيغة التالية:
\selectlanguage{english}
$$f(x)=x^2+\frac{1}{x^3}$$
\selectlanguage{arabic}
المتغير
\selectlanguage{english}$x$\selectlanguage{arabic}والتربيعية
\end{document}


Result: Note that you need a text editor that supports right-to-left script (the StackExchange website seems left-to-right oriented...) and utf8 encoding. If you use Ubuntu (etc.) you can install the texlive-lang-arabic package with apt. See also http://www.ctan.org/pkg/arabi.