-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmain.tex
262 lines (226 loc) · 8.84 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
% !Mode:: "TeX:UTF-8"
\def\xuewei{Doctor} % 默认
\documentclass[cs4size,openany,oneside,UTF8,nofonts]{ctexbook}
% \usepackage[a4paper,text={160true mm,234true mm},top=30.5true mm,left=25true mm,head=5true mm,headsep=2.5true mm,foot=8.5true mm]{geometry}
\usepackage[a4paper,text={170true mm,246.2true mm},top=25.4true mm,left=20true mm,head=5true mm,headsep=2.5true mm,foot=7.5true mm]{geometry}
\usepackage{ccaption}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{caption}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{bigints}
\usepackage{bm}
\usepackage{txfonts}
\usepackage{graphicx}
\usepackage{enumitem}
\usepackage{fancyhdr}
\usepackage{ntheorem}
\usepackage{titlesec}
\usepackage{titletoc} % 控制目录的宏包
\usepackage{subfigure}
\usepackage{tabularx}
\usepackage[sort&compress,numbers]{natbib}
% \usepackage[boxed,linesnumbered,algochapter]{algorithm2e}
\usepackage[ruled,linesnumbered]{algorithm2e}
% \usepackage{algorithmic}
\usepackage{listings}
\usepackage{lmodern}
\usepackage{tcolorbox}
\usepackage{tikz}
%
\usetikzlibrary{calc}
\lstset{ columns=flexible, breaklines=true }
\usepackage[xetex,
bookmarksnumbered=true,
bookmarksopen=true,
colorlinks=false,
pdfborder={0 0 1},
citecolor=blue,
linkcolor=red,
anchorcolor=green,
urlcolor=blue,
breaklinks=true,
naturalnames %与algorithm2e宏包协调
]{hyperref}
\defaultfontfeatures{Mapping=tex-text}
\xeCJKsetemboldenfactor{1}%只对随后定义的CJK字体有效
\setCJKfamilyfont{hei}{SimHei}
\xeCJKsetemboldenfactor{4}
\setCJKfamilyfont{song}{SimSun}
\xeCJKsetemboldenfactor{1}
\setCJKfamilyfont{fs}{FangSong}
\setCJKfamilyfont{kai}{KaiTi}
\setCJKfamilyfont{li}{LiSu}
\setCJKfamilyfont{xw}{STXinwei}
\setCJKmainfont{SimSun}
\setCJKsansfont{SimHei}
\setmainfont{Times New Roman}
\setsansfont{Arial}
\newcommand{\heiti}{\CJKfamily{hei}}% 黑体 (Windows自带simhei.ttf)
\newcommand{\songti}{\CJKfamily{song}} % 宋体 (Windows自带simsun.ttf)
\newcommand{\fs}{\CJKfamily{fs}} % 仿宋体 (Windows自带simfs.ttf)
\newcommand{\kaishu}{\CJKfamily{kai}} % 楷体 (Windows自带simkai.ttf)
\newcommand{\li}{\CJKfamily{li}} % 隶书 (Windows自带simli.ttf)
\newcommand{\xw}{\CJKfamily{xw}} % 隶书 (Windows自带simli.ttf)
\newfontfamily\arial{Arial}
\newfontfamily\timesnewroman{Times New Roman}
\setCJKfamilyfont{hwxk}{STXingkai} %使用STXingkai华文行楷字体
\newcommand{\xingkai}{\CJKfamily{hwxk}}
\newcommand{\yihao}{\fontsize{26pt}{26pt}\selectfont} % 一号, 1.倍行距
\newcommand{\xiaoyi}{\fontsize{24pt}{24pt}\selectfont} % 小一, 1.倍行距
\newcommand{\erhao}{\fontsize{22pt}{1.25\baselineskip}\selectfont} % 二号, 1.倍行距
\newcommand{\xiaoer}{\fontsize{18pt}{18pt}\selectfont} % 小二, 单倍行距
\newcommand{\sanhao}{\fontsize{16pt}{16pt}\selectfont} % 三号, 1.倍行距
\newcommand{\xiaosan}{\fontsize{15pt}{15pt}\selectfont} % 小三, 1.倍行距
\newcommand{\sihao}{\fontsize{14pt}{14pt}\selectfont} % 四号, 1.0倍行距
\newcommand{\xiaosi}{\fontsize{12pt}{12pt}\selectfont} % 小四, 1.倍行距
\newcommand{\wuhao}{\fontsize{10.5pt}{10.5pt}\selectfont} % 五号, 单倍行距
\newcommand{\xiaowu}{\fontsize{9pt}{9pt}\selectfont} % 小五, 单倍行距
\newcommand\litem[1]{\item{\heiti#1\hspace{1.5em}}}
\newenvironment{listitem}{\begin{enumerate}[label={(\arabic*)},itemindent=2em]}{\end{enumerate}}
% \usepackage[boxed,linesnumbered,algochapter]{algorithm2e} % 算法的宏包,注意宏包兼容性,先后顺序为float、hyperref、algorithm(2e),否则无法生成算法列表
\renewcommand{\algorithmcfname}{算法}
%\usepackage{tikz,mathpazo}
%\usetikzlibrary{shapes.geometric, arrows}
\newcommand{\citeayu}[1]{\citeauthor{#1}~(\citeyear{#1})\citeup{#1}}
\begin{document}
\titleformat{\chapter}{\center\xiaoer\hei}{\chaptertitlename}{0em}{}
\titlespacing{\chapter}{0pt}{0.5\bseieskip}{0.5\bseieskip}
\titleformat{\section}{\xiaosan\hei}{\thesection}{0em}{}
\titlespacing{\section}{0pt}{0.5\bseieskip}{0.5\bseieskip}
\titleformat{\subsection}{\sihao\hei}{\thesubsection}{0em}{}
\titlespacing{\subsection}{0pt}{0.5\bseieskip}{0.5\bseieskip}
\titleformat{\subsubsection}{\xiaosi\hei}{\thesubsubsection}{0em}{}
\titlespacing{\subsubsection}{0pt}{0pt}{0pt}
\newif\ifxueweidoctor
\newif\ifxueweimaster
\def\temp{Doctor}
\ifx\temp\xuewei
\xueweidoctortrue \xueweimasterfalse
\fi
\def\temp{Master}
\ifx\temp\xuewei
\xueweidoctorfalse \xueweimastertrue
\fi
\input{format}
\input{cover}
\zihao{-4}
% \tableofcontents % 中文目录
% \chapter*{基于xxxxxxxxxxxxxxxxxx研究与实现}
%\animategraphics[height=2.8in,autoplay,loop,controls]{12}{animate_}{0}{22}
% \input{body/figures}
% \input{body/tables}
% \input{body/equations}
% \input{body/others}
\section{选题依据}
%%%%%%%%%%%% 画框, 每页自己调节
\begin{tikzpicture}[overlay,remember picture]
\draw [line width=0.8pt]
($ (current page.north west) + (1.8cm,-3.5cm) $)
rectangle
($ (current page.south east) + (-1.8cm,2.5cm) $);
\end{tikzpicture}
%%%%%%%%%%%% 画框, 每页自己调节
图片例子,如图 \ref{图片例子}
\begin{figure}[htbp]
\centering
\includegraphics[width = 0.7\textwidth]{rgbd_1.png}
\caption{图片例子}\label{图片例子}
\vspace{-1em}
\end{figure}
算法例子:算法\ref{alg1}
\begin{algorithm}
\caption{算法例子}
\label{alg1}
Initialize policy network $\pi_\theta$ and value function $V_\phi (s_t)$.
\For{epoch $ = 1,2...,$}
{
\textit{// ...}
$\pi_{old} \leftarrow \pi_{\theta}$
\textit{// Update policy network}
\For{$m = 1,...,E_{\pi}$}
{
$L^{PPO}(\theta) = \sum_{t=1}^{T_{max}}{min(\frac{\pi_{\theta}(a_{i}^{t}|o_{i}^{t})}
{\pi_{old}(a_{i}^{t}|o_{i}^{t})}\hat{A}_{i}^{t},
clip(\frac{\pi_{\theta}(a_{i}^{t}|o_{i}^{t})}{\pi_{old}(a_{i}^{t}|o_{i}^{t})},1-\varepsilon ,1+\varepsilon )
\hat{A}_{i}^{t})}$
\If {KL$[\pi_{old} | \pi_{\theta}] > 1.5{KL}_{target}$}
{
\textbf{break}
}
Update $\theta$ with $lr_{\theta}$ by Adam w.r.t $L^{PPO}(\theta)$.
}
\textit{// Update value function}
\For{$n = 1,...,E_{V}$}
{
$L^{V}(\phi) = -\sum_{N}^{i=1}\sum_{t=1}^{T_i}(\sum_{t'>t}\gamma ^{t'-t}r_{i}^{t'} - V_{\phi}(s_i^t))^2$
Update $\phi$ with $lr_{\phi}$ by Adam w.r.t $L^{V}(\phi)$.
}
}
\end{algorithm}
公式例子
\begin{equation}
\textbf{M}_t = f_{\lambda}(s_t)
\end{equation}
\begin{equation}
a_{t} = \pi_{\theta}(\textbf{M}_t, g_t, v_t, {\omega}_t)
\end{equation}
\newpage
%%%%%%%%%%%% 参考文献引用
哈哈哈哈哈哈哈 \cite{陈赢峰机器人导航的研究}
%%%%%%%%%%%% 画框, 每页自己调节
\begin{tikzpicture}[overlay,remember picture]
\draw [line width=0.8pt]
($ (current page.north west) + (1.8cm,-2.3cm) $)
rectangle
($ (current page.south east) + (-1.8cm,2.5cm) $);
\end{tikzpicture}
%%%%%%%%%%%% 画框, 每页自己调节
\newpage
%%%%%%%%%%%% bib参考文献
\bibliographystyle{GBT7714-2005NLang-HIT}
\addtolength{\bibsep}{-0.8em}
\nocite{*}
\bibliography{reference}
\newpage
\section{已取得的与论文研究内容相关的成果}
\subsection{论文成果}
\begin{itemize}
\item \textbf{Guangda Chen}, Guowei Cui, Zhongxiao Jin, Feng Wu, and Xiaoping Chen. (2019). Accurate Intrinsic and Extrinsic Calibration
of RGB-D Cameras with GP-based Depth Correction. \textit{IEEE SENSORS JOURNAL}. (SCI三区,IF: 3.076)
\end{itemize}
\subsection{比赛成果}
\begin{table}[!htbp]
\vspace{-0.5em}\label{table1}\centering\zihao{5}
\begin{tabular}{llll}
\toprule
时间 & 名称 & 地点 & 奖项\\
\midrule
2019.08 & IJCAI-2019 养老机器人挑战赛 & 中国澳门 & 第一名\\
2017.07 & RoboCup2017@Home & 日本名古屋 & 最佳操作奖\\
2016.07 & RoboCup2016@Home & 德国莱比锡 & 第三名\\
2015.09 & 2015年全国机器人大赛 & 中国贵阳 & 第一名\\
\bottomrule
\end{tabular}
\end{table}
\begin{tikzpicture}[overlay,remember picture]
\draw [line width=0.8pt]
($ (current page.north west) + (1.8cm,-3.5cm) $)
rectangle
($ (current page.south east) + (-1.8cm,2.5cm) $);
\end{tikzpicture}
%%%% 以下小节根据内容更改,没有和官方目录一致
\newpage
\section{研究内容与目标}
\section{技术路线与可行性分析}
\section{已有的科研进展}
\section{创新点总结}
\section{研究计划与安排}
%%%% 签名
\vspace*{10pt}
\rightline{研究生本人签名:\underline{\hbox to 61mm{}}}
\vspace*{10pt}
\rightline{\qquad \qquad 年\qquad \qquad 月\qquad \qquad 日}
\end{document}