Urdu Words can't be written in overleafCan I use my own classes and packages in ShareLaTex or OverleafWeird...

Coworker asking me to not bring cakes due to self control issue. What should I do?

How do I add a strong "onion flavor" to the biryani (in restaurant style)?

Charging phone battery with a lower voltage, coming from a bike charger?

What does an unprocessed RAW file look like?

Is there a non trivial covering of the Klein bottle by the Klein bottle

How is this property called for mod?

Does the US government have any planning in place to ensure there's no shortages of food, fuel, steel and other commodities?

How do you get out of your own psychology to write characters?

Critique vs nitpicking

Was there a pre-determined arrangement for the division of Germany in case it surrendered before any Soviet forces entered its territory?

How bad is a Computer Science course that doesn't teach Design Patterns?

Is the fingering of thirds flexible or do I have to follow the rules?

The No-Straight Maze

Caron Accent v{a} doesn't render without usepackage{xeCJK}

What are some ways of extending a description of a scenery?

Why does typing a variable (or expression) print the value to stdout?

Potential client have a problematic employee I can't work with

Modern Algebraic Geometry and Analytic Number Theory

How to stop the animation and freeze the image when pressing the `Stop` button

Case protection with emphasis in biblatex

Boss asked me to sign a resignation paper without a date on it along with my new contract

Minimum Viable Product for RTS game?

Coombinatorics- The number of ways of choosing with parameters

What does からか mean?



Urdu Words can't be written in overleaf


Can I use my own classes and packages in ShareLaTex or OverleafWeird Typesetting on OverleafOverleaf back to v1ShareLatex/Overleaf Snippets for environments?Overleaf ftp access?Export overleaf V1 to V2Exporting from overleafOverleaf Import .asyOverleaf v2 saving versions?Overleaf can't find image













0















I am writing Urdu words in the Overleaf but it does not appear in the text. May someone please help me? I have tried wits Arabic, but it does not work.



For example, in Urdu, I am writing " the coming month name is مارچ". So, overleaf only showed "the coming month name is ". It does not show an Urdu word.



May someone guides me on how to fix it?



documentclass[]{iosart2c}     
%documentclass[wias]{iosart2c}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}

usepackage{times}%



%usepackage{natbib}% for bibliography sorting/compressing
usepackage{url}
usepackage{multirow}

%%%%%%%%%%% Put your definitions here
usepackage{xcolor}
usepackage{pifont}
usepackage{caption,booktabs}
usepackage{makecell}
newcommand*{OK}{ding{51}}
%%%%%%%%%%% End of definitions

pubyear{0000}
volume{0}
firstpage{1}
lastpage{1}

begin{document}
" the coming month name is مارچ"
end{document}


This is just an example. It does show error.




Package inputenc Error: Unicode char د (U+62F) (inputenc) not set up
for use with LaTeX. See the inputenc package documentation for
explanation. Type H for immediate help. ... the coming month
name is مارچ Your command was ignored. Type I to
replace it with another command, or to continue without it




This is the link of the overleaf file.
[https://www.overleaf.com/5228311252vrbszchrmgsp][1]










share|improve this question









New contributor




Maaz Amjad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    Welcome to TeX.SE! Please show us a short compilable tex code resulting in your issue!

    – Kurt
    12 hours ago











  • begin{document}" the coming month name is مارچ" end{document}" This is just an example. It does show any error. Package inputenc Error: Unicode char د (U+62F) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... the coming month name is مارچ Your command was ignored. Type I <command> <return> to replace it with another command, or <return> to continue without it.

    – Maaz Amjad
    12 hours ago








  • 2





    Can you please -- as usual here -- make your code snippet compilable? In your code snippet is no package inputenc used, the error message shows it :-( We need the exact code to be able to reproduce your error and to play with it. BTW: I do not have urudu, in that problem I can not help you, sorry. BTW2: If you want to ping me, add a @ before my name. Because youare the OP it is not needed for me, you are pinged automaticaly...

    – Kurt
    11 hours ago













  • @kurt, thanks a lot for your time.

    – Maaz Amjad
    11 hours ago






  • 1





    I suspect this is not an issue with Overleaf, but rather with the document class itself. With the iosart2c template available from iospress.nl/wp-content/uploads/2015/05/…, loading arabtex (to be compiled with pdflatex) breaks the abstract. Loading fontspec (to be compiled with xelatex) fails with Control sequence c__fontspec_shape_it_sc_tl already defined.

    – LianTze Lim
    10 hours ago
















0















I am writing Urdu words in the Overleaf but it does not appear in the text. May someone please help me? I have tried wits Arabic, but it does not work.



For example, in Urdu, I am writing " the coming month name is مارچ". So, overleaf only showed "the coming month name is ". It does not show an Urdu word.



May someone guides me on how to fix it?



documentclass[]{iosart2c}     
%documentclass[wias]{iosart2c}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}

usepackage{times}%



%usepackage{natbib}% for bibliography sorting/compressing
usepackage{url}
usepackage{multirow}

%%%%%%%%%%% Put your definitions here
usepackage{xcolor}
usepackage{pifont}
usepackage{caption,booktabs}
usepackage{makecell}
newcommand*{OK}{ding{51}}
%%%%%%%%%%% End of definitions

pubyear{0000}
volume{0}
firstpage{1}
lastpage{1}

begin{document}
" the coming month name is مارچ"
end{document}


This is just an example. It does show error.




Package inputenc Error: Unicode char د (U+62F) (inputenc) not set up
for use with LaTeX. See the inputenc package documentation for
explanation. Type H for immediate help. ... the coming month
name is مارچ Your command was ignored. Type I to
replace it with another command, or to continue without it




This is the link of the overleaf file.
[https://www.overleaf.com/5228311252vrbszchrmgsp][1]










share|improve this question









New contributor




Maaz Amjad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 2





    Welcome to TeX.SE! Please show us a short compilable tex code resulting in your issue!

    – Kurt
    12 hours ago











  • begin{document}" the coming month name is مارچ" end{document}" This is just an example. It does show any error. Package inputenc Error: Unicode char د (U+62F) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... the coming month name is مارچ Your command was ignored. Type I <command> <return> to replace it with another command, or <return> to continue without it.

    – Maaz Amjad
    12 hours ago








  • 2





    Can you please -- as usual here -- make your code snippet compilable? In your code snippet is no package inputenc used, the error message shows it :-( We need the exact code to be able to reproduce your error and to play with it. BTW: I do not have urudu, in that problem I can not help you, sorry. BTW2: If you want to ping me, add a @ before my name. Because youare the OP it is not needed for me, you are pinged automaticaly...

    – Kurt
    11 hours ago













  • @kurt, thanks a lot for your time.

    – Maaz Amjad
    11 hours ago






  • 1





    I suspect this is not an issue with Overleaf, but rather with the document class itself. With the iosart2c template available from iospress.nl/wp-content/uploads/2015/05/…, loading arabtex (to be compiled with pdflatex) breaks the abstract. Loading fontspec (to be compiled with xelatex) fails with Control sequence c__fontspec_shape_it_sc_tl already defined.

    – LianTze Lim
    10 hours ago














0












0








0








I am writing Urdu words in the Overleaf but it does not appear in the text. May someone please help me? I have tried wits Arabic, but it does not work.



For example, in Urdu, I am writing " the coming month name is مارچ". So, overleaf only showed "the coming month name is ". It does not show an Urdu word.



May someone guides me on how to fix it?



documentclass[]{iosart2c}     
%documentclass[wias]{iosart2c}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}

usepackage{times}%



%usepackage{natbib}% for bibliography sorting/compressing
usepackage{url}
usepackage{multirow}

%%%%%%%%%%% Put your definitions here
usepackage{xcolor}
usepackage{pifont}
usepackage{caption,booktabs}
usepackage{makecell}
newcommand*{OK}{ding{51}}
%%%%%%%%%%% End of definitions

pubyear{0000}
volume{0}
firstpage{1}
lastpage{1}

begin{document}
" the coming month name is مارچ"
end{document}


This is just an example. It does show error.




Package inputenc Error: Unicode char د (U+62F) (inputenc) not set up
for use with LaTeX. See the inputenc package documentation for
explanation. Type H for immediate help. ... the coming month
name is مارچ Your command was ignored. Type I to
replace it with another command, or to continue without it




This is the link of the overleaf file.
[https://www.overleaf.com/5228311252vrbszchrmgsp][1]










share|improve this question









New contributor




Maaz Amjad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I am writing Urdu words in the Overleaf but it does not appear in the text. May someone please help me? I have tried wits Arabic, but it does not work.



For example, in Urdu, I am writing " the coming month name is مارچ". So, overleaf only showed "the coming month name is ". It does not show an Urdu word.



May someone guides me on how to fix it?



documentclass[]{iosart2c}     
%documentclass[wias]{iosart2c}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}

usepackage{times}%



%usepackage{natbib}% for bibliography sorting/compressing
usepackage{url}
usepackage{multirow}

%%%%%%%%%%% Put your definitions here
usepackage{xcolor}
usepackage{pifont}
usepackage{caption,booktabs}
usepackage{makecell}
newcommand*{OK}{ding{51}}
%%%%%%%%%%% End of definitions

pubyear{0000}
volume{0}
firstpage{1}
lastpage{1}

begin{document}
" the coming month name is مارچ"
end{document}


This is just an example. It does show error.




Package inputenc Error: Unicode char د (U+62F) (inputenc) not set up
for use with LaTeX. See the inputenc package documentation for
explanation. Type H for immediate help. ... the coming month
name is مارچ Your command was ignored. Type I to
replace it with another command, or to continue without it




This is the link of the overleaf file.
[https://www.overleaf.com/5228311252vrbszchrmgsp][1]







sharelatex documentclass-writing overleaf






share|improve this question









New contributor




Maaz Amjad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Maaz Amjad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 5 hours ago







Maaz Amjad













New contributor




Maaz Amjad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 12 hours ago









Maaz AmjadMaaz Amjad

11




11




New contributor




Maaz Amjad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Maaz Amjad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Maaz Amjad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 2





    Welcome to TeX.SE! Please show us a short compilable tex code resulting in your issue!

    – Kurt
    12 hours ago











  • begin{document}" the coming month name is مارچ" end{document}" This is just an example. It does show any error. Package inputenc Error: Unicode char د (U+62F) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... the coming month name is مارچ Your command was ignored. Type I <command> <return> to replace it with another command, or <return> to continue without it.

    – Maaz Amjad
    12 hours ago








  • 2





    Can you please -- as usual here -- make your code snippet compilable? In your code snippet is no package inputenc used, the error message shows it :-( We need the exact code to be able to reproduce your error and to play with it. BTW: I do not have urudu, in that problem I can not help you, sorry. BTW2: If you want to ping me, add a @ before my name. Because youare the OP it is not needed for me, you are pinged automaticaly...

    – Kurt
    11 hours ago













  • @kurt, thanks a lot for your time.

    – Maaz Amjad
    11 hours ago






  • 1





    I suspect this is not an issue with Overleaf, but rather with the document class itself. With the iosart2c template available from iospress.nl/wp-content/uploads/2015/05/…, loading arabtex (to be compiled with pdflatex) breaks the abstract. Loading fontspec (to be compiled with xelatex) fails with Control sequence c__fontspec_shape_it_sc_tl already defined.

    – LianTze Lim
    10 hours ago














  • 2





    Welcome to TeX.SE! Please show us a short compilable tex code resulting in your issue!

    – Kurt
    12 hours ago











  • begin{document}" the coming month name is مارچ" end{document}" This is just an example. It does show any error. Package inputenc Error: Unicode char د (U+62F) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... the coming month name is مارچ Your command was ignored. Type I <command> <return> to replace it with another command, or <return> to continue without it.

    – Maaz Amjad
    12 hours ago








  • 2





    Can you please -- as usual here -- make your code snippet compilable? In your code snippet is no package inputenc used, the error message shows it :-( We need the exact code to be able to reproduce your error and to play with it. BTW: I do not have urudu, in that problem I can not help you, sorry. BTW2: If you want to ping me, add a @ before my name. Because youare the OP it is not needed for me, you are pinged automaticaly...

    – Kurt
    11 hours ago













  • @kurt, thanks a lot for your time.

    – Maaz Amjad
    11 hours ago






  • 1





    I suspect this is not an issue with Overleaf, but rather with the document class itself. With the iosart2c template available from iospress.nl/wp-content/uploads/2015/05/…, loading arabtex (to be compiled with pdflatex) breaks the abstract. Loading fontspec (to be compiled with xelatex) fails with Control sequence c__fontspec_shape_it_sc_tl already defined.

    – LianTze Lim
    10 hours ago








2




2





Welcome to TeX.SE! Please show us a short compilable tex code resulting in your issue!

– Kurt
12 hours ago





Welcome to TeX.SE! Please show us a short compilable tex code resulting in your issue!

– Kurt
12 hours ago













begin{document}" the coming month name is مارچ" end{document}" This is just an example. It does show any error. Package inputenc Error: Unicode char د (U+62F) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... the coming month name is مارچ Your command was ignored. Type I <command> <return> to replace it with another command, or <return> to continue without it.

– Maaz Amjad
12 hours ago







begin{document}" the coming month name is مارچ" end{document}" This is just an example. It does show any error. Package inputenc Error: Unicode char د (U+62F) (inputenc) not set up for use with LaTeX. See the inputenc package documentation for explanation. Type H <return> for immediate help. ... the coming month name is مارچ Your command was ignored. Type I <command> <return> to replace it with another command, or <return> to continue without it.

– Maaz Amjad
12 hours ago






2




2





Can you please -- as usual here -- make your code snippet compilable? In your code snippet is no package inputenc used, the error message shows it :-( We need the exact code to be able to reproduce your error and to play with it. BTW: I do not have urudu, in that problem I can not help you, sorry. BTW2: If you want to ping me, add a @ before my name. Because youare the OP it is not needed for me, you are pinged automaticaly...

– Kurt
11 hours ago







Can you please -- as usual here -- make your code snippet compilable? In your code snippet is no package inputenc used, the error message shows it :-( We need the exact code to be able to reproduce your error and to play with it. BTW: I do not have urudu, in that problem I can not help you, sorry. BTW2: If you want to ping me, add a @ before my name. Because youare the OP it is not needed for me, you are pinged automaticaly...

– Kurt
11 hours ago















@kurt, thanks a lot for your time.

– Maaz Amjad
11 hours ago





@kurt, thanks a lot for your time.

– Maaz Amjad
11 hours ago




1




1





I suspect this is not an issue with Overleaf, but rather with the document class itself. With the iosart2c template available from iospress.nl/wp-content/uploads/2015/05/…, loading arabtex (to be compiled with pdflatex) breaks the abstract. Loading fontspec (to be compiled with xelatex) fails with Control sequence c__fontspec_shape_it_sc_tl already defined.

– LianTze Lim
10 hours ago





I suspect this is not an issue with Overleaf, but rather with the document class itself. With the iosart2c template available from iospress.nl/wp-content/uploads/2015/05/…, loading arabtex (to be compiled with pdflatex) breaks the abstract. Loading fontspec (to be compiled with xelatex) fails with Control sequence c__fontspec_shape_it_sc_tl already defined.

– LianTze Lim
10 hours ago










1 Answer
1






active

oldest

votes


















1














The following works for me in Overleaf if I copy the class file from your project and set the compiler to XeLaTeX:



RequirePackage{fontspec}
documentclass{iosart2c}

%usepackage{natbib}% for bibliography sorting/compressing
usepackage{url}
usepackage{multirow}

%%%%%%%%%%% Put your definitions here
usepackage{xcolor}
usepackage{caption,booktabs}
usepackage{makecell}

usepackage{polyglossia}
%usepackage{unicode-math} % If you need this.

setdefaultlanguage{english}
setotherlanguage{urdu}

defaultfontfeatures{ Scale = MatchLowercase,
Ligatures = TeX }

setmainfont{TeX Gyre Termes}[
Scale = 1.0 ]
newfontfamilyurdufont{Amiri}[
Script = Arabic ,
Language = Urdu ]
newfontfamilypifont{DejaVu Sans}

newcommand*{OK}{{pifont ^^^^2714}}
%%%%%%%%%%% End of definitions

begin{document}
``The name of the coming month is texturdu{مارچ}. OK"
end{document}


Font sample



This changes a number of the packages you used, in particular to use Unicode fonts and polyglossia rather than legacy fonts. Your publisher might or might not let you do this. It might or might not be compatible with their class file—likely not. But, I personally recommend you use the new toolchain when you can and the legacy fonts when you have to.






share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });






    Maaz Amjad is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476525%2furdu-words-cant-be-written-in-overleaf%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    The following works for me in Overleaf if I copy the class file from your project and set the compiler to XeLaTeX:



    RequirePackage{fontspec}
    documentclass{iosart2c}

    %usepackage{natbib}% for bibliography sorting/compressing
    usepackage{url}
    usepackage{multirow}

    %%%%%%%%%%% Put your definitions here
    usepackage{xcolor}
    usepackage{caption,booktabs}
    usepackage{makecell}

    usepackage{polyglossia}
    %usepackage{unicode-math} % If you need this.

    setdefaultlanguage{english}
    setotherlanguage{urdu}

    defaultfontfeatures{ Scale = MatchLowercase,
    Ligatures = TeX }

    setmainfont{TeX Gyre Termes}[
    Scale = 1.0 ]
    newfontfamilyurdufont{Amiri}[
    Script = Arabic ,
    Language = Urdu ]
    newfontfamilypifont{DejaVu Sans}

    newcommand*{OK}{{pifont ^^^^2714}}
    %%%%%%%%%%% End of definitions

    begin{document}
    ``The name of the coming month is texturdu{مارچ}. OK"
    end{document}


    Font sample



    This changes a number of the packages you used, in particular to use Unicode fonts and polyglossia rather than legacy fonts. Your publisher might or might not let you do this. It might or might not be compatible with their class file—likely not. But, I personally recommend you use the new toolchain when you can and the legacy fonts when you have to.






    share|improve this answer






























      1














      The following works for me in Overleaf if I copy the class file from your project and set the compiler to XeLaTeX:



      RequirePackage{fontspec}
      documentclass{iosart2c}

      %usepackage{natbib}% for bibliography sorting/compressing
      usepackage{url}
      usepackage{multirow}

      %%%%%%%%%%% Put your definitions here
      usepackage{xcolor}
      usepackage{caption,booktabs}
      usepackage{makecell}

      usepackage{polyglossia}
      %usepackage{unicode-math} % If you need this.

      setdefaultlanguage{english}
      setotherlanguage{urdu}

      defaultfontfeatures{ Scale = MatchLowercase,
      Ligatures = TeX }

      setmainfont{TeX Gyre Termes}[
      Scale = 1.0 ]
      newfontfamilyurdufont{Amiri}[
      Script = Arabic ,
      Language = Urdu ]
      newfontfamilypifont{DejaVu Sans}

      newcommand*{OK}{{pifont ^^^^2714}}
      %%%%%%%%%%% End of definitions

      begin{document}
      ``The name of the coming month is texturdu{مارچ}. OK"
      end{document}


      Font sample



      This changes a number of the packages you used, in particular to use Unicode fonts and polyglossia rather than legacy fonts. Your publisher might or might not let you do this. It might or might not be compatible with their class file—likely not. But, I personally recommend you use the new toolchain when you can and the legacy fonts when you have to.






      share|improve this answer




























        1












        1








        1







        The following works for me in Overleaf if I copy the class file from your project and set the compiler to XeLaTeX:



        RequirePackage{fontspec}
        documentclass{iosart2c}

        %usepackage{natbib}% for bibliography sorting/compressing
        usepackage{url}
        usepackage{multirow}

        %%%%%%%%%%% Put your definitions here
        usepackage{xcolor}
        usepackage{caption,booktabs}
        usepackage{makecell}

        usepackage{polyglossia}
        %usepackage{unicode-math} % If you need this.

        setdefaultlanguage{english}
        setotherlanguage{urdu}

        defaultfontfeatures{ Scale = MatchLowercase,
        Ligatures = TeX }

        setmainfont{TeX Gyre Termes}[
        Scale = 1.0 ]
        newfontfamilyurdufont{Amiri}[
        Script = Arabic ,
        Language = Urdu ]
        newfontfamilypifont{DejaVu Sans}

        newcommand*{OK}{{pifont ^^^^2714}}
        %%%%%%%%%%% End of definitions

        begin{document}
        ``The name of the coming month is texturdu{مارچ}. OK"
        end{document}


        Font sample



        This changes a number of the packages you used, in particular to use Unicode fonts and polyglossia rather than legacy fonts. Your publisher might or might not let you do this. It might or might not be compatible with their class file—likely not. But, I personally recommend you use the new toolchain when you can and the legacy fonts when you have to.






        share|improve this answer















        The following works for me in Overleaf if I copy the class file from your project and set the compiler to XeLaTeX:



        RequirePackage{fontspec}
        documentclass{iosart2c}

        %usepackage{natbib}% for bibliography sorting/compressing
        usepackage{url}
        usepackage{multirow}

        %%%%%%%%%%% Put your definitions here
        usepackage{xcolor}
        usepackage{caption,booktabs}
        usepackage{makecell}

        usepackage{polyglossia}
        %usepackage{unicode-math} % If you need this.

        setdefaultlanguage{english}
        setotherlanguage{urdu}

        defaultfontfeatures{ Scale = MatchLowercase,
        Ligatures = TeX }

        setmainfont{TeX Gyre Termes}[
        Scale = 1.0 ]
        newfontfamilyurdufont{Amiri}[
        Script = Arabic ,
        Language = Urdu ]
        newfontfamilypifont{DejaVu Sans}

        newcommand*{OK}{{pifont ^^^^2714}}
        %%%%%%%%%%% End of definitions

        begin{document}
        ``The name of the coming month is texturdu{مارچ}. OK"
        end{document}


        Font sample



        This changes a number of the packages you used, in particular to use Unicode fonts and polyglossia rather than legacy fonts. Your publisher might or might not let you do this. It might or might not be compatible with their class file—likely not. But, I personally recommend you use the new toolchain when you can and the legacy fonts when you have to.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 17 mins ago

























        answered 44 mins ago









        DavislorDavislor

        6,4211329




        6,4211329






















            Maaz Amjad is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Maaz Amjad is a new contributor. Be nice, and check out our Code of Conduct.













            Maaz Amjad is a new contributor. Be nice, and check out our Code of Conduct.












            Maaz Amjad is a new contributor. Be nice, and check out our Code of Conduct.
















            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f476525%2furdu-words-cant-be-written-in-overleaf%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

            Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

            How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...