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.
- Getting started with XeLaTeX
- Using TeXstudio with SumatraPDF
- Getting a LaTeX system set up
- Generating tables in LaTeX
- I’m switching to TeXstudio