# problem with end letter in Arabic words

I use the below commands to get an Arabic sentence

\documentclass[12pt,a4paper]{article}
\usepackage[cp 1256]{inputenc}
\usepackage[arabic,english]{babel}
\usepackage[LAE,LFE]{fontenc}
\Vocalize
\usepackage{color}
\usepackage[left=4cm,right=2cm,top=2cm,bottom=2cm]{geometry}

\begin{document}
\selectlanguage{arabic}
\centering
\color{blue}{يَرْفَعِ اللَّهُ الَّذِينَ آَمَنُوا مِنْكُمْ وَالَّذِينَ أُوتُوا الْعِلْمَ دَرَجَاتٍ }

\vspace{2.5cm}
يَرْفَع الله الذين امنوا منكم و الذين اوتوا العلم درجات
\end{document}


the problem is, when I use Vocalized marked (fatha, damma and kasra), the last letter it transformed to medial character look instead of final character look. I use both Texmaker and TeXstudio, any help with that?

• Use an * between the last character and the marke. – touhami Jul 28 '16 at 20:26
• @touhami didn't work. – Muhammad Abdulrasool Jul 28 '16 at 20:31
• Sorry, but it works for me. – touhami Jul 28 '16 at 20:45
• do you hear about xelatex? – touhami Jul 28 '16 at 20:46
• @touhami yes but I want to use pdflatex, because my thesis written all in English except for the page of the Quran verse. – Muhammad Abdulrasool Jul 28 '16 at 20:49