|
|
@ -9,7 +9,9 @@
|
|
|
|
\usepackage{lscape}
|
|
|
|
\usepackage{lscape}
|
|
|
|
\usepackage{fancyhdr}
|
|
|
|
\usepackage{fancyhdr}
|
|
|
|
\usepackage{amsmath,mathtools,amsthm,amsfonts,amssymb,bm}
|
|
|
|
\usepackage{amsmath,mathtools,amsthm,amsfonts,amssymb,bm}
|
|
|
|
\usepackage[colorlinks, urlcolor=blue, linkcolor=purple, citecolor=red]{hyperref}
|
|
|
|
\usepackage{titlesec}
|
|
|
|
|
|
|
|
\usepackage[colorlinks,bookmarksnumbered,urlcolor=blue,
|
|
|
|
|
|
|
|
linkcolor=purple,citecolor=red,plainpages=false]{hyperref}
|
|
|
|
\usepackage[centering,a4paper,body={16cm,22cm}]{geometry}
|
|
|
|
\usepackage[centering,a4paper,body={16cm,22cm}]{geometry}
|
|
|
|
%============================================================
|
|
|
|
%============================================================
|
|
|
|
% 配制列表环境
|
|
|
|
% 配制列表环境
|
|
|
@ -18,15 +20,8 @@
|
|
|
|
\setlist*{leftmargin=*} % 列表和段落头对齐
|
|
|
|
\setlist*{leftmargin=*} % 列表和段落头对齐
|
|
|
|
\setlist[1]{labelindent=\parindent} % Only the level 1
|
|
|
|
\setlist[1]{labelindent=\parindent} % Only the level 1
|
|
|
|
%============================================================
|
|
|
|
%============================================================
|
|
|
|
% 每节单独起一页
|
|
|
|
|
|
|
|
\usepackage{titlesec}
|
|
|
|
|
|
|
|
\newcommand{\sectionbreak}{\clearpage}
|
|
|
|
|
|
|
|
%============================================================
|
|
|
|
|
|
|
|
% 绘图支持
|
|
|
|
% 绘图支持
|
|
|
|
\usepackage{tikz}
|
|
|
|
\usepackage{tikz}
|
|
|
|
% \usetikzlibrary{shapes.geometric, arrows}
|
|
|
|
|
|
|
|
% \usetikzlibrary{shapes,decorations}
|
|
|
|
|
|
|
|
% \usetikzlibrary{intersections,decorations.text}
|
|
|
|
|
|
|
|
\definecolor{c1}{RGB}{116, 52, 129} %清华紫
|
|
|
|
\definecolor{c1}{RGB}{116, 52, 129} %清华紫
|
|
|
|
\definecolor{c2}{RGB}{130, 80, 140}
|
|
|
|
\definecolor{c2}{RGB}{130, 80, 140}
|
|
|
|
\definecolor{c3}{RGB}{230, 180, 240}
|
|
|
|
\definecolor{c3}{RGB}{230, 180, 240}
|
|
|
@ -65,6 +60,9 @@
|
|
|
|
\setcounter{secnumdepth}{4} % 章节编号深度 (part 对应 -1)
|
|
|
|
\setcounter{secnumdepth}{4} % 章节编号深度 (part 对应 -1)
|
|
|
|
\setcounter{tocdepth}{1} % 目录深度 (part 对应 -1)
|
|
|
|
\setcounter{tocdepth}{1} % 目录深度 (part 对应 -1)
|
|
|
|
%============================================================
|
|
|
|
%============================================================
|
|
|
|
|
|
|
|
% 每节单独起一页
|
|
|
|
|
|
|
|
\newcommand{\sectionbreak}{\clearpage}
|
|
|
|
|
|
|
|
%============================================================
|
|
|
|
% 居中章节标题
|
|
|
|
% 居中章节标题
|
|
|
|
\newenvironment{pre}{
|
|
|
|
\newenvironment{pre}{
|
|
|
|
\titleformat{\chapter}[display]{\centering}{}{-3mm}{\Huge\heiti}
|
|
|
|
\titleformat{\chapter}[display]{\centering}{}{-3mm}{\Huge\heiti}
|
|
|
@ -164,8 +162,9 @@
|
|
|
|
\renewcommand{\arraystretch}{1}
|
|
|
|
\renewcommand{\arraystretch}{1}
|
|
|
|
%======================================================================
|
|
|
|
%======================================================================
|
|
|
|
% 调整附录格式
|
|
|
|
% 调整附录格式
|
|
|
|
\newcommand{\appendixes}{
|
|
|
|
\let\stdappendix\appendix
|
|
|
|
\appendix
|
|
|
|
\renewcommand{\appendix}{
|
|
|
|
|
|
|
|
\stdappendix
|
|
|
|
\renewcommand{\thefigure}{\Alph{chapter}--\arabic{figure}}
|
|
|
|
\renewcommand{\thefigure}{\Alph{chapter}--\arabic{figure}}
|
|
|
|
\renewcommand{\thetable}{\Alph{chapter}--\arabic{table}}
|
|
|
|
\renewcommand{\thetable}{\Alph{chapter}--\arabic{table}}
|
|
|
|
\renewcommand{\chaptername}{附录\Alph{chapter}}
|
|
|
|
\renewcommand{\chaptername}{附录\Alph{chapter}}
|
|
|
|