fix(cover): 修改封面字体为方正楷体并加粗

将封面标题的字体从“zhkai”更改为“fzkaiti”,并添加加粗效果,以提升视觉效果和一致性。同时,在main.tex中定义了fzkaiti字体的加粗和斜体设置,确保字体显示正常。
This commit is contained in:
carry 2025-05-02 00:38:59 +08:00
parent 833c6b94b3
commit 0a291e0330
2 changed files with 8 additions and 1 deletions

View File

@ -7,7 +7,7 @@
\vspace{0.2cm}
\centering
{\zihao{1}\CJKfamily{zhkai}{本~科~毕~业~论~文(设计)}}
{\zihao{1}\CJKfamily{fzkaiti}\bfseries 本~科~毕~业~论~文(设~计)}
\vspace{2.5cm}

View File

@ -68,7 +68,14 @@
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\usepackage{fontspec}
\setCJKfamilyfont{fzkaiti}[
AutoFakeBold = 1.2, % 加粗强度
ItalicFont = 方正楷体_GBK.TTF % 防止斜体切换异常(非必须)
]{方正楷体_GBK.TTF}
\setmonofont{Consolas}
\lstset{ %
numbers=left,