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 !!
Best Answer
MWE using
pdflatex
(i.e.,xelatex
not required) withselectlanguage
from thebabel
package: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 withapt
. See also http://www.ctan.org/pkg/arabi.