forked from seucs/seuthesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
seuthesis.cls
executable file
·788 lines (750 loc) · 23.2 KB
/
seuthesis.cls
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
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
%%
%% This is file `seuthesis.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% seuthesis.dtx (with options: `cls')
%%
%% Copyright (C) 2007-2012 by Xu Yuan <xuyuan.cn@gmail.com>
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3a
%% of this license or (at your option) any later version.
%% The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% and version 1.3a or later is part of all distributions of LaTeX
%% version 2004/10/01 or later.
%%
%% To produce the documentation run the original source files ending with `.dtx'
%% through LaTeX.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{seuthesis}[2012/04/19 2.1.2 The LaTeX template for thesis of Southeast University]
\typeout{Document Class `seuthesis' v2.1.2 by Xu Yuan, Song Yihan, Huang Xiaoyu (2012/04/19)}
\newif\ifbachelordegree\bachelordegreefalse
\newif\ifmasterdegree\masterdegreetrue
\newif\ifengineering\engineeringfalse
\DeclareOption{bachelor}{\bachelordegreetrue}
\DeclareOption{master}{\masterdegreetrue}
\DeclareOption{engineering}{\engineeringtrue\masterdegreetrue}
\DeclareOption{doctor}{\masterdegreefalse}
\newif\ifnocolorlinks\nocolorlinksfalse
\DeclareOption{nocolorlinks}{\nocolorlinkstrue}
\newif\ifdoublecover\doublecoverfalse
\DeclareOption{doublecover}{\doublecovertrue}
\DeclareOption{printedition}{\doublecovertrue\nocolorlinkstrue}
\newif\ifstoneside\stonesidefalse
\DeclareOption{printoneside}{%
\PassOptionsToClass{openany}{scrbook}
\stonesidetrue
}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrbook}}
\ProcessOptions
\LoadClass[a4paper,captions=tableheading]{scrbook}
\let\todayeng\today
\RequirePackage{doc}
\RequirePackage{keyval}
\RequirePackage{ifthen}
\RequirePackage{xltxtra}
\RequirePackage{graphicx}
\RequirePackage[dvipsnames]{xcolor}
\RequirePackage{indentfirst}
\RequirePackage{makeidx} % 索引
\RequirePackage[nottoc]{tocbibind} % 将参考文献、索引、表格目录和图形
\RequirePackage[numbers,sort&compress]{natbib} % 修改引用参考文献格式
\RequirePackage{array} % 扩展了 array 和 tabular 环境功能
\RequirePackage{caption} % 定义图的标题格式:居中. 使用caption3.0
\captionsetup{%
format=plain,%
labelformat=simple,%
justification=centering,%
singlelinecheck=off}
\RequirePackage{paralist}% 修改列表格式
\setdefaultenum{1)}{a)}{i.}{A.}% 设置列表模式
\setdefaultleftmargin{4ex}{}{}{}{}{}
\RequirePackage[UTF8,scheme=plain]{ctex}
\RequirePackage{CJKnumb}
\newlength\CJK@twochars
%\def\CJK@spaceChar{\Unicode{48}{7}}
\def\CJK@spaceChar{\hskip \f@size \p@}
\def\CJKindent{%
\settowidth\CJK@twochars{\CJK@spaceChar\CJK@spaceChar}%
\parindent\CJK@twochars}
\DeclareCaptionFont{capFont}{\song\wuhao} % 表格名及图名用5号宋体
\DeclareCaptionLabelSeparator{twospace}{~~}
\captionsetup{
labelsep=twospace,% 去掉图标签后的冒号
font={capFont},%
figurename=图,%
tablename=表,%
listfigurename=插图目录,%
listtablename=表格目录}
\RequirePackage{hyperref}
\AtBeginDocument{\CJKindent{}%
\InputIfFileExists{seuthesis-utf8.cfg}% 引入配置文件
{\typeout{[seuthesis]: Load seuthesis-utf8.cfg successfully!}}%
{\typeout{[seuthesis]: Load seuthesis-utf8.cfg failed!}}%
\makeindex%
\wuhao%
\linespacing{\mainlineskip}
}
\AtEndDocument{\backcover}
\RequirePackage[top=2cm,bottom=2cm,left=2cm,right=2cm]{geometry}
\RequirePackage[pagestyles, rm]{titlesec}
\RequirePackage{titletoc} % 设置目录
\hypersetup{bookmarksnumbered=true}%书签中章节编号
\defaultfontfeatures{Mapping=tex-text} % --- as em-dash
% 修改中文字体族,增加黑体
\setCJKmainfont[
Path = ./font/,
BoldFont=simhei.ttf,
ItalicFont=simkai.ttf,
BoldItalicFont=simfang.ttf
]{simsun.ttf}
\setCJKfamilyfont{zhsong}[Path = ./font/]{simsun.ttf}
\newcommand{\song}{\CJKfamily{zhsong}}
\setCJKfamilyfont{zhhei}[Path = ./font/]{simhei.ttf}
\newcommand{\hei}{\CJKfamily{zhhei}}
\setCJKfamilyfont{zhkai}[Path = ./font/]{simkai.ttf}
\newcommand{\kai}{\CJKfamily{zhkai}}
\setCJKfamilyfont{zhfs}[Path = ./font/]{simfang.ttf}
\newcommand{\fs}{\CJKfamily{zhfs}}
% my change, 英文字体使用 Times New Roman
\setmainfont[
Path = ./font/,
BoldFont=timesbd.ttf,
ItalicFont=timesi.ttf,
BoldItalicFont=timesbi.ttf
]{times.ttf}
%\setCJKmainfont{SimSun}
%\setCJKfamilyfont{zhsong}{SimSun}
%\newcommand{\song}{\CJKfamily{zhsong}}
%\setCJKfamilyfont{zhhei}{SimHei}
%\newcommand{\hei}{\CJKfamily{zhhei}}
%\setCJKfamilyfont{zhkai}{KaiTi_GB2312}
%\newcommand{\kai}{\CJKfamily{zhkai}}
%\setCJKfamilyfont{zhfs}{FangSong_GB2312}
%\newcommand{\fs}{\CJKfamily{zhfs}}
%\setmainfont{Times New Roman}% 英文默认Time New Roman
\newcommand{\chuhao}{\fontsize{42pt}{46pt}\selectfont}
\newcommand{\xiaochuhao}{\fontsize{36pt}{40pt}\selectfont}
\newcommand{\yichu}{\fontsize{32pt}{36pt}\selectfont}
\newcommand{\yihao}{\fontsize{28pt}{32pt}\selectfont}
\newcommand{\erhao}{\fontsize{21pt}{24pt}\selectfont}
\newcommand{\xiaoerhao}{\fontsize{18pt}{20}\selectfont}
\newcommand{\sanhao}{\fontsize{15.75pt}{18pt}\selectfont}
\newcommand{\sihao}{\fontsize{14pt}{16pt}\selectfont}
\newcommand{\xiaosihao}{\fontsize{12pt}{14pt}\selectfont}
\newcommand{\wuhao}{\fontsize{10.5pt}{13pt}\selectfont}
\newcommand{\xiaowuhao}{\fontsize{9pt}{11pt}\selectfont}
\newcommand{\liuhao}{\fontsize{7.5pt}{9pt}\selectfont}
\newcommand{\xiaoliuhao}{\fontsize{6.5pt}{7.5pt}\selectfont}
\newcommand{\qihao}{\fontsize{5.5pt}{6.5pt}\selectfont}
\setlength{\parskip}{0pt}% 段距
\newcommand{\mainlineskip}{1.3}% 主行距1.3
\titlespacing{\section}{0pt}{3.5ex plus .05ex minus .01ex}{2.9ex plus .04ex} % 标题间距
\titlespacing{\subsection}{0pt}{3ex plus .05ex minus .01ex}{2ex plus .04ex}
\titlespacing{\subsubsection}{0pt}{1.5ex plus .05ex minus .01ex}{1ex plus .01ex}
\newcommand{\linespacing}[1]{\linespread{#1}\selectfont}% 行距命令 \linespread{1.324}
\newcommand{\stcleardp}{%
\ifstoneside
\clearpage
\else
\cleardoublepage
\fi
}
\ifnocolorlinks
\hypersetup{colorlinks=false}
\else
\hypersetup{colorlinks=true}
\fi
\hypersetup{
linkcolor=blue,
anchorcolor=black,
citecolor=olive,
filecolor=magenta,
menucolor=red,
urlcolor=magenta
}
% 东南大学\@degree{}学位论文
% \chaptertitlename\quad\chaptertitle
% \thepage
\newpagestyle{seustyle}{
\sethead[][{\song{}\xiaowuhao{}东南大学2017届本科生毕业设计(论文)}][\song{}\xiaowuhao{}第\thepage 页] % 偶数页
{}{{\song{}\xiaowuhao{}东南大学2017届本科生毕业设计(论文)}}{\song{}\xiaowuhao{}第\thepage 页} % 奇数页
\setfoot{}{}{}
\headrule
}
\newpagestyle{seufrontstyle}{
\pagestyle{seunolabelstyle}
}
% \chaptertitle
\newpagestyle{seunolabelstyle}{
\sethead[][{\song{}\xiaowuhao{}东南大学2017届本科生毕业设计(论文)}][]
{}{{\song{}\xiaowuhao{}东南大学2017届本科生毕业设计(论文)}}{}
\setfoot{}{}{}
\headrule
}
\renewpagestyle{plain}{
%\pagestyle{seunolabelstyle}
}
\renewcommand{\author}[2]{
\def\@author{#1}
\newcommand{\@authoreng}{#2}
}
\newcommand{\@titleeng}{}
\newcommand{\@subtitleeng}{}
\renewcommand{\title}[4]{
\def\@title{#1}
\renewcommand{\@subtitle}{#2}
\renewcommand{\@titleeng}{#3}
\renewcommand{\@subtitleeng}{#4}
}
\newcommand{\newtitleline}{\hfill\\%
\hspace*{\fill}\hspace{0em}}
\newcommand{\@advisorname}{}
\newcommand{\@advisortitle}{}
\newcommand{\@advisornameeng}{}
\newcommand{\@advisortitleeng}{}
\newcommand{\advisor}[4]{
\renewcommand{\@advisorname}{#1}
\renewcommand{\@advisortitle}{#2}
\renewcommand{\@advisornameeng}{#3}
\renewcommand{\@advisortitleeng}{#4}
}
\newif\ifbcoadvisor\bcoadvisorfalse
\newcommand{\@coadvisorname}{}
\newcommand{\@coadvisortitle}{}
\newcommand{\@coadvisornameeng}{}
\newcommand{\@coadvisortitleeng}{}
\newcommand{\coadvisor}[4]{
\bcoadvisortrue
\renewcommand{\@coadvisorname}{#1}
\renewcommand{\@coadvisortitle}{#2}
\renewcommand{\@coadvisornameeng}{#3}
\renewcommand{\@coadvisortitleeng}{#4}
}
\newcommand{\@categorynumber}{}
\newcommand{\categorynumber}[1]{\renewcommand{\@categorynumber}{#1}}
\newcommand{\@secretlevel}{}
\newcommand{\secretlevel}[1]{\renewcommand{\@secretlevel}{#1}}
\newcommand{\@UDC}{}
\newcommand{\UDC}[1]{\renewcommand{\@UDC}{#1}}
\newcommand{\@studentid}{}
\newcommand{\studentid}[1]{\renewcommand{\@studentid}{#1}}
\newcommand{\degree}[1]{
\renewcommand{\@appdegree}{#1}
}
\newcommand{\@majorlen}{8em}
\newcommand{\@major}{}
\newcommand{\major}[2][8em]{
\renewcommand{\@majorlen}{#1}
\renewcommand{\@major}{#2}
}
\newcommand{\@department}{}
\newcommand{\@departmenteng}{~}
\newcommand{\department}[2]{
\renewcommand{\@department}{#1}
\renewcommand{\@departmenteng}{#2}
}
\newcommand{\@submajor}{}
\newcommand{\submajor}[1]{
\renewcommand{\@submajor}{#1}
}
\newcommand{\@defenddate}{}
\newcommand{\defenddate}[1]{\renewcommand{\@defenddate}{#1}}
\newcommand{\authorizeorganization}[1]{
\renewcommand{\@authorizeorganization}{#1}
}
\newcommand{\@authorizedate}{}
\newcommand{\authorizedate}[1]{\renewcommand{\@authorizedate}{#1}}
\newcommand{\@committeechair}{}
\newcommand{\committeechair}[1]{\renewcommand{\@committeechair}{#1}}
\newcommand{\@readerA}{}
\newcommand{\@readerB}{}
\newcommand{\reader}[2]{
\renewcommand{\@readerA}{#1}
\renewcommand{\@readerB}{#2}
}
\newcommand{\@duration}{}
\newcommand{\duration}[1]{\renewcommand{\@duration}{#1}}
\newcommand{\@address}{}
\newcommand{\address}[1]{\renewcommand{\@address}{#1}}
\newif\ifseuthesisthanks\seuthesisthanksfalse
\newcommand{\seuthesis@thanks}{}
\renewcommand{\thanks}[1]{\seuthesisthankstrue\renewcommand{\seuthesis@thanks}{#1}}
\renewcommand{\maketitle}{
%
% 设置书签
% Note: The `CJKbookmarks' option should only be used for bookmarks
% *not* in Unicode.
\GetFileInfo{seuthesis.cls} % get the correct fileversion
\hypersetup{
pdfauthor={\@author},
pdftitle={\universityname{}\@academicdegree}, %文件标题
pdfsubject={\@title \@subtitle}, %文件主题
pdfcreator={The \seuthesis{} class (v \fileversion)} % 应用程序
}
\pagestyle{empty}
\ifdoublecover
\stcleardp
\else\fi
\chinesecover
\renewcommand*\frontmatter{%
%\if@twoside\cleardoubleoddpage\else\clearpage\fi % 目测对于单面设置不管用
\clearpage
\@mainmatterfalse\pagenumbering{Roman}% 大写罗马字母
}
\ifbachelordegree
{\ \\ \\
\xiaosihao
\begin{center}
{\hei\sanhao 东南大学毕业(设计)论文独创性声明}
\end{center}
\vspace{0.5in}
{\linespacing{1.5}
\qquad 本人声明所呈交的毕业(设计)论文是我个人在导师指导下进行的研究工作及取得的研究成果。
尽我所知,除了文中特别加以标注和致谢的地方外,论文中不包含其他人已经发表或撰写过的研究成果,
也不包含为获得东南大学或其它教育机构的学位或证书而使用过的材料。
与我一同工作的同志对本研究所做的任何贡献均已在论文中作了明确的说明并表示了谢意。
\par}
\vspace{0.3in}
\begin{flushright}
作者签名:\signline \\
日~期:\signline
\end{flushright}
\vspace{1.5in}
\begin{center}
{\hei\sanhao 东南大学毕业(设计)论文使用授权声明}
\end{center}
\vspace{0.5in}
{\linespacing{1.5}
\qquad 东南大学有权保留本人所送交毕业(设计)论文的复印件和电子文档,可以采用影印、缩印或其他复制手段保存论文。
本人电子文档的内容和纸质论文的内容相一致。除在保密期内的保密论文外,允许论文被查阅和借阅,
可以公布(包括刊登)论文的全部或部分内容。论文的公布(包括刊登)授权东南大学教务处办理。
\par}
\vspace{0.3in}
\begin{flushright}
作者签名:\signline \\
导师签名:\signline \\
日~期:\signline
\end{flushright}
\par}
\frontmatter
\else
\ifdoublecover
\stcleardp
\else\fi
\englishcover % 英文封面
\thispagestyle{empty}
\seudeclare % 独创性和使用授权声明
\frontmatter % 开始正文之前的部分
\pagestyle{seufrontstyle}\clearpage
\fi
}
\newcommand{\seuthesis}{%
S\hspace{-0.3ex}\raisebox{-0.5ex}{E}\hspace{-0.3ex}U\hspace{0.1em}%
\textsc{Thesis}
}
\let\orig@emph=\emph
\renewcommand{\emph}[1]{{\orig@emph{\kai#1}}}
\newcommand{\CoverTopOption}[3][s]{
\makebox[1.5cm][#1]{\xiaowuhao #2}:{
\underline{\makebox[1.5cm][c]{\xiaowuhao #3}}}
}
\newcommand{\CoverBottomOption}[3][4.5cm]{
\makebox[7cm][s]{
{\song\xiaosihao#2} %宋体小四号
\underline{\makebox[#1][c]{\hei\xiaosihao#3}} %黑体小四号粗体
}
}
\newcommand{\chinesecover}{
\ifengineering
\def\@degreepic{engineering}
\else
\ifmasterdegree
\def\@degreepic{master}
\else
\def\@degreepic{doctor}
\fi
\fi
\begin{titlepage}
\linespacing{1.0}
\begin{picture}(0,0)(24,250)
{\includegraphics[width=\textwidth,bb=0 0 1683 986]{figures/front-cover.jpg}}
\end{picture}
\ifengineering
\begin{picture}(0,0)(-70,255)
{\includegraphics[height=30pt,bb=0 0 484 55]{figures/engineering.png}}
\end{picture}
\else
\begin{picture}(0,0)(-86,255)
{\includegraphics[height=40pt,bb=0 0 1149 150]{figures/{\@degreepic}.png}}
\end{picture}
\fi
\begin{picture}(0,0)(-350,50)
{\includegraphics[width=50pt,bb=0 0 500 501]{figures/seu-color-logo.png}}
\end{picture}
\begin{tabular}{l}
\CoverTopOption{\schoolcodepre}{\schoolcode} \\
\CoverTopOption{\categorynumberpre}{\@categorynumber} \\
\CoverTopOption{\secretlevelpre}{\@secretlevel}\\
\CoverTopOption{U D C}{\@UDC} \\
\CoverTopOption{\studentidpre}{\@studentid}
\end{tabular}
\vspace*{7cm}
\begin{center}
\linespacing{1.25}
\yihao\hei\@title\\%题名 黑体一号居中
\yihao\hei\@subtitle%副题名 黑体一号居中
\end{center}
\vspace*{20pt}
\renewcommand{\arraystretch}{2.0}
\setlength{\tabcolsep}{0pt}
\begin{center}
\begin{tabular}{cr}
\makebox[3.5cm][s]{\xiaoerhao\song\authorpre} &%宋体小二
\underline{\makebox[6cm][s]{
\hspace*{1cm}
\makebox[2.5cm][c]{\xiaoerhao\hei\@author}
\makebox[2cm][r]{}}} \\%黑体小二粗体
\makebox[3.5cm][s]{\xiaoerhao\song\advisorpre} &
\underline{\makebox[6cm][s]{
\hspace*{1cm}
\makebox[2.5cm][c]{\xiaoerhao\hei\@advisorname}
\makebox[2cm][r]{\xiaoerhao\hei\@advisortitle}}}
\\
&
\ifbcoadvisor
\underline{\makebox[6cm][s]{
\hspace*{1cm}
\makebox[2.5cm][c]{\xiaoerhao\hei\@coadvisorname}
\makebox[2cm][r]{\xiaoerhao\hei\@coadvisortitle}}}
\else
\fi \\
\end{tabular}
\end{center}
\vspace*{10pt}
\setlength{\tabcolsep}{10pt}
\begin{center}
\begin{tabular}{ll}
\CoverBottomOption{\appdegreepre}{\@appdegree} &
\CoverBottomOption{\authorizeorganizationpre}{\@authorizeorganization} \\
\CoverBottomOption{\majorpre}{\@major} &
\CoverBottomOption{\defenddatepre}{\@defenddate}\\
\CoverBottomOption{\submajorpre}{\@submajor} &
\CoverBottomOption{\authorizedatepre}{\@authorizedate}\\
\CoverBottomOption[4cm]{\committeechairpre}{\@committeechair} &
\CoverBottomOption{\readerpre}{\@readerA}\\
& \CoverBottomOption{\makebox[2.55cm]{}}{\@readerB}
\end{tabular}
\end{center}
\vfill
{\song\sihao\centerline{\today} \par}
\end{titlepage}
\stcleardp
% 中文封二
\thispagestyle{empty}%
\begin{center}
\xiaochuhao
\includegraphics[height=0.63in]{figures/seu-text-logo}
\ifmasterdegree
\includegraphics{figures/master-hwzs}
\else
\includegraphics{figures/doctor-hwzs}
\fi
\vspace{31.5pt}
\linespacing{1.25}
\yihao\hei\@title\\%题名 黑体一号居中
\yihao\hei\@subtitle%副题名 黑体一号居中
\vspace{42pt}
\begin{tabular}{cr}
\makebox[3.5cm][s]{\xiaoerhao\hei{}专~~业~~名~~称:} &
\underline{\makebox[6cm][s]{
\hspace*{1cm}
\makebox[2.5cm][c]{\xiaoerhao\song\textbf{\@major}}
\makebox[2cm][r]{}}} \\
\\
\makebox[3.5cm][s]{\xiaoerhao\hei\authorpre} &
\underline{\makebox[6cm][s]{
\hspace*{1cm}
\makebox[2.5cm][c]{\xiaoerhao\song\textbf{\@author}}
\makebox[2cm][r]{}}} \\
\\
\makebox[3.5cm][s]{\xiaoerhao\hei\advisorpre} &
\underline{\makebox[6cm][s]{
\hspace*{1cm}
\makebox[2.5cm][c]{\xiaoerhao\song\textbf{\@advisorname}}
\makebox[2cm][r]{\xiaoerhao\song\textbf{\@advisortitle}}}}
\\
&
\ifbcoadvisor
\underline{\makebox[6cm][s]{
\hspace*{1cm}
\makebox[2.5cm][c]{\xiaoerhao\song\textbf{\@coadvisorname}}
\makebox[2cm][r]{\xiaoerhao\song\textbf{\@coadvisortitle}}}}
\else
\fi \\
\end{tabular}
\end{center}
\def\blfootnote{\xdef\@thefnmark{}\@footnotetext}
\ifseuthesisthanks
\blfootnote{\wuhao\seuthesis@thanks}
\fi
\stcleardp
}
\ifbachelordegree % 本科论文封面
\renewcommand{\chinesecover}{
\begin{titlepage}
\linespacing{1.0}
\begin{center}
\vspace*{20pt}
% \includegraphics[height=2cm]{figures/seu-badge-logo}
% \quad
\includegraphics[height=2cm]{figures/seu-text-logo} \\
\vspace*{60pt}
\yihao\hei \bachelortitle \\
\vspace*{60pt}
{\xiaoerhao\song \titlepre}
{\erhao\song \parbox[t]{18em}{\fs\uline{\hfill\@title\hfill}}} \\
\vspace*{40pt}
\renewcommand{\arraystretch}{1.5}
\setlength{\tabcolsep}{0pt}
\begin{tabular}{clcl}
\sanhao\fs
\underline{\makebox[9em][s]{\makebox[9em][c]{\@department}}} &
\sanhao
\departmentpre &
\sanhao\fs
\underline{\makebox[\@majorlen][s]{\makebox[\@majorlen][c]{\@major}}} &
\sanhao \majorpre \\
\end{tabular}
\vspace*{70pt}
\renewcommand{\arraystretch}{1.1}
\setlength{\tabcolsep}{0pt}
\begin{tabular}{c}
\sanhao\studentidpre\quad\underline{%
\makebox[20em][s]{\makebox[20em][c]{%
\textsf{\@studentid}}}} \\
\sanhao\studentnamepre\quad\underline{\makebox[20em][s]{%
\makebox[20em][c]{\fs{\@author}}}} \\
\sanhao\advisorpre\quad\underline{\makebox[20em][s]{%
\makebox[20em][c]{\fs{\@advisorname}}}}%
\\
\ifbcoadvisor
\sanhao\coadvisorpre\quad\underline{\makebox[20em][s]{%
\makebox[20em][c]{\fs{\@coadvisorname}}}}\\%
\fi
\sanhao\durationpre\quad\underline{\makebox[20em][s]{
\makebox[20em]{\textsf{\@duration}}}} \\
\sanhao\addresspre\quad\underline{\makebox[20em][s]{
\makebox[20em][c]{\fs{\@address}}}} \\
\end{tabular}
\vfill
{\sanhao\today \par}
\end{center}
\end{titlepage}
}
\fi
\newcommand{\englishcover}{
\thispagestyle{empty}%
\begin{center}
~\\
{\fontsize{24pt}{28pt}\selectfont
\MakeUppercase{\@titleeng}\\
\MakeUppercase{\@subtitleeng}
\par
}
\vspace{1.0in}%
{\fontsize{16pt}{24pt}\selectfont
{A
\ifmasterdegree
Thesis
\else
Dissertation
\fi
submitted to}\\
{\universitynameeng}\\
{For the Academic Degree of \academicdegreeeng}\\
{\vspace{0.5in}}%
{BY}\\
{\@authoreng}\\
{\vspace{0.5in}}%
{Supervised by:}\\
{\@advisortitleeng\ \@advisornameeng}\\
\ifbcoadvisor
{and}\\
{\@coadvisortitleeng\ \@coadvisornameeng}\\
\else
\fi
{\vspace{0.5in}}%
{\vfill}
{\@departmenteng}\\
{\universitynameeng}\\
{\todayeng}
\par
}%
\end{center}%
\stcleardp%
}
\newenvironment{abstract}[1]
{
\newcommand{\@keywords}{#1}
\hypersetup{pdfkeywords={\@keywords}}
\stcleardp
\phantomsection
\addcontentsline{toc}{chapter}{\@abstracttitletoc}
\ifbachelordegree
\renewcommand{\newtitleline}{\\}
\chapter*{\@title}
\begin{flushright}
\begin{tabular}[h]{ll}
\@studentid & \kai\@author \\
\advisorpre & \kai\@advisorname \\
\end{tabular}
\end{flushright}
\begin{center}
\Large \hei\@abstracttitle
\end{center}
\par
\else
\chapter*{\@abstracttitle}
\fi
\song
\ifbachelordegree
\xiaosihao
\else
\wuhao
\fi
}{
% \\ \\
% 关键词: \@keywords
\par
\begin{description}
\item[关键词:] \@keywords
\end{description}
}
\newenvironment{englishabstract}[1]
{
%\pagestyle{seustyle}
\newcommand{\@keywords}{#1}
\stcleardp
\phantomsection
\addcontentsline{toc}{chapter}{Abstract}
\ifbachelordegree
\chapter*{\textbf{\@titleeng}}
\begin{flushright}
\begin{tabular}[h]{l}
\@studentid \qquad \@authoreng \\
\@advisornameeng \\
\end{tabular}
\end{flushright}
\begin{center}
{\Large \textbf{Abstract}}
\end{center}
\par
\else
\chapter*{Abstract}
\fi
\song
\ifbachelordegree
\xiaosihao
\else
\wuhao
\fi
}{
% \\ \\
% Keywords: \@keywords
\par
\begin{description}
\item[Keywords:] \@keywords
\end{description}
}
\let\tableofcontents@orig=\tableofcontents
\renewcommand{\tableofcontents}
{
\stcleardp
{\linespacing{1.15}%
\song\xiaosihao%
\phantomsection
%\renewpagestyle{plain}{\pagestyle{seunolabelstyle}}
%\pagestyle{seunolabelstyle}
\tableofcontents@orig \par
\clearpage} %目录部分字体可采用小四号宋体。
\renewpagestyle{plain}{\pagestyle{seustyle}}
}
\newenvironment{terminology}[1][\@terminologytitle]
{
\stcleardp
\phantomsection
\addcontentsline{toc}{chapter}{#1}
\chapter*{#1}
\song\xiaosihao
}{
\par
}
\newenvironment{Main}
{
\pagestyle{seustyle}
\mainmatter % 开始正文部分
\song\xiaosihao % 小四号宋体
}{
\par
\backmatter % 开始正文之后的部分
}
\renewcommand{\textfraction}{0.07}
\renewcommand{\topfraction}{0.9}
\renewcommand{\bottomfraction}{0.8}
\renewcommand{\floatpagefraction}{0.85}
\setcounter{totalnumber}{6}
\let\originalcite=\cite
\renewcommand{\cite}[1]{\textsuperscript{\originalcite{#1}}}
\renewcommand{\citet}[1]{\originalcite{#1}}
\bibliographystyle{seuthesis}
\renewcommand\@biblabel[1]{#1} % Reference list option change from [1] to 1
\let\orig@bibliography=\bibliography
\renewcommand{\bibliography}[1]{
\orig@bibliography{#1}
\pagestyle{seustyle}\clearpage % 使参考文献使用 seunolabel 页面样式
\pagestyle{seufrontstyle}} % 恢复原有样式给后续部分
\newenvironment{Acknowledgement}[1][\@acknowledgementtitle]
{%
\stcleardp
\phantomsection
\addcontentsline{toc}{chapter}{\@acknowledgementtitletoc}
\chapter*{#1}
\song\wuhao
}{\par}
\newenvironment{Appendix}
{%
\pagestyle{seustyle}
\@mainmattertrue
\appendix
\titlecontentsappendix
}{\@mainmatterfalse\par
\thispagestyle{seustyle}\clearpage
}
\newenvironment{Resume}[1][\@resumetitle]
{%
\stcleardp
\phantomsection
\addcontentsline{toc}{chapter}{\@resumetitletoc}
\chapter*{#1}
\song\wuhao
}{\par}
\newcommand{\backcover}{
\pagestyle{empty}
\clearpage
\begin{picture}(0,0)(20,650)
{\includegraphics[width=\textwidth,bb=0 0 2424 3508]{figures/back-cover.png}}
\end{picture}
}
\ifbachelordegree
\renewcommand{\backcover}{}
\fi
\endinput
%%
%% End of file `seuthesis.cls'.