diff --git a/chapters/FigTabCode.tex b/chapters/FigTabCode.tex
index 83b06946978c85e87afae7c1c9772c25e718b57a..968dae3b57e9e0560eefa449da7bcc7b0f572f68 100644
--- a/chapters/FigTabCode.tex
+++ b/chapters/FigTabCode.tex
@@ -2,13 +2,6 @@
 
 \section{鍥剧墖绀轰緥}
 
-鍥剧墖瀛樻斁鐩綍鐨勫畾涔変负
-\begin{lstlisting}[language=TeX]
-\RequirePackage{graphicx}
-\DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png}
-\graphicspath{{figure/}} % 鍥剧墖璺緞
-\end{lstlisting}
-
 鎵€鏈夊浘鐗囬粯璁ゅ瓨鏀惧湪涓荤洰褰曚笅鐨刓texttt{figure/}鏂囦欢澶瑰唴
 
 \begin{figure}[htbp]
@@ -17,7 +10,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 +44,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/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
new file mode 100644
index 0000000000000000000000000000000000000000..316404b57b058e4a85384d711c4057ddaba95ffe
--- /dev/null
+++ b/custom.tex
@@ -0,0 +1,4 @@
+\lstdefinestyle{LaTeX}{
+  language=TeX,
+  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 270b1a8473c949026d8ffc09320e4d4448a58a8d..5c91a2cf2b40f8bc13714f732d08fd4dc04c9c3a
--- a/njuthesis.tex
+++ b/njuthesis.tex
@@ -25,6 +25,9 @@
     % customchinesefont=windows,% 璁剧疆涓枃瀛楃闆�
     ]{njuthesis}
 
+% 娣诲姞鑷畾涔夐厤缃�
+\input{custom.tex}
+
 % 杈撳叆灏侀潰淇℃伅
 \input{coverinfo.tex}
 
@@ -37,7 +40,7 @@
 %	灏侀潰銆佹憳瑕佸拰鐩綍
 %----------------------------------------
 
-\maketitle % 璇峰湪coverpage.sty杈撳叆灏侀潰淇℃伅
+\maketitle 
 \input{chapters/Abstract.tex}
 \tableofcontents
 
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