我有一个模板,该模板定义了论文的所有排版建议,但是它使用xelatex进行编译。我想在Latex Workshops上继续使用VS Code,问题是如何将编译器从pdflatex更改为xelatex。最后一个原因导致下一个错误日志:
C:\Users\User\AppData\Local\Programs\MiKTeX 2.9\tex/latex/fontspec\fontspec.sty:45: Fatal Package fontspec Error: The
fontspec package requires either XeTeX or
(fontspec) LuaTeX.
(fontspec)
(fontspec) You must change your typesetting engine to,
(fontspec) e.g., "xelatex" or "lualatex"instead of
(fontspec) "latex" or "pdflatex".
Run Code Online (Sandbox Code Playgroud)