moderncv
doesn't provide support for the old two-letter commands such as \rm
, \it
and arabtex
needs those commands, so one option would be to declare them before loading arabtex
, and then use \RL
to transliterate the Arabic text; a little example (I have no idea what the Arabic text says; I just copied it from elsewhere):
\documentclass[11pt,a4paper]{moderncv}
\usepackage[utf8]{inputenc}
\moderncvstyle{casual}
\moderncvcolor{blue}
\makeatletter
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
\makeatother
\usepackage{arabtex}
\firstname{ABC}
\familyname{XYZ}
\title{curriculum vitae}
\begin{document}
\makecvtitle
\section{A section}
\RL{f.s.hY AltrA_t}
\end{document}

This is not an answer but a clarification of the question, a clarification which won’t fit into a comment but which may put our wizards on the right track.
Here’s a small example (I use the 20pt
option only to make the image big and clear):
% compile with xelatex
\documentclass[20pt]{beamer}
\usepackage[utf]{arabxetex}
\newfontfamily\arabicfont[Script=Arabic]{Scheherazade}
\begin{document}
\begin{frame}
\frametitle{\textarab{الشريحة الأولى}}
\begin{arab}
\begin{enumerate}
\item نص عربي
\item نص عربي
\end{enumerate}
\end{arab}
\end{frame}
\end{document}

The problem is that, although the words go from right to left, as they should, they’re in the left part of the frame instead of the right.
\usetheme{Singapore}
will put the title in the center, where it looks fine, but the enumeration is still on the left. And \usetheme{Warsaw}
makes the enumeration disappear altogether. So I suspect that each theme will need its own patches…
Until a solution for beamer
appears, you can make something suitable for presentations, though not as pretty as beamer
, with texpower
and the screen
option of the geometry
package:
% compile with xelatex
\documentclass[20pt]{extarticle}
\usepackage[screen]{geometry}
\usepackage[display]{texpower}
\usepackage[utf]{arabxetex}
\newfontfamily\arabicfont[Script=Arabic,Scale=2]{Scheherazade}
\pagestyle{empty}
\begin{document}
\begin{arab}
\section*{\textarab{الشريحة الأولى}}
\begin{enumerate}
\item نص عربي\pause
\item نص عربي
\end{enumerate}
\end{arab}
\end{document}

Best Answer
I would recommend you use
XeLaTeX
and the packagearabxetex
. Here is a MWE to get you started.