-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathmain.tex
executable file
·156 lines (121 loc) · 3.92 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
% \documentclass[draftformat,mathCMR,draft]{HUSTthesis}
\documentclass[draftformat,mathCMR]{HUSTthesis}
% 所有其它可能用到的包都统一放到这里了,可以根据自己的实际添加或者删除。这样做
% 主要是为了避免class文件过于臃肿。
\usepackage{HUSTtils}
% \setmainfont{Times New Roman}[Scale=.9]
\setmainfont{Times New Roman}
%\includeonly{body/chap02}
% \setcitestyle{authoryear, open={(},close={)}}
\usepackage[stable]{footmisc}
\usepackage{xcolor}
\usepackage{soul}
\newcommand*\red[1]{\textcolor{red}{#1}}
% \setul{0.5ex}{0.3ex}
\usepackage{xeCJKfntef}
\newcommand\redline[1]{\CJKunderline[skip=false,format=\color{red}]{#1}}
\usepackage{mathtools}
% \let\proof\relax
% \let\endproof\relax
% \let\theoremstyle\relax
% \let\newtheoremstyle\relax
% \usepackage{amsthm}
% \usepackage{amssymb}
\usepackage{amsmath,amssymb,bm}
\DeclareMathOperator*{\argmax}{argmax}
\DeclareMathOperator*{\argmin}{argmin}
\DeclareMathOperator{\trans}{{\mathrm{T}}}
\DeclareMathOperator*{\avg}{Avg}
\newcommand*\abs[1]{\left \lvert#1 \right \rvert}
\newcommand*\norm[1]{\left \lVert #1 \right \rVert}
\newcommand\x{\bm{x}}
\newcommand\y{\bm{y}}
\newcommand\e{\bm{e}}
\newcommand\h{\bm{h}}
\newcommand\w{\bm{w}}
\newcommand\g{\bm{g}}
\newcommand\m{\bm{m}}
\newcommand\bs{\bm{s}}
\newcommand\bp{\bm{p}}
\newcommand\brho{\bm{\rho}}
\newcommand\bv{\bm{v}}
\newcommand\bu{\bm{u}}
\newcommand\mathr{\mathbb{R}}
\newcommand\mathd{\mathbb{D}}
% \usepackage[e]{esvect}
% \newcommand{\uv}[2][2mu]{\vec{#2\mkern-#1}\mkern#1}
% *** SPECIALIZED LIST PACKAGES ***
\usepackage{algorithm, algorithmic}
% \newcommand{\algorithmautorefname}{Algorithm}
\usepackage{breqn}
\usepackage{pifont}
\newcommand{\cmark}{\ding{51}}
\newcommand{\xmark}{\ding{55}}
\newcommand{\rfist}{\ding{192}~}
\newcommand{\rsecond}{\ding{193}~}
\newcommand{\rthird}{\ding{194}~}
\usepackage{marginnote}
\usepackage{multirow,makecell}
\usepackage{tabularx}
% \usepackage{ltablex} %load to using long tabularx
% \keepXColumns %solve the problem that tabularx does not fill full textwidth when using ltablex
\newcolumntype{Y}{>{\centering\arraybackslash}X}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\newcommand\ph{$\phantom{1}$}
\newcommand\s{$^\star$}
\newlength{\twosubht}
\newsavebox{\twosubbox}
% 修改autoref前后间距,解决标签应用后的前后间距问题
\usepackage{letltxmacro}
\LetLtxMacro\oldautoref\autoref
\DeclareRobustCommand{\autoref}[1]{{\let\nobreakspace\space\oldautoref{#1}\space}}
\newcommand*\secref[1]{\ref{#1}节}
\usepackage{cleveref}
\newcommand{\crefrangeconjunction}{~--~}
\Crefname{table}{表}{表}
\Crefname{figure}{图}{图}
% %% using line number.
% \usepackage[pagewise]{lineno}
% \makeatletter
% \def\makeLineNumberLeft{%
% \linenumberfont\llap{\hb@xt@\linenumberwidth{\LineNumber\hss}\hskip\linenumbersep}% left line number
% \hskip\columnwidth% skip over column of text
% \rlap{\hskip\linenumbersep\hb@xt@\linenumberwidth{\hss\LineNumber}}\hss}% right line number
% \leftlinenumbers% Re-issue [left] option
% \makeatother
\begin{document}
%定义所有的eps文件在 figures 子目录下
\graphicspath{{figures/}}
% 生成封面,版权页,摘要
\frontmatter
\input{body/cover}
\makecover
%目录
\tableofcontents
% 对照表
% \include{body/denotation}
\mainmatter
\raggedbottom
%% using line count
% \linenumbers
% \nolinenumbers
%%% 结论
\input{body/chapter/cnn.tex}
\input{body/chapter/univ.tex}
%%% 致谢
\include{body/chapter/ack.tex}
%%% 参考文献
%Included for Gather Purpose only:
%input "ref/refs.bib"
\bibliographystyle{HUSTThesis}
\bibliography{ref/thesis}
% ---------------------------------------------
%%% 附录
\begin{appendix}
\input{body/appendix/app.tex}
\end{appendix}
\end{document}