4
\documentclass[12pt]{article}

\usepackage{polyglossia}

\setmainlanguage{english}

\setotherlanguage[numerals=western]{urdu}

\newfontfamily\urdufont[Script=Arabic,Scale=1]{Jameel Noori Nastaleeq}

\begin{document}

\hfill \texturdu{   مجھ سے کہے ایک جل پری۔ مندرجہ ذیل مساوات کو حل کریں}

\\

\textenglish{Solve the equation.}

\end{document}

This code works fine. I want to add arabic language as well but I don't know how to add more languages using polyglossia. So if anybody know then tell me how to add more languages in this program.

  • 2
    Just add another \setotherlanguage command and \newfontfamily for the relevant Arabic font. – Alan Munn Jan 17 '14 at 12:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.