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?
3 Answers
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.
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}
I suppose you have installed the package ARfonts
and arabtex
. Then it should be possible to use \textLR{... your equation ... }
xetex
?