diff --git a/chapters/FigTabCode.tex b/chapters/FigTabCode.tex
index 83b06946978c85e87afae7c1c9772c25e718b57a..fad8ef4ce5d853cc52bc35d371f64b9ed5b59466 100644
--- a/chapters/FigTabCode.tex
+++ b/chapters/FigTabCode.tex
@@ -17,7 +17,7 @@
     \label{fig:njuname}
 \end{figure}
 浣犲彲浠ヤ娇鐢╘lstinline|figure|鐜鎻掑叆鍥剧墖锛屽\cref{fig:njuname}锛屼唬鐮佸涓�:
-\begin{lstlisting}[language=TeX]
+\begin{lstlisting}[style=LaTeX]
 \begin{figure}
     \includegraphics[width=0.5\textwidth]{njuname}
     \caption{鍗椾含澶у鍚嶇О}
@@ -51,7 +51,7 @@
     \end{tabular}
 \end{table}
 浣犲彲浠ヤ娇鐢╘lstinline|table|鐜鎻掑叆鏍囧噯涓夌嚎琛紝濡俓cref{tab:testtab}鎵€绀猴紝浠g爜濡備笅:
-\begin{lstlisting}[language=TeX]
+\begin{lstlisting}[style=LaTeX]
 \begin{table}[htbp]
     \caption{缁忚繃娴嬭瘯鐨勭幆澧儅
     \begin{tabular}{ccc}
diff --git a/chapters/Introduction.tex b/chapters/Introduction.tex
index 685877d5879639530399de0d36b4401f4687a2f9..5672fe01102182ebe641fe601cf022d9bf57e032 100644
--- a/chapters/Introduction.tex
+++ b/chapters/Introduction.tex
@@ -50,7 +50,8 @@ njuthesis绫绘彁渚涗簡5涓彲浠ヨ嚜瀹氫箟鐨勯€夐」锛屽涓嬫墍绀恒€�
 \begin{description}
     \item[\texttt{TitleLength}] 鏍囬闀垮害锛岀敤浜庢帶鍒跺皝闈㈡爣棰樼殑琛屾暟銆傚彲閫夊€间负1銆�2銆�3锛岀己鐪佸€间负1銆�
     \item[\texttt{Degree}] 瀛︿綅绫诲瀷锛屾湰绉戠敓涓篣G锛屽嵆Undergraduate鐨勭缉鍐欍€�
-    \item[\texttt{Type}] 鐢ㄤ簬閫夋嫨鏂囨。绫诲瀷骞跺皢鐩稿叧瀛楁杈撳嚭鍦ㄥ皝闈㈠拰鎽樿椤点€傚彲閫夊€煎寘鎷瑃hesis锛堣〃绀烘瘯涓氳鏂囷級鍜宒esign锛堣〃绀烘瘯涓氳璁★級锛岀己鐪佸€间负thesis銆�    \item[\texttt{UseSysFont}] Bool绫诲瀷锛岀敤浜庨€夋嫨鏄惁浣跨敤绯荤粺棰勮瀛椾綋锛岀己鐪佸€间负true銆�
+    \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/chapters/Mathematics.tex b/chapters/Mathematics.tex
index 38b968514aaa07bd064feb2312438d120441e2cd..66d3e539669d02426a9d1ea4adc027c8401732dc 100644
--- a/chapters/Mathematics.tex
+++ b/chapters/Mathematics.tex
@@ -15,7 +15,7 @@
 \end{equation}
 
 浣犲彲浠ヤ娇鐢╘lstinline|equation|鐜鎻掑叆鍏紡锛屽\cref{eq:dewitt}锛屼唬鐮佸涓�:
-\begin{lstlisting}[language=TeX]
+\begin{lstlisting}[style=LaTeX]
 \begin{equation}\label{eq:dewitt}
     \int \mathrm{e}^{ax} \tanh {bx} \, \mathrm{d}x =
     \begin{dcases}
diff --git a/custom.tex b/custom.tex
index 15d50999a6dea282c086603cda925277a311154a..316404b57b058e4a85384d711c4057ddaba95ffe 100644
--- a/custom.tex
+++ b/custom.tex
@@ -1,4 +1,4 @@
 \lstdefinestyle{LaTeX}{
   language=TeX,
-  morekeywords={begin, label, mathrm, frac}
+  morekeywords={begin, caption, label, mathrm, frac, toprule, midrule, bottomrule, includegraphics}
 }
diff --git a/njuthesis.tex b/njuthesis.tex
old mode 100644
new mode 100755
index 64dc5b8d690b07050993b4d8852ff701dbff7e32..30fe45e373378f9934be5ce74205743e8009f595
--- a/njuthesis.tex
+++ b/njuthesis.tex
@@ -24,6 +24,9 @@
     % CustomZhFont=windows,% 璁剧疆涓枃瀛楃闆�
     ]{njuthesis}
 
+% 娣诲姞鑷畾涔夐厤缃�
+\input{custom.tex}
+
 % 杈撳叆涓汉淇℃伅
 \input{coverinfo.tex}
 
diff --git a/profile/components.sty b/profile/components.sty
index 989454deac482a02624aa78c410cb63d6e4d7e55..2fed45602ded8ba026a0978281f81e2fe15a7625 100644
--- a/profile/components.sty
+++ b/profile/components.sty
@@ -19,7 +19,7 @@
 
 % 浠g爜鏍峰紡
 \lstset{
-	basicstyle=\ttfamily\linespread{1}\selectfont,
+	basicstyle=\ttfamily\linespread{1}\small\selectfont,
     keywordstyle=\bfseries,% use bold style for keywords
     commentstyle=\rmfamily\itshape,% use italic style for comments
     stringstyle=\ttfamily,% 瀛楃涓查鏍�
@@ -29,7 +29,7 @@
     showstringspaces=false,
     captionpos=t,% place the caption at the top
 	% frame=lrtb,% show all four sides of the frame
-	%linewidth=.8\textwidth,
+	% linewidth=.8\textwidth,
 	% breakatwhitespace=true,
 	breaklines=true,
 	xleftmargin=2em,xrightmargin=2em,% set the width of the code environment