From 501e965b01d9bdc60f783c0f8b4d166c3bb9c2ad Mon Sep 17 00:00:00 2001
From: atxy <181850195@smail.nju.edu.cn>
Date: Wed, 22 Sep 2021 14:36:41 +0800
Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E4=BA=86=E8=AF=B4?=
 =?UTF-8?q?=E6=98=8E=E6=96=87=E6=A1=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 njuthesis.dtx | 65 +++++++++++++++++++++++++++------------------------
 1 file changed, 35 insertions(+), 30 deletions(-)

diff --git a/njuthesis.dtx b/njuthesis.dtx
index 6029002..d3b242a 100644
--- a/njuthesis.dtx
+++ b/njuthesis.dtx
@@ -315,25 +315,38 @@ through XeTeX.
 % \label{sec:setup}
 % 鏈妭涓昏浠嬬粛鏈畯鍖呯殑鑾峰彇銆佸畨瑁呬互鍙婄紪璇戞柟寮�
 % 
-% \subsection{涓嬭浇妯℃澘}
+% \subsection{鑾峰彇妯℃澘}
 %
-% 鏈畯鍖呭凡缁廫href{https://ctan.org/pkg/njuthesis}{鍙戝竷鍦–TAN}锛屽皢鍦ㄦ槑骞磋繘鍏hologo{TeX}\,Live 2022 鍜孿hologo{MiKTeX}鍙戣鐗堛€傜劧鑰孋TAN鐗堟洿鏂颁笉鍙婃椂锛屾洿鎺ㄨ崘浣跨敤浠ヤ笅鏂瑰紡涓嬭浇銆�
+% \subsubsection{鑷姩瀹夎}
 %
+% \pkg{njuthesis}宸茬粡浜�2021骞�9鏈�12鏃href{https://ctan.org/pkg/njuthesis}{鍙戝竷鍦–TAN}锛圕omprehensive \hologo{TeX} Archive Network锛夛紝灏嗗湪鏄庡勾杩涘叆\hologo{TeX}\,Live 2022銆�
+% 鐩墠锛屾偍宸茬粡鍙互閫氳繃\pkg{tlmgr}鎴栬€匼hologo{MiKTeX} Console绛夊寘绠$悊鍣ㄧ洿鎺ュ畨瑁呭苟浣跨敤鏈€鏂扮殑绋冲畾鐗堬紝鏂规硶璇﹁绗琝ref{subsec:localcompile} 鑺傘€�
+%
+% 鐒惰€孋TAN鐗堥渶瑕佸紑鍙戣€呮墜鍔ㄤ笂浼狅紝鐗堟湰鏇存柊鍏锋湁婊炲悗鎬с€傚鏋滀娇鐢ㄦ椂閬囧埌浜嗛棶棰橈紝鎺ㄨ崘浣跨敤浠ヤ笅鏂瑰紡鑾峰彇鏈€鏂扮増鏈€�
 % 
-% \subsubsection{鍙戝竷鐗坿
+% \subsubsection{涓嬭浇姝e紡鐗坿
 %
-% 浠庢湰妯℃澘鐨刓href{https://github.com/nju-lug/NJUThesis/releases/latest}{Github Releases椤甸潰}涓嬭浇鏈€鏂扮殑鍙戝竷鐗堛€�
-% 濡傛灉Github璁块棶閫熷害杈冩參锛屼篃鍙互浣跨敤\href{https://mirror.nju.edu.cn/github-release/nju-lug/NJUThesis/LatestRelease/}{鍗楀ぇ闀滃儚}
+% 鏈ā鏉夸笉瀹氭湡灏嗗凡鏈夌殑鏂板姛鑳藉拰闂淇鎵撳寘涓烘柊鐨勬寮忓彂琛岀増锛屼笅杞芥柟寮忓寘鎷細
+% \begin{itemize}
+%  \item \href{https://github.com/nju-lug/NJUThesis/releases/latest}{Github Releases椤甸潰}
+%  \item \href{https://mirror.nju.edu.cn/download/app/NJUThesis%20%E8%AE%BA%E6%96%87%E6%A8%A1%E6%9D%BF}{鍗楀ぇ闀滃儚涓嬭浇椤祡
+%\end{itemize}
+% 鍦ㄥ浗鍐呬娇鐢ㄦ椂锛屽悗鑰呭叿鏈夋樉钁楁洿蹇殑閫熷害銆�
 %
-% \subsubsection{婧愪唬鐮亇
+% \subsubsection{涓嬭浇寮€鍙戠増}
 %
-% 浠庢湰妯℃澘鐨刓href{https://github.com/nju-lug/NJUThesis/}{ Github 浠撳簱}鎴栬€匼href{https://git.nju.edu.cn/nju-lug/nju-latex-templates/njuthesis}{NJU Git 鍚屾闀滃儚}涓嬭浇鏈€鏂扮殑dtx鏂囦欢鑷瀹夎
+% 寮€鍙戠増鍏锋湁鏈€鏂扮殑杩涘害锛屾帹鑽愰渶瑕佹渶鏂拌ˉ涓佹垨鑰呭弬涓庡紑鍙戠殑鍚屽涓嬭浇鏈€鏂扮殑\file{dtx}鏂囦欢鑷瀹夎
+% \begin{itemize}
+%  \item \href{https://github.com/nju-lug/NJUThesis/}{Github 浠撳簱}
+%  \item \href{https://git.nju.edu.cn/nju-lug/nju-latex-templates/njuthesis}{NJU Git 鍚屾闀滃儚}
+%\end{itemize}
 %
 % \subsection{鏈湴缂栬瘧}
+% \label{subsec:localcompile}
 %
 % \subsubsection{瀹夎\hologo{TeX}鍙戣鐗坿
 %
-% 棣栧厛闇€瑕佷笅杞絓hologo{TeX}杞欢鍙戣鐗堬紝鏍″洯缃戠幆澧冧腑浣跨敤\href{https://mirror.nju.edu.cn/download/app/TeX%20%E6%8E%92%E7%89%88%E7%B3%BB%E7%BB%9F}{鍗楀ぇ闀滃儚绔檥鍙互鑾峰緱鏈€濂界殑浣撻獙銆俓textbf{鎺ㄨ崘浣跨敤鏈€鏂扮殑\hologo{TeX}\,Live 2021鎴栬€匼hologo{MiKTeX} 21浠ラ伩鍏嶆綔鍦ㄧ殑鍏煎鎬ч棶棰樸€倉
+% 棣栧厛闇€瑕佷笅杞絓hologo{TeX}杞欢鍙戣鐗堬紝鏍″洯缃戠幆澧冧腑浣跨敤\href{https://mirror.nju.edu.cn/download/app/TeX%20%E6%8E%92%E7%89%88%E7%B3%BB%E7%BB%9F}{鍗楀ぇ闀滃儚绔檥鍙互鑾峰緱鏈€濂界殑浣撻獙銆俓textbf{鎺ㄨ崘浣跨敤鏈€鏂扮殑\hologo{TeX}\,Live 2021鎴栬€匼hologo{MiKTeX} 21浠ラ伩鍏嶆綔鍦ㄧ殑鍏煎鎬ч棶棰樸€備娇鐢╘hologo{LuaLaTeX}缂栬瘧闇€瑕佸皢\pkg{LuaTeX-ja}鍖呮洿鏂拌嚦2021-09-19鎴栨洿鏂扮殑鐗堟湰}
 %
 % \begin{itemize}
 %     \item 涓轰簡閬垮厤涓嶅繀瑕佺殑楹荤儲锛岃灏藉彲鑳戒笅杞� full 鐗堟湰锛屽 texlive-full銆傜畝鑰岃█涔嬶紝涓嬭浇澶х殑閭d釜銆�
@@ -1090,30 +1103,22 @@ through XeTeX.
 % \RequirePackage{xspace} % Better print trailing whitespace
 %    \end{macrocode}
 %
-% 閽堝缂栬瘧寮曟搸锛屼娇鐢ㄤ笉鍚岀殑瀹忓寘閲嶆瀯涓嬪垝绾垮懡浠�
+% \begin{macro}{\njuline}
+% 閽堝缂栬瘧寮曟搸锛屼娇鐢ㄤ笉鍚岀殑瀹忓寘鏋勫缓鍙互瀵逛腑鏂囨甯告崲琛岀殑涓嬪垝绾垮懡浠ゃ€俓pkg{lua-ul}涓渶瑕佸湪缁撳熬浣跨敤|\null|淇濇姢灏鹃儴绌虹櫧銆�
 %    \begin{macrocode}
 \sys_if_engine_xetex:T
 {
     \RequirePackage{microtype}
-
-    % 鍔犱腑鏂囦笅鍒掔嚎锛屼笉鑳界敤浜巐ualatex
     \RequirePackage{xeCJKfntef}
     \newcommand{\njuline}[1]{\CJKunderline{#1}}
 }
-\sys_if_engine_luatex:T{
-    % 鍔犱腑鏂囦笅鍒掔嚎
+\sys_if_engine_luatex:T
+{
     \RequirePackage{lua-ul}
     \newcommand{\njuline}[1]{\underLine{#1}\null}
-
-    % emoji鏀寔
-    % \RequirePackage{emoji}
-    % \setemojifont{Segoe~UI~Emoji} % windows
-    % \setemojifont{Apple~Color~Emoji} % macos
-    % \setemojifont{Noto~Color~Emoji}
-    % For windows. 
-    % Shipped with the best `grinning-face-with-sweat' support.
 }
 %    \end{macrocode}
+% \end{macro}
 %
 % 鐢熸垚鐢ㄤ簬娴嬭瘯鐨勫ぇ娈垫棤鎰忎箟鑻辨枃鏂囧瓧
 %    \begin{macrocode}
@@ -2351,26 +2356,23 @@ through XeTeX.
 %
 % \subsection{鎽樿缁樺埗}
 %
-% 涓枃鍏抽敭璇�
+% \begin{macro}{\keywords,\englishkeywords}
+% 涓嫳鏂囧叧閿瘝
 %    \begin{macrocode}
 \NewDocumentCommand \keywords {m} {%
   \par\vspace{2ex}\noindent%
   {\kaishu\zihao{-4}\makebox[4em][s]{鍏抽敭璇峽锛殅}}~{#1}%
 }
-%    \end{macrocode}
-%
-% 
-% 鑻辨枃鍏抽敭璇�
-%
-%    \begin{macrocode}
 \NewDocumentCommand \englishkeywords {m} {%
   \par\vspace{2ex}\noindent%
   {KEYWORDS{:}}~~{#1}%
 }
 %    \end{macrocode}
+% \end{macro}
 %
 %   
-% 鏈鎽樿鐜
+% \begin{macro}{\@@_print_abstract_ug:,\@@_print_abstract_en_ug:}
+% 杈撳嚭鏈鎽樿鏍煎紡銆�
 %
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_print_abstract_ug:
@@ -2420,9 +2422,11 @@ through XeTeX.
   \zihao{-4}\par%
 }
 %    \end{macrocode}
+% \end{macro}
 %
 % 
-% 鐮旂┒鐢熸憳瑕佺幆澧�
+% \begin{macro}{\@@_print_abstract_g:,\@@_print_abstract_en_g:}
+% 杈撳嚭鐮旂┒鐢熸憳瑕佹牸寮忋€�
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_print_abstract_g:
 {
@@ -2469,6 +2473,7 @@ through XeTeX.
   \zihao{4}\par%
 }
 %    \end{macrocode}
+% \end{macro}
 %
 % 
 % 鍒ゆ柇瀛︿綅
-- 
GitLab