# XeLaTeX with TeXstudio

XeLaTeX is a replacement for pdfLaTeX that allows you to use the fonts on your computer (rather than only those fonts that come with your tex system). However, TeXstudio is not set up to use XeLaTeX yet.

Fortunately, it is not difficult. Go to Options/Commands where all the commands used by TeXstudio are specified. You probably don’t need standard LaTeX these days, so replace the LaTeX command with the following.

xelatex -interaction=nonstopmode %.tex

Then click OK.

Now the LaTeX button at the top of the screen is mapped to XeLaTeX rather than standard LaTeX. You can still access pdfLaTeX via its button for your non-XeLaTeX files.

Before anyone comments that you need standard LaTeX for when eps graphics are used, see Converting eps to pdf.

### Related Posts:

• Aline Menezes

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

• I can’t provide tech help for every TeX editor available. Ask at http://tex.stackexchange.com

• Aline Menezes

Ok, sorry for that. I managed to find the solution myself following similar steps. Just in case someone else also need it, here it is. In MikTex 5.5 go to Options/Execution Modes. Select PdfTex in Acessories and change the executable to XeLatex or XeTex. You may find it in this directory
(C:Program FilesMiKTeX 2.9miktexbinx64xetex.exe)
Just click Ok and now you can use the PdfTex button as XeLatex compiler.

• Marco Esteves

Thx.
I’m trying using Xelatex but I’m not able to see a pdf output file.
How can I do it?

• patrick

January 2014: There is a XeLaTeX slot in TexStudio.

• Pingback: chem.toshiki()

• Daniel Baldwin

Thanks for the post, I’m trying to get TexStudio to play nicely and using your solution seems to give me the following error:
Error: Could not start the command: xelatex -interaction=nonstopmode “letter”.tex

I don’t suppose you’d have any suggestions would you?