how to write Arabic words between English script in latex? I tried this code but it writes Arabic text in new line
\documentclass[a4paper,10pt]{article}
%In the preamble section include the arabtex and utf8 packages
\usepackage{arabtex}
\usepackage{utf8}
\begin{document}
%start encoding to unicode
%Note that your layout must support arabic text when compiling
\setcode{utf8}
%To start typing in Arabic use the command arabtext
hello
\begin{arabtext}
السَلامُ عَليكم ورَحمةُ الله وبَركاته
\end{arabtext}
arabic
\end{document}

hello \RL{السَلامُ عَليكم ورَحمةُ الله وبَركاته} arabic.should work. – Scott H. Jun 20 '13 at 21:24