6

I want to typeset a paper so that the text is in Arabic and the equations are in Latin (I mean, the equations as usual, you know what I mean). How can I do that?

6
  • First, you will probably need to use XeTeX for that (to get proper arabic support). See for example tug.org/pipermail/xetex/2004-July/000533.html.
    – raphink
    Commented Jun 10, 2011 at 11:24
  • 1
    And how did all the people used arabic without xetex?
    – user2478
    Commented Jun 10, 2011 at 11:36
  • 1
    Please take a look at this answer: Typesetting a document using Arabic script (Ignore the question, though.)
    – Alan Munn
    Commented Jun 10, 2011 at 12:16
  • 2
    @Herbert The fact the people were able to deal with Arabic in the past without using XeLaTeX doesn't mean that now XeLaTeX isn't the preferred solution (which it is.)
    – Alan Munn
    Commented Jun 10, 2011 at 12:18
  • @Herbert: say, need was probably a strong term, but it's still recommended to use XeTeX for that.
    – raphink
    Commented Jun 10, 2011 at 12:25

3 Answers 3

4

Since we now have two answers promoting ArabTeX, I find it necessary to add as an answer an explicit link to a solution using XeLaTeX:

Typesetting a document using Arabic script

This is an excellent answer, and using XeLaTeX to be preferred to using ArabTeX. The latter is mainly designed for people who need to input Arabic without access to an Arabic keyboard layout. If you are typing Arabic text directly, you really should be using XeLaTeX. With the help of the bidi package, you also get full support for both RTL and LTR languages.

2

As Herbert mentioned you need arabtex, here is a minimal. You just type the equation as normal and you need to use transliterated text.

\documentstyle[12pt,arabtex]{article}
\parindent=0pt 
\begin{document}
\null \vskip -2cm
\begin{arabtext}
a b c d e f g h  \\
0123456789\\
donald knuth pasha\\
$$a=b+c$$
\end{arabtext}
\end{document}
1

I suppose you have installed the package ARfonts and arabtex. Then it should be possible to use \textLR{... your equation ... }

You must log in to answer this question.