From c1cd3bdba3ad4b077aa15f6f3a1d224c26fea8dd Mon Sep 17 00:00:00 2001
From: atxy <181850195@smail.nju.edu.cn>
Date: Fri, 10 Sep 2021 09:58:05 +0800
Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 chapters/Environments.tex | 7 ++++++-
 chapters/Introduction.tex | 8 +++++---
 profile/font.sty          | 3 +++
 3 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/chapters/Environments.tex b/chapters/Environments.tex
index 64178d1..c532bd5 100644
--- a/chapters/Environments.tex
+++ b/chapters/Environments.tex
@@ -138,7 +138,10 @@ sudo apt install ttf-mscorefonts-installer
 
 \subsection{淇敼瀛椾綋閰嶇疆}
 
-濡傛灉甯屾湜瑕嗙洊妫€娴嬬郴缁熷瓧浣撶殑鍛戒护锛堣濡傚湪Linux缂栬瘧鏃朵娇鐢╓indows瀛椾綋鏍峰紡锛夛紝鍦╘texttt{profile/font.sty}涓敞閲婃帀鎿嶄綔绯荤粺鍒ゆ柇璇彞锛屽苟淇濈暀甯屾湜浣跨敤鐨勫瓧绗﹂泦鍗冲彲銆傚叏閮ㄥ瓧绗﹂泦鍛戒护濡備笅鎵€绀恒€�
+鏈ā鏉挎彁渚涗簡鑻ュ共涓瓧浣撶浉鍏崇殑鎺у埗閫夐」锛屽凡浜嶾cref{sec:classoptions}鍒濇杩涜浠嬬粛銆傚鏋滃笇鏈涜鐩栨娴嬬郴缁熷瓧浣撶殑鍛戒护锛堣濡傚湪Linux缂栬瘧鏃朵娇鐢╓indows瀛椾綋鏍峰紡锛夛紝璇峰皢
+UseSysFont璁剧疆涓篺alse锛屽苟閫氳繃CustomEnFont鍜孋ustomZhFont杩涜閫夋嫨銆�
+
+鍏ㄩ儴瀛楃闆嗗懡浠ゅ涓嬫墍绀恒€�
 
 \begin{description}
     \item[\texttt{\textbackslash set\textunderscore latin\textunderscore fontset\textunderscore windows}] Windows鑻辨枃瀛楃闆�
@@ -150,3 +153,5 @@ sudo apt install ttf-mscorefonts-installer
     \item[\texttt{\textbackslash set\textunderscore chinese\textunderscore fontset\textunderscore founder}] 鏂规涓枃瀛楃闆�
     \item[\texttt{\textbackslash set\textunderscore chinese\textunderscore fontset\textunderscore noto}] 鎬濇簮涓枃瀛楃闆�
 \end{description}
+
+瀵逛簬闇€瑕佽繘涓€姝ヨ嚜瀹氫箟鐨勫悓瀛︼紝鍙互灏咰ustomEnFont鍜孋ustomZhFont璁剧疆涓簄ull锛岃嚜琛屽湪瀵艰█鍖鸿缃瓧浣撱€�
diff --git a/chapters/Introduction.tex b/chapters/Introduction.tex
index 40643ce..685877d 100644
--- a/chapters/Introduction.tex
+++ b/chapters/Introduction.tex
@@ -13,7 +13,7 @@
 \label{sec:directory}
 
 \begin{lstlisting}[language=bash]
-    鈹�  coverinfo.sty
+    鈹�  coverinfo.tex
     鈹�  njuthesis.bib
     鈹�  njuthesis.cls
     鈹�  njuthesis.tex
@@ -46,10 +46,12 @@
 \section{鑷畾涔夐€夐」}
 \label{sec:classoptions}
 
-njuthesis绫绘彁渚涗簡涓変釜鍙互鑷畾涔夌殑閫夐」锛屽涓嬫墍绀恒€�
+njuthesis绫绘彁渚涗簡5涓彲浠ヨ嚜瀹氫箟鐨勯€夐」锛屽涓嬫墍绀恒€�
 \begin{description}
     \item[\texttt{TitleLength}] 鏍囬闀垮害锛岀敤浜庢帶鍒跺皝闈㈡爣棰樼殑琛屾暟銆傚彲閫夊€间负1銆�2銆�3锛岀己鐪佸€间负1銆�
     \item[\texttt{Degree}] 瀛︿綅绫诲瀷锛屾湰绉戠敓涓篣G锛屽嵆Undergraduate鐨勭缉鍐欍€�
-    \item[\texttt{Type}] 鐢ㄤ簬閫夋嫨鏂囨。绫诲瀷骞跺皢鐩稿叧瀛楁杈撳嚭鍦ㄥ皝闈㈠拰鎽樿椤点€傚彲閫夊€煎寘鎷瑃hesis锛堣〃绀烘瘯涓氳鏂囷級鍜宒esign锛堣〃绀烘瘯涓氳璁★級锛岀己鐪佸€间负thesis銆�
+    \item[\texttt{Type}] 鐢ㄤ簬閫夋嫨鏂囨。绫诲瀷骞跺皢鐩稿叧瀛楁杈撳嚭鍦ㄥ皝闈㈠拰鎽樿椤点€傚彲閫夊€煎寘鎷瑃hesis锛堣〃绀烘瘯涓氳鏂囷級鍜宒esign锛堣〃绀烘瘯涓氳璁★級锛岀己鐪佸€间负thesis銆�    \item[\texttt{UseSysFont}] Bool绫诲瀷锛岀敤浜庨€夋嫨鏄惁浣跨敤绯荤粺棰勮瀛椾綋锛岀己鐪佸€间负true銆�
+    \item[\texttt{CustomEnFont}] 鐢ㄤ簬閫夋嫨鑷畾涔夎嫳鏂囧瓧绗﹂泦銆傚彲閫夊€煎寘鎷瑆indows, macos, gyre, null锛岀己鐪佸€间负windows銆�
+    \item[\texttt{CustomZhFont}] 鐢ㄤ簬閫夋嫨鑷畾涔変腑鏂囧瓧绗﹂泦銆傚彲閫夊€煎寘鎷瑆indows, macos, fandol, founder, noto, null锛岀己鐪佸€间负windows銆�
 \end{description}
 
diff --git a/profile/font.sty b/profile/font.sty
index a88c073..8836a08 100644
--- a/profile/font.sty
+++ b/profile/font.sty
@@ -180,11 +180,13 @@
 \tl_const:Nn \usinggyre {gyre}
 \tl_const:Nn \usingfounder {founder}
 \tl_const:Nn \usingnoto {noto}
+\tl_const:Nn \usingnull {null}
 \tl_case:Nn {\CustomEnFont}
 {
   \usingwindows{\set_latin_fontset_windows}
   \usingmacos{\set_latin_fontset_macos}
   \usinggyre{\set_latin_fontset_gyre}
+  \usingnull{}
 }
 \tl_case:Nn {\CustomZhFont}
 {
@@ -193,6 +195,7 @@
   \usingfandol{\set_chinese_fontset_fandol}
   \usingfounder{\set_chinese_fontset_founder}% 浣跨敤鏂规瀛椾綋
   \usingnoto{\set_chinese_fontset_noto}% 浣跨敤鎬濇簮瀹嬩綋+鎬濇簮榛戜綋
+  \usingnull{}
 }
 \fi
 % 鎴戞槸 Linux 鐢ㄦ埛锛屼絾鎴戠敤 Windows 瀛椾綋锛堣鎮ㄨ刀蹇潗鍒颁富甯彴涓婃潵锛�
-- 
GitLab