# Where do I find the XeLaTeX engine on TeXstudio?

I want to type a text in persian. Does texstudio support xelatex? If yes where can i find it?
this is my code:

\documentclass{article}
\usepackage{xepersian}
\begin{document}
\centerline{به نام خداوند بخشندهٔ مهربان}

سلام

این یک مثال ساده با زی‌پرشین است.

به همین سادگی.
\end{document}

• Yes, it in the tools menu. – Ulrike Fischer Mar 26 '15 at 17:48
• I see no such name as xelatex on tools menu???!! – zahraesb Mar 26 '15 at 17:54
• Did you check all submenus? – Ulrike Fischer Mar 26 '15 at 17:55
• Yes please look at the photo below – zahraesb Mar 26 '15 at 18:03
• If your texstudio is uptodate: Go to the options of texstudio, enable the extended options, and then in the entry "menu" enable the additional commands. – Ulrike Fischer Mar 26 '15 at 18:28

• If you want to only run XeLaTeX explicitly from time to time, use Tools -> Commands -> XeLaTeX. You may assign a shortcut in the options.
• If you want to modify the default build configuration (i.e. the compiler for Tools -> Build / Build & View) then change Options -> Build -> Default Compiler.
• If you want to modify the build configuration only for this file, include the "magic comment" % !TeX program = xelatex at the top if your file. See the manual for more information on magic comments.