Skip to content

Instantly share code, notes, and snippets.

@ZJUGuoShuai
Created March 22, 2022 12:53
Show Gist options
  • Select an option

  • Save ZJUGuoShuai/29ee72fea00c93e7f60ae7bc1f39090a to your computer and use it in GitHub Desktop.

Select an option

Save ZJUGuoShuai/29ee72fea00c93e7f60ae7bc1f39090a to your computer and use it in GitHub Desktop.
我的 .latexmkrc 配置文件
# 使用 XeLaTeX 作为默认编译器,同时打开 nonstopmode 选项
$pdflatex = "xelatex -shell-escape -interaction=nonstopmode %O %S";
# 只生成 PDF 文件,不生成 DVI 和 PostScript 文件
$pdf_mode = 1;
$dvi_mode = 0;
$postscript_mode = 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment