在菜单栏中选择 "Options" -> "Configure TeXstudio"。在左侧列表中选择 "Build"。在 "Default Compiler" 下拉菜单中选择 XeLaTeX 或 LuaLaTeX。点击 "OK" 保存设置。使用 "Tools" 菜单中的 "Build & View" 来编译文档。