forked from xdlinux/xdba-thesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
XDBAthesis.cfg
141 lines (137 loc) · 4.65 KB
/
XDBAthesis.cfg
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
%% This is the configuration file of the XDBAthesis package.
%% This program is a LaTeX cfg file for bachelor thesis template
%% of Xidian university , built with the CTeX 2.9.0, writen with
%% WinEdt 6.0.
%%
%% This program is free software; you can redistribute it and/or modify
%% it under the terms of the GNU General Public License as published by
%% the Free Software Foundation; either version 2 of the License, or
%% (at your option) any later version.
%%
%% This program is distributed in the hope that it will be useful,
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
%% GNU General Public License for more details.
%%
%% You should have received a copy of the GNU General Public License
%% along with this program; if not, write to the Free Software
%% Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
%%
%% Copyright \copyright\ 2010 Xue-Jilong @ xidian
%% $Xue-Jilong [email protected], v0.1, 2010/03/21$
%% ----------------------------------------------------------------------
%%
\ProvidesFile{XDBAthesis.cfg}[2010/03/20 v0.1 XDBAthesis configuration file]
%%
%% the setup of ctex package
%%
\def\CTEX@contentsname{目\XDBAspace 录}
%% labels in the title page
%%
\def\XDBA@label@school{西安电子科技大学}
%% labels for master thesis title page
%%
\ifXDBA@bachelor
\def\XDBA@label@title{题\XDBAspace 目}
\def\XDBA@label@college{学\XDBAspace 院}
\def\XDBA@label@major{专\XDBAspace 业}
\def\XDBA@label@author{学生姓名}
\def\XDBA@label@advisor{导师姓名}
\def\XDBA@label@thesis{本科毕业设计论文}
\def\XDBA@label@class{班\XDBAquad 级}
\def\XDBA@label@schoolnumber{学\XDBAquad 号}
\else
\def\XDBA@label@schoolnumber{学~\XDBAquad ~号}
\def\XDBA@label@identifier{代~\XDBAquad ~号}
\def\XDBA@label@classnumber{分~类~号}
\def\XDBA@label@classification{密~\XDBAquad ~级}
\def\XDBA@label@title{ {题{\zihao{-5}(中、英文)} 目}}
\def\XDBA@label@majorclass{学科门类}
\def\XDBA@label@major{学科、专业}
\def\XDBA@label@author{作者姓名}
\def\XDBA@label@advisor{指导教师姓名、职务}
\def\XDBA@label@date{提交论文日期}
\fi
%%
%% string values filled in the title page
%%
\def\XDBA@value@title{(论~文~题~目)}
\def\XDBA@value@resttitle{(论文题目续)}
\def\XDBA@value@major{(专业)}
\def\XDBA@value@author{(学生姓名)}
\def\XDBA@value@advisor{(导师姓名)}
\def\XDBA@value@schoolnumber{(学号)}
%% string values filled in master thesis title page
\ifXDBA@bachelor
\def\XDBA@value@college{(学院)}
\def\XDBA@value@class{(班级)}
\else
\def\XDBA@value@entitle{(English Title)}
\def\XDBA@value@enresttitle{(English Title)}
\def\XDBA@value@identifier{(代号)}
\def\XDBA@value@classnumber{(分类号)}
\def\XDBA@value@classification{(密级)}
\def\XDBA@value@majorclass{(学科门类)}
\def\XDBA@value@date{二〇一二年十二月二十三日}
\fi
%%
%% labels in the abstracts
%%
\def\XDBA@label@abstract{摘\XDBAspace 要}
\def\XDBA@label@englishabstract{ABSTRACT}
\def\XDBA@label@keywords{关键词:}
\def\XDBA@label@englishkeywords{Keywords:~}
%% labels in the thanks
%%
\def\XDBA@label@thanks{致\XDBAspace 谢}
%%
%% the chapter title format
%%
\def\CTEX@chapter@nameformat{\bfseries\heiti\zihao{-3}}
\def\CTEX@chapter@titleformat{\bfseries\heiti\zihao{-3}}
\def\CTEX@chapter@beforeskip{15\p@}
\def\CTEX@chapter@afterskip{12\p@}
%%
%% the section title format
%%
\def\CTEX@section@format{\bfseries\songti\zihao{4}\centering}
\def\CTEX@section@beforeskip{-3ex \@plus -1ex \@minus -.2ex}
\def\CTEX@section@afterskip{1.0ex \@plus .2ex}
%%
%% the subsection title format
%%
\def\CTEX@subsection@format{\bfseries\songti\zihao{-4}}
\def\CTEX@subsection@indent{0\ccwd}
\def\CTEX@subsection@beforeskip{-2.5ex \@plus -1ex \@minus -.2ex}
\def\CTEX@subsection@afterskip{1.0ex \@plus .2ex}
%%
%% the subsubsection title format
%%
\def\CTEX@subsubsection@format{\bfseries\songti\zihao{-4}}
\def\CTEX@subsubsection@indent{2\ccwd}
\def\CTEX@subsubsection@beforeskip{-2ex \@plus -1ex \@minus -.2ex}
\def\CTEX@subsubsection@afterskip{1.0ex \@plus .2ex}
%%
%% the theorems definitions
%%
\theoremstyle{plain}
\newtheorem{algo}{算法~}[chapter]
\newtheorem{thm}{定理~}[chapter]
\newtheorem{lem}[thm]{引理~}
\newtheorem{prop}[thm]{命题~}
\newtheorem{cor}[thm]{推论~}
\theoremstyle{definition}
\newtheorem{defn}{定义~}[chapter]
\newtheorem{conj}{猜想~}[chapter]
\newtheorem{exmp}{例~}[chapter]
\newtheorem{rem}{注~}
\newtheorem{case}{情形~}
\theoremstyle{break}
\newtheorem{bthm}[thm]{定理~}
\newtheorem{blem}[thm]{引理~}
\newtheorem{bprop}[thm]{命题~}
\newtheorem{bcor}[thm]{推论~}
\renewcommand{\proofname}{\bf 证明}
\endinput
%%
%% End of file `XDBAthesis.cfg'.