diff --git a/.latexmkrc b/.latexmkrc new file mode 100644 index 0000000..87e785f --- /dev/null +++ b/.latexmkrc @@ -0,0 +1,5 @@ +$pdf_mode = 1; # 生成PDF +$latex = 'xelatex %O %S'; # 用 xelatex 替代 latex +$pdflatex = 'xelatex %O %S'; # 用 xelatex 替代 pdflatex +$dvi_mode = 0; # 禁用DVI输出 +$postscript_mode = 0; # 禁用PS输出 \ No newline at end of file diff --git a/beamerthemeSimple.sty b/beamerthemeSimple.sty index f8ad7f1..01be7ed 100644 --- a/beamerthemeSimple.sty +++ b/beamerthemeSimple.sty @@ -2,8 +2,11 @@ % !TEX TS-program = xelatex % fonts \RequirePackage[sfdefault]{FiraSans} -\RequirePackage[mathrm=sym]{unicode-math} -\setmathfont{Fira Math} +\RequirePackage{FiraMono} +\renewcommand{\rmfamily}{\sffamily} +\RequirePackage[fakebold]{firamath-otf} +\RequirePackage{xeCJK} +\setCJKmainfont{Source Han Sans SC} \RequirePackage[english]{babel} \RequirePackage{fancyhdr} % header footer diff --git a/main.pdf b/main.pdf index 174d6e6..1229b34 100644 Binary files a/main.pdf and b/main.pdf differ diff --git a/main.tex b/main.tex index 1f526db..5fbebe0 100644 --- a/main.tex +++ b/main.tex @@ -2,7 +2,7 @@ \title[template example]{Minimizing the Sum of Piecewise Linear Convex Functions} \date{\today} -\author{Yu Cong} +\author{丛宇} % \AtBeginSection[]{ % \frame{\frametitle{Outline}\tableofcontents[currentsection, % subsectionstyle=show/show/shaded]}