|
@@ -25,6 +25,7 @@
|
|
|
\usepackage{xcolor} % color
|
|
\usepackage{xcolor} % color
|
|
|
\usepackage{xltxtra} % print a XeLaTeX
|
|
\usepackage{xltxtra} % print a XeLaTeX
|
|
|
|
|
|
|
|
|
|
+
|
|
|
% Font family
|
|
% Font family
|
|
|
\setmainfont[Mapping=tex-text]{Times New Roman}
|
|
\setmainfont[Mapping=tex-text]{Times New Roman}
|
|
|
|
|
|
|
@@ -215,12 +216,20 @@ pdfborder=001, linkcolor=black, citecolor=black]{hyperref}
|
|
|
\end{table}}%
|
|
\end{table}}%
|
|
|
|
|
|
|
|
% equation tweaking
|
|
% equation tweaking
|
|
|
|
|
+\usepackage{amssymb}
|
|
|
|
|
+\usepackage{bm} % 加粗使用
|
|
|
\usepackage{amsmath,delarray,bm,mathtools}
|
|
\usepackage{amsmath,delarray,bm,mathtools}
|
|
|
-\newtagform{newtag}[]{式(}{)}
|
|
|
|
|
|
|
+\newtagform{newtag}[]{式(}{)} %定义公式编号样式
|
|
|
\usetagform{newtag}
|
|
\usetagform{newtag}
|
|
|
|
|
|
|
|
% Theorem
|
|
% Theorem
|
|
|
-\newtheorem{definition}{定义}
|
|
|
|
|
|
|
+\newtheorem{definition}{定义}[chapter]
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+% Algorithm
|
|
|
|
|
+\usepackage{algorithm}
|
|
|
|
|
+\usepackage{algorithmicx}
|
|
|
|
|
+\usepackage{algpseudocode}
|
|
|
|
|
|
|
|
% Code
|
|
% Code
|
|
|
\usepackage{listings}
|
|
\usepackage{listings}
|