XeLaTeX with TeXstudio

XeLa­TeX is a replace­ment for pdfLa­TeX that allows you to use the fonts on your com­puter (rather than only those fonts that come with your tex sys­tem). How­ever, TeX­studio is not set up to use XeLa­TeX yet.

For­tu­nately, it is not dif­fi­cult. Go to Options/​Commands where all the com­mands used by TeX­studio are spec­i­fied. You prob­a­bly don’t need stan­dard LaTeX these days, so replace the LaTeX com­mand with the following.

xelatex -interaction=nonstopmode %.tex

Then click OK.

Now the LaTeX but­ton at the top of the screen is mapped to XeLa­TeX rather than stan­dard LaTeX. You can still access pdfLa­TeX via its but­ton for your non-​​XeLaTeX files.

Before any­one com­ments that you need stan­dard LaTeX for when eps graph­ics are used, see Con­vert­ing eps to pdf.

Related Posts:

  • Aline Menezes

    Thank you very much! Can I do the same with WinEdt 5.5?

    • http://robjhyndman.com Rob J Hyndman

      I can’t pro­vide tech help for every TeX edi­tor avail­able. Ask at http://​tex​.stack​ex​change​.com

      • Aline Menezes

        Ok, sorry for that. I man­aged to find the solu­tion myself fol­low­ing sim­i­lar steps. Just in case some­one else also need it, here it is. In Mik­Tex 5.5 go to Options/​Execution Modes. Select Pdf­Tex in Aces­sories and change the exe­cutable to XeLa­tex or XeTex. You may find it in this direc­tory
         (C:Program FilesMiK­TeX 2.9miktexbinx64xetex.exe)
        Just click Ok and now you can use the Pdf­Tex but­ton as XeLa­tex compiler.

  • Marco Esteves

    I’m try­ing using Xela­tex but I’m not able to see a pdf out­put file.
    How can I do it?

  • patrick

    Jan­u­ary 2014: There is a XeLa­TeX slot in TexStudio.

  • Pingback: Arial in LaTeX/XeLaTeX mit TeXstudio unter GNU/Linux Debian Wheezy | chemtoshiki()

  • Pingback: chem.toshiki()

  • Daniel Bald­win

    Thanks for the post, I’m try­ing to get Tex­Studio to play nicely and using your solu­tion seems to give me the fol­low­ing error:
    ‘Error: Could not start the com­mand: xela­tex –interaction=nonstopmode “letter”.tex‘

    I don’t sup­pose you’d have any sug­ges­tions would you?