forked from ustctug/ustcthesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathustcsetup.tex
44 lines (35 loc) · 1.35 KB
/
ustcsetup.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
% !TeX root = ./main.tex
\ustcsetup{
title = {中国科学技术大学\\学位论文模板示例文档},
title* = {An example of thesis template for University of Science
and Technology of China},
author = {李泽平},
author* = {Li Zeping},
speciality = {数学与应用数学},
speciality* = {Mathematics and Applied Mathematics},
supervisor = {XXX~教授, XXX~教授},
supervisor* = {Prof. XXX, Prof. XXX},
% date = {2017-05-01}, % 默认为今日
% professional-type = {专业学位类型},
% professional-type* = {Professional degree type},
% secret-level = {秘密}, % 绝密|机密|秘密,注释本行则不保密
% secret-level* = {Secret}, % Top secret|Highly secret|Secret
% secret-year = {10}, % 保密年限
}
% 加载宏包
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage[ruled,linesnumbered]{algorithm2e}
\usepackage{siunitx}
\usepackage{amsthm}
% 数学命令
\input{math-commands.tex}
% 配置图片的默认目录
\graphicspath{{figures/}}
% 用于写文档的命令
\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}
\DeclareRobustCommand\pkg{\textsf}
\DeclareRobustCommand\file{\nolinkurl}
% hyperref 宏包在最后调用
\usepackage{hyperref}