-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tex
105 lines (94 loc) · 3.42 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
\documentclass[UTF8,a4paper,12pt]{ctexart}
\usepackage{ctex}
\usepackage{amsmath}
\numberwithin{equation}{section}
\allowdisplaybreaks[4] %多行公式中换页
\usepackage{array}
\usepackage[font=small,font=bf,labelsep=quad]{caption}
\usepackage{amssymb}
\usepackage{tikz}
\usepackage{amsthm}
\usepackage{mathrsfs}
\usepackage{enumitem}
\usepackage{dutchcal}
\usepackage{multirow}
\usepackage{color}
\usepackage{titletoc}
\usepackage{graphicx} %插入图片
\usepackage{times}
\usepackage{mathptmx}
\usepackage{fancyhdr} %页眉页脚
\usepackage{bicaption}
% \captionsetup{labelfont=bf} %表格表号与表题加粗
\captionsetup[figure][bi-first]{name=图}
\captionsetup[figure][bi-second]{name=Figure}
\captionsetup[bi-first]{labelfont={bf}, textfont={normalfont, it}}
\captionsetup[bi-second]{labelfont={bf}, textfont={normalfont, it}}
\captionsetup[table][bi-first]{name=表}
\captionsetup[table][bi-second]{name=Table}
% Use the bicaption package with list type "figureEng" for the 2nd language
\captionsetup[bi-second]{listtype+=Eng}
% Define type "figureEng" and \listoffigureEng
\usepackage{newfloat}
\renewcommand{\listfigurename}{本文插图索引}
\renewcommand{\listtablename}{本文表格索引}
\DeclareFloatingEnvironment[fileext=lof2]{figureEng}[Figure][List of Figures]
\DeclareFloatingEnvironment[fileext=lof3]{tableEng}[Table][List of Tables]
% \usepackage[figuresleft]{rotating}
\DeclareMathOperator*{\argmax}{argmax}
\DeclareMathOperator*{\argmin}{argmin}
\pagestyle{fancy}
\fancyhf{}
\fancyfoot[C]{\thepage}
\usepackage{setspace}
\setlength{\baselineskip}{20pt}
\newcommand*{\circled}[1]{\lower.7ex\hbox{\tikz\draw (0pt, 0pt)%
circle (.5em) node {\makebox[1em][c]{\small #1}};}}
\usepackage{hyperref} %目录
\hypersetup{colorlinks=true,linkcolor=black}
\renewcommand {\thefigure} {\thesection{}-\arabic{figure}}%设定图片的编号。这样设置的实现效果为图1-1
\renewcommand {\thetable} {\thesection{}-\arabic{table}}
\usepackage{appendix}
\usepackage{tocloft}
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}} %为目录中section补上引导点
\usepackage{titletoc}
\titlecontents{section}[0pt]{\addvspace{6pt}\filright\bf}%
{\contentspush{\thecontentslabel \quad}}%
{}{\titlerule*[8pt]{.}\contentspage}
\makeatletter %双线页眉
\def\headrule{{\if@fancyplain\let\headrulewidth\plainheadrulewidth\fi%
\hrule\@height 1.5pt \@width\headwidth\vskip1.5pt%上面线为1pt粗
\hrule\@height 0.5pt\@width\headwidth %下面0.5pt粗
\vskip-2\headrulewidth\vskip-1pt} %两条线的距离1pt
\vspace{6mm}} %双线与下面正文之间的垂直间距
\makeatother
\setmainfont{Times New Roman}
\CTEXsetup[format={\heiti \zihao{3} \bfseries \center}]{section}
\CTEXsetup[number={第\chinese{section}章}]{section}
\usepackage[explicit]{titlesec}
\titlespacing*{\section}{0pt}{24pt plus .24pt minus .24pt}{18pt plus .0ex}
\usepackage[backend=biber,style=gb7714-2015]{biblatex}
\addbibresource[location=local]{papers.bib}
\def\istrue{true}
%%%%%%%%%%%%%%%%
\def\isblindreview{false} % modify to {true} if it is the blind review version
%%%%%%%%%%%%%%%%
\begin{document}
\include{cover_chinese}
\include{cover_english}
\ifx\isblindreview\istrue
\else
\include{copyright}
\fi
\include{abstract}
\include{table_of_contents}
\include{introduction}
\include{conclusion}
\include{citation}
\include{appendix}
\ifx\isblindreview\istrue
\else
\include{published_papers}
\include{thanks}
\fi
\end{document}