2

Question

I want to write a book in Arabic (I have an Arabic keyboard, so I don't need a converter). By Arabic book I mean literally Arabic:

  • title,
  • table of contents
  • etc

all in Arabic.

The equations, however, I want to write them in English/Latin.

Related

http://ctan.triasinformatica.nl/language/arabic/arabi/arabi/texmf/doc/latex/arabi/user_guide.pdf

This link helped a lot but it was for Arabic texts in an English main document.

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

I already checked these two (and plenty other sites).

  • MiKTeX is good. I don't think that there are significant differences between the LaTeX distributions. In addition, I edited your question. – Dr. Manuel Kuehner Jul 23 '17 at 22:55
  • What do you mean with English equations? Do you mean Latin alphabet like \sin and \cos together with Arabic numerals :)? en.wikipedia.org/wiki/Arabic_numerals – Dr. Manuel Kuehner Jul 23 '17 at 22:57
  • thanks for editing my question ! by english equations i meant latin indeed. so basically an arbic book with arabic explanation but eqaution are writtin in latin (left to right) – Kadhim Al-Zubi Jul 23 '17 at 22:59
  • Ok. You can edit your question yourself in the future. Going to bed now. Good luck. – Dr. Manuel Kuehner Jul 23 '17 at 23:06
1

You can certainly do this using XeTeX and polyglossia. In the preamble of your document, you should do the following:

\usepackage{polyglossia}
\setdefaultlanguage{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic]{*Your Font Here*}

That sets you up to have the document in Arabic. On my version of TeXLive, it automatically switches equations to LTR english. So just type your equations as normal (example with hebrew)

ואז אנחנו רואים  
$e=mc^2$

becomes

our output

So all you need to do is type as normal.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.