設(shè)置輸出 PDF (XeTeX)
Tools -> Preferences -> File Handling -> Converters
添加:
From format: LaTeX pdflatex
To format: PDF XeTeX
Converter: xelatex $$i
Extra flag: latex
然后更改 Document -> Settings
Output
Output Format
Default: PDF (XeTeX)
LaTeX Preamble
\usepackage{xeCJK} %必須加xeCJK包
\setCJKmainfont{FZShuSong-Z01} %換成本地字體
\usepackage{indentfirst}
\setlength{\parindent}{2em}