6

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}

enter image description here 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?

12
  • 1
    Use an * between the last character and the marke.
    – touhami
    Commented Jul 28, 2016 at 20:26
  • @touhami didn't work. Commented Jul 28, 2016 at 20:31
  • Sorry, but it works for me.
    – touhami
    Commented Jul 28, 2016 at 20:45
  • do you hear about xelatex?
    – touhami
    Commented Jul 28, 2016 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. Commented Jul 28, 2016 at 20:49

0

You must log in to answer this question.

Browse other questions tagged .