From 525dee1ee08ac5bfd73b6e9e50e7f1afd59cac33 Mon Sep 17 00:00:00 2001
From: atxy <181850195@smail.nju.edu.cn>
Date: Thu, 9 Sep 2021 20:33:31 +0800
Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B00.3.0=E7=89=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 chapters/Bibliography.tex | 34 ++++++++++++++++++++++++++++++++++
 chapters/Environments.tex |  7 ++++---
 chapters/Mathematics.tex  | 19 +++++++++++++------
 chapters/Reference.tex    | 30 ++++++------------------------
 njuthesis.tex             | 35 ++++++++++++++++++-----------------
 profile/packages.sty      |  9 +++++++--
 6 files changed, 82 insertions(+), 52 deletions(-)
 create mode 100644 chapters/Bibliography.tex

diff --git a/chapters/Bibliography.tex b/chapters/Bibliography.tex
new file mode 100644
index 0000000..00fb296
--- /dev/null
+++ b/chapters/Bibliography.tex
@@ -0,0 +1,34 @@
+\chapter{绠$悊鍙傝€冩枃鐚畗
+\label{chap:bibliography}
+
+
+浣跨敤\hologo{biber}浣滀负\hologo{BibTeX}鍚庣銆傜浉鍏冲畾涔変綅浜嶾lstinline|profile/reference.sty|銆�
+
+\section{娣诲姞鍜岀鐞唥
+
+榛樿鍙傝€冩枃鐚瓨鍌ㄤ簬涓荤洰褰曚笅鐨刓lstinline|njuthesis.bib|銆傚鏋滄湁鍏朵粬鏉ユ簮锛屼篃鍙互鍦╘lstinline|njuthesis.tex|涓慨鏀逛互涓嬪懡浠わ細
+\begin{lstlisting}[language=TeX]
+\addbibresource{njuthesis.bib}
+\end{lstlisting}
+
+\subsection{浣跨敤EndNote}
+
+鍗椾含澶у淇℃伅鍖栧缓璁剧鐞嗘湇鍔′腑蹇冨凡璐拱\href{https://itsc.nju.edu.cn/EndNote/list.htm}{EndNote}渚涘叏鏍″笀鐢熷厤璐硅瘯鐢紝鏈€鏂扮増涓篍ndNote 20.銆�
+
+\subsection{浣跨敤Zotero}
+
+\href{https://www.zotero.org/}{Zotero}鏄竴娆惧厤璐圭殑鏂囩尞绠$悊杞欢锛屾敮鎸佹墍鏈夋闈㈠钩鍙般€�
+
+鍦ㄤ繚鎸乑otero绋嬪簭杩愯鐨勬儏鍐典笅锛岀偣鍑绘祻瑙堝櫒宸ュ叿鏍忕殑Zotero Connector鎻掍欢鍗冲彲鑷姩浠庣綉椤垫姄鍙栧弬鑰冩枃浠朵俊鎭€�
+
+Zotero涔熸湁鐭ョ綉鎻掍欢
+
+\section{鏂囨鍐呭紩鐢▆
+
+\lstinline|\cite{myref}|
+
+\lstinline|\citesuthor{myref}|
+
+\section{寮曠敤鏍煎紡}
+
+绗﹀悎GB7714-2015瑙勮寖
diff --git a/chapters/Environments.tex b/chapters/Environments.tex
index a40d5bb..64178d1 100644
--- a/chapters/Environments.tex
+++ b/chapters/Environments.tex
@@ -12,6 +12,7 @@
         Windows 10 & \hologo{TeX}\,Live 2021 & 閫氳繃 \\
         Windows 10 & \hologo{MiKTeX} & 閫氳繃 \\
         Windows 10 & \hologo{TeX}\,Live 2020 & cref瀛樺湪鏍煎紡闂  \\
+        macOS 10.15 & \hologo{TeX}\,Live 2021 & 閫氳繃 \\
         Ubuntu 20.04 & \hologo{TeX}\,Live 2021 & 閫氳繃 \\
         鍗楀ぇ\hologo{TeX} & \hologo{TeX}\,Live 2021 & 閫氳繃 \\
         Overleaf & \hologo{TeX}\,Live 2020 & cref瀛樺湪鏍煎紡闂  \\
@@ -51,7 +52,7 @@
 
 \section{鍦ㄧ嚎缂栬瘧}
 
-鐩镐俊浣犲湪鎺ヨЕ浜嗘湰鍦扮紪璇戜互鍚庡緢蹇氨浼氭剰璇嗗埌涓€浜涘崄鍒嗘樉鐒剁殑浜嬪疄锛岃濡俓hologo{TeX}缂栬瘧鍣ㄥ畨瑁呰繃绋嬭緝涓烘极闀匡紝鍗犵敤绌洪棿杩囧ぇ锛岃€屼笖鍦ㄤ竴閮ㄥ垎澶勭悊鍣ㄦ€ц兘涓嶄匠鐨勭數鑴戜笂闇€瑕佽緝闀跨紪璇戞椂闂碶footnote{鍏跺疄杩欎笁鐐归兘鏄骞垮ぇ鐨刉indows鐢ㄦ埛璇寸殑锛屽悓涓€涓ā鏉垮湪Linux缂栬瘧鍙互鑺傜渷涓€鍗婅€楁椂}銆傛嫆缁濇帴鍙楄繖浜涢夯鐑︾殑鍚屽涓嶅Θ灏濊瘯鏈妭浠嬬粛鐨勫湪绾跨紪璇戞柟娉曘€�
+鐩镐俊浣犲湪鎺ヨЕ浜嗘湰鍦扮紪璇戜互鍚庯紝寰堝揩灏变細鎰忚瘑鍒颁竴浜涘崄鍒嗘樉鐒剁殑浜嬪疄锛岃濡俓hologo{TeX}缂栬瘧鍣ㄥ畨瑁呰繃绋嬭緝涓烘极闀匡紝鍗犵敤绌洪棿杩囧ぇ锛岃€屼笖鍦ㄤ竴閮ㄥ垎澶勭悊鍣ㄦ€ц兘涓嶄匠鐨勭數鑴戜笂闇€瑕佽緝闀跨紪璇戞椂闂碶footnote{鍏跺疄杩欎笁鐐归兘鏄骞垮ぇ鐨刉indows鐢ㄦ埛璇寸殑锛屽悓涓€涓ā鏉垮湪Linux缂栬瘧鍙互鑺傜渷涓€鍗婅€楁椂}銆傛嫆缁濇帴鍙楄繖浜涢夯鐑︾殑鍚屽涓嶅Θ灏濊瘯鏈妭浠嬬粛鐨勫湪绾跨紪璇戞柟娉曘€�
 
 \subsection{鍗楀ぇ\hologo{TeX}骞冲彴绠€浠媫
 
@@ -77,7 +78,7 @@
 
 瀛︽牎璁烘枃鏍煎紡瑕佹眰浣跨敤鐨勫瓧浣撲竴鑸凡缁忛瑁呭湪鍚勪釜鎿嶄綔绯荤粺锛屾湰妯℃澘閽堝涓嶅悓骞冲彴杩涜浜嗚嚜鍔ㄦ娴嬮€傞厤锛屽彲浠ュ紑绠卞嵆鐢ㄣ€�
 
-鍦╘cref{tab:defaultfontset}涓彲浠ョ湅鍒帮紝涓嶅悓绯荤粺涓婁娇鐢ㄧ殑瀛椾綋鏈夋墍宸埆锛屽疄闄呰緭鍑虹粨鏋滃彲鑳藉瓨鍦ㄧ粏寰笉鍚�, 浣跨敤鏃惰娉ㄦ剰銆備緥濡傦紝鍦↙inux骞冲彴鎴栬€呬娇鐢ㄤ簡Ubuntu鍚庣鐨勫崡澶hologo{TeX}涓婏紝瀹嬩綋鍔犵矖鏁堟灉鏇存槑鏄撅紱鍦╓indows骞冲彴杩涜缂栬瘧鐨勬晥鏋滄洿鎺ヨ繎Word鍔犵矖\footnote{鍥犱负SimSun娌℃湁鍘熺敓绮椾綋锛岄€氳繃AutoFakeBold=2.17杩涜妯′豢}銆�
+鍚勪釜绯荤粺鐨勯粯璁ゅ瓧浣撹鍙傝€僜cref{tab:defaultfontset}銆傚彲浠ョ湅鍒帮紝涓嶅悓绯荤粺涓婁娇鐢ㄧ殑瀛椾綋鏈夋墍宸埆锛屽疄闄呰緭鍑虹粨鏋滃彲鑳藉瓨鍦ㄧ粏寰笉鍚�, 浣跨敤鏃惰娉ㄦ剰銆備緥濡傦紝鍦↙inux骞冲彴鎴栬€呬娇鐢ㄤ簡Ubuntu鍚庣鐨勫崡澶hologo{TeX}涓婏紝瀹嬩綋鍔犵矖鏁堟灉鏇存槑鏄撅紱鍙︿竴鏂归潰锛屽湪Windows骞冲彴杩涜缂栬瘧鐨勬晥鏋滄洿鎺ヨ繎Word鍔犵矖\footnote{鍥犱负SimSun娌℃湁鍘熺敓绮椾綋锛岄€氳繃AutoFakeBold=2.17杩涜妯′豢}銆�
 
 % \begin{enumerate}
 %     \item Ubuntu 涓嬮亣鍒扮己澶卞瓧浣� WenQuanYi Zen Hei Mono 鎴� Times New Roman鐨勯棶棰橈細
@@ -94,7 +95,7 @@
 % \end{enumerate}
 
 
-鍚勪釜绯荤粺鐨勯粯璁ゅ瓧浣撹鍙傝€僜cref{tab:defaultfontset}銆傛寚瀹氬瓧浣撶殑鐩稿叧鍛戒护鍐欎簬\texttt{profile/font.sty}銆�
+鎸囧畾瀛椾綋鐨勭浉鍏冲懡浠ゅ啓浜嶾texttt{profile/font.sty}銆�
 璇ユ枃浠朵腑涔熼鐣欐湁浣跨敤鏂规瀛椾綋鎴栬€呮€濇簮瀛椾綋鐨勫懡浠わ紝娑夊強鐨勫瓧浣撹\cref{tab:userfontset}锛屽彲鏍规嵁涓汉鍠滃ソ杩涜淇敼閫夋嫨銆�
 
 \begin{table}[htbp]
diff --git a/chapters/Mathematics.tex b/chapters/Mathematics.tex
index 1a2c2bb..38b9685 100644
--- a/chapters/Mathematics.tex
+++ b/chapters/Mathematics.tex
@@ -17,19 +17,26 @@
 浣犲彲浠ヤ娇鐢╘lstinline|equation|鐜鎻掑叆鍏紡锛屽\cref{eq:dewitt}锛屼唬鐮佸涓�:
 \begin{lstlisting}[language=TeX]
 \begin{equation}\label{eq:dewitt}
-    \int\mathrm{e}^{ax}\tanh{bx}\,\mathrm{d}x =
+    \int \mathrm{e}^{ax} \tanh {bx} \, \mathrm{d}x =
     \begin{dcases}
         \begin{multlined}
-            \frac{\mathrm{e}^{(a+2b)x}}{(a+2b)}\,
-            {{}_2F_1}\left( 1+\frac{a}{2b},1,2+\frac{a}{2b},-\mathrm{e}^{2bx} \right) \\
-            - \frac{1}{a} \mathrm{e}^{ax}\,{{}_2F_1}\left( 1,\frac{a}{2b},1+\frac{a}{2b},-\mathrm{e}^{2bx} \right)
+            \frac{\mathrm{e}^{(a+2b)x}}{(a + 2b)} \,
+            {{}_2F_1} \left( 1 + \frac{a}{2b}, 1, 2+\frac{a}{2b}, -\mathrm{e}^{2bx} \right) \\
+            - \frac{1}{a} \mathrm{e}^{ax} \, {{}_2F_1} \left( 1, \frac{a}{2b}, 1 + \frac{a}{2b}, -\mathrm{e}^{2bx} \right)
         \end{multlined}
         & a \ne b \\
-    \frac{e^{ax}-2\tan^{-1}(\mathrm{e}^{ax})}{a} & a = b
-  \end{dcases}
+    \frac{e^{ax} - 2 \tan^{-1}(\mathrm{e}^{ax})}{a} & a = b
+    \end{dcases}
 \end{equation}
 \end{lstlisting}
 
+浣跨敤mathtools鍖呬細涓巙nicode-math鍖呬骇鐢熶竴浜涘懡浠ょ殑鍐茬獊锛岀洿鎺ュ紩鐢ㄤ細杈撳嚭浠ヤ笅涓ゆ潯璀﹀憡
+\begin{lstlisting}
+Using \overbracket and \underbracket from `mathtools' package. Use \Uoverbracket and \Uunderbracket for original `unicode-math' definition.
+I'm going to overwrite the following commands from the `mathtools' package: \dblcolon, \coloneqq, \Coloneqq, \eqqcolon.
+\end{lstlisting}
+杩欎簺璀﹀憡宸茶鎵嬪姩鎶戝埗銆�
+
 \section{瀹氱悊鐜}
 
 \begin{proof}
diff --git a/chapters/Reference.tex b/chapters/Reference.tex
index 70d9165..40ea673 100644
--- a/chapters/Reference.tex
+++ b/chapters/Reference.tex
@@ -1,14 +1,19 @@
-\chapter{寮曠敤鍙傝€冩潗鏂檥
+\chapter{寮曠敤鍜岃秴閾炬帴}
 \label{chap:reference}
 
 \hologo{LaTeX}鐨勪竴澶т紭鍔垮湪浜庡彲浠ヨ嚜鍔ㄧ敓鎴愬甫瓒呴摼鎺ョ殑寮曠敤鏉$洰銆�
 
+\section{瓒呴摼鎺
 \section{鏂囨。鍐呭鐨勫紩鐢▆
 
 浣跨敤\lstinline|cleveref|瀹忓寘瀹炵幇浜嗗甫鍥俱€佽〃绛夐」鐩悕绉扮殑鏅鸿兘寮曠敤锛屼粎闇€浣跨敤\lstinline|\cref{<label>}|鍛戒护銆傜浉鍏冲畾涔変綅浜嶾lstinline|profile/reference.sty|銆�
 
 \subsection{鍥剧墖}
 
+\lstinline|\href{<url>}{<鍚嶇О>}|
+
+\subsection{鍥剧墖}
+
 \lstinline|\label{tab:mytab}|
 
 \subsection{琛ㄦ牸}
@@ -28,26 +33,3 @@
 
 
 \lstinline|\label{sec:mysec}|
-
-\section{鍙傝€冩枃鐚畗
-
-浣跨敤\hologo{biber}浣滀负\hologo{BibTeX}鍚庣銆傜浉鍏冲畾涔変綅浜嶾lstinline|profile/reference.sty|銆�
-
-\subsection{娣诲姞鍜岀鐞唥
-
-榛樿鍙傝€冩枃鐚瓨鍌ㄤ簬涓荤洰褰曚笅鐨刓lstinline|njuthesis.bib|銆傚鏋滄湁鍏朵粬鏉ユ簮锛屼篃鍙互鍦╘lstinline|njuthesis.tex|涓慨鏀逛互涓嬪懡浠わ細
-\begin{lstlisting}[language=TeX]
-\addbibresource{njuthesis.bib}
-\end{lstlisting}
-
-浣跨敤Zotero
-
-\subsection{鏂囨鍐呭紩鐢▆
-
-\lstinline|\cite{myref}|
-
-\lstinline|\citesuthor{myref}|
-
-\subsection{寮曠敤鏍煎紡}
-
-绗﹀悎GB7714-2015瑙勮寖
diff --git a/njuthesis.tex b/njuthesis.tex
index bacf128..cfee96e 100644
--- a/njuthesis.tex
+++ b/njuthesis.tex
@@ -1,17 +1,15 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 % NJU Thesis Undergraduate
 % 鍗椾含澶у鏈鐢熸瘯涓氳鏂嘗aTeX妯℃澘
-% Version 0.2.0 (2021-09-09)
+% Version 0.3.0 (2021-09-09)
 %
 % 璇峰叧娉ㄩ」鐩湴鍧€浠ヨ幏鍙栨渶鏂板彉鍖�
 % https://github.com/nju-lug/NJUThesisUndergraduate
 % https://git.nju.edu.cn/nju-lug/nju-latex-templates/njuthesisundergraduate
 %
 % 璐$尞鑰�
-% @atxy
-% @FengChendian
-% @HermitSun
-% @glatavento
+% @atxy         @FengChendian   @myandeg 
+% @glatavento   @HermitSun      @linyinfeng
 % 
 % 璁稿彲璇�
 % LaTeX Project Public License锛堢増鏈� 1.3c 鎴栨洿楂橈級
@@ -28,17 +26,17 @@
 
 \begin{document}
 
-%----------------------------------------------------------------------------------------
+%----------------------------------------
 %	灏侀潰銆佹憳瑕佸拰鐩綍
-%----------------------------------------------------------------------------------------
+%----------------------------------------
 
-\maketitle % 璇峰湪coverinfo.sty杈撳叆灏侀潰淇℃伅
+\maketitle % 璇峰湪coverpage.sty杈撳叆灏侀潰淇℃伅
 \input{chapters/Abstract.tex}
 \tableofcontents
 
-%----------------------------------------------------------------------------------------
+%----------------------------------------
 %	姝f枃閮ㄥ垎
-%----------------------------------------------------------------------------------------
+%----------------------------------------
 \mainmatter
 
 \input{chapters/Introduction.tex}
@@ -47,22 +45,25 @@
 \input{chapters/FigTabCode.tex}
 \input{chapters/Mathematics.tex}
 \input{chapters/Reference.tex}
+\input{chapters/Bibliography.tex}
 
-%----------------------------------------------------------------------------------------
+%----------------------------------------
 %	鍙傝€冩枃鐚�
-%----------------------------------------------------------------------------------------
+%----------------------------------------
 
-\printbibliography[heading=bibintoc, title=鍙傝€冩枃鐚甝 % 杈撳嚭鍙傝€冩枃鐚垪琛ㄥ苟灏嗘湰椤垫彃鍏ョ洰褰曟潯鐩�
+\printbibliography[
+    heading=bibintoc,% 鎻掑叆鐩綍鏉$洰
+    title=鍙傝€冩枃鐚甝
 
-%----------------------------------------------------------------------------------------
+%----------------------------------------
 %	鑷磋阿
-%----------------------------------------------------------------------------------------
+%----------------------------------------
 
 \input{chapters/Acknowledgement.tex}
 
-%----------------------------------------------------------------------------------------
+%----------------------------------------
 %	闄勫綍閮ㄥ垎
-%----------------------------------------------------------------------------------------
+%----------------------------------------
 \appendix
 
 \input{chapters/Standard.tex}
diff --git a/profile/packages.sty b/profile/packages.sty
index 64d221e..f140760 100644
--- a/profile/packages.sty
+++ b/profile/packages.sty
@@ -33,7 +33,8 @@
 \RequirePackage{hologo} % 鐢ㄤ簬鐢熸垚鍙互琚彃鍏ヤ功绛剧殑LaTeX logo
 % \RequirePackage{needspace} % Required to prevent page break right after a sectioning command
 % \RequirePackage{xspace} % Better print trailing whitespace
-\sys_if_engine_xetex:T{ \RequirePackage{microtype} }
+\sys_if_engine_xetex:T{
+    \RequirePackage{microtype}}
 % \sys_if_engine_luatex:T{ 
 %     \RequirePackage{emoji} 
 %     \setemojifont{Segoe UI Emoji} % For windows. 
@@ -50,7 +51,11 @@
 \RequirePackage{amsthm} % Mathematical environments
 \RequirePackage{mathtools} % Mathematical tools to use with amsmath
 \RequirePackage{thmtools} % Theorem styles
-\RequirePackage[warnings-off={mathtools-colon,mathtools-overbracket}]{unicode-math} % Math fonts in xetex or luatex
+\RequirePackage[
+    warnings-off={% 娑堥櫎涓巑athtools鍚堢敤浜х敓鐨勮鍛�
+        mathtools-colon,
+        mathtools-overbracket}
+        ]{unicode-math} % Math fonts in xetex or luatex
 
 \RequirePackage{graphicx}
 \DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png}
-- 
GitLab