-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathHUSTthesis.cls
1398 lines (1230 loc) · 48.7 KB
/
HUSTthesis.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
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
%%
%% HUSTThesis.cls 2022/03/28 version V3.2
%%
%% This is the unofficial LaTeX class for Master Thesis Template of
%% Huazhong University of Science and Technology
%%
%%
%% Contributors:
%% Feng Jiang (2005 V1.0), Huikan Liu (2006 V2.0), Xinze Zhang (2020 V3.0),
%% Lianghao Li & Jianqing Lin (2021 V3.1)
%%
%% Copyright (C) 2006-2007 by Huikan Liu <[email protected]>
%% Copyright (C) 2020-2021 by Xinze Zhang <[email protected]>
%% Copyright (C) 2021-2022 by Lianghao Li <[email protected]>
% & JianQing Lin <[email protected]>
%% This code is distributed under the Perl Artistic License
%% ( http://language.perl.com/misc/Artistic.html )
%% and may be freely used, distributed and modified.
%% Retain the contribution notices and credits.
%%
%% Current maintainer: [email protected]
%%
%% QQ Group:782574845
%%**********************************************************************
%
% Available class options
% (e.g., \documentclass[draftformat,dvips]{HUSTThesis}
%
% *** choose only one from each category ***
%
% draftformat, finalformat
%
% 提交草稿打开 draftformat 选项,提交最终版打开 finalformat 选项。
% 草稿正文页包括页眉(“华中科技大学硕士学位论文”),页眉修饰线(双线)。
% 页脚(页码),页脚修饰线(单线)。
% 最终版正文页不包括页眉、页眉修饰线和页脚修饰线,仅包含页脚。
%
%
% mathtimes, mathCMR
% 公式字体选项,mathtimes 选项让公式启用 Times Roman 字体,
% mathCMR 选项让公式启用 CM Roman 字体。
% 目前学校尚未规定公式选用什么字体,推荐使用 CM Roman 字体,
% 因为 Times Roman 数学字体不支持黑体。
% 如果使用 Times Roman 字体,需加载 bm 宏包用于支持黑体(不推荐)。
%
%
% arial
% 打开选项启用 arial 字体,若无字体宏包,则默认采用 helvet 字体。
%
%*******
% 03/2022 V3.1 changes:
% modify class file (HUSTthesis.cls):
% 1. Update the defence committee page between Chinese and English cover
% 2. Update the indentation and spacing of the itemize, enumerate and description
% 3. Update the reference list according to the latest standard
% 4. Update the appendixs according to the latest standard
% 5. Change the line spacing to match the Word template
% 6. Added bold fonts to some fonts (Heiti & Kaiti)
% 7. Changed the font, font size, line spacing and indentation of the table of contents page to match the Word template
% 8. Updated header and footer
%
% by Li Lianghao ([email protected])
% & Lin Jianqing ([email protected])
%
% 11/2020 V1.0 changes:
% 1. modify class file (HUSTthesis.cls):
% 1.1 update the location of xuehao of covering page
% 1.2 update the table length of the emajor
% 1.3 udpate the font specification with adding and using the font locally, making it be able to compile this project on overleaf
% 1.4 remove the font command of lishu and youyuan
% 2. change the folder name of ./data/* to ./body/* and update the information of xinze zhang
%
% by Zhang Xinze ([email protected])
%
%
% 06/2006 V2.0 changes:
%
% 1. wrote class file (HUSTthesis.cls) based on ThuThesis.cls written by
% Xue Ruini, the class file is designed for Doctoral Thesis of HUST.
%
% 2. define new Itemize, Enumerate and Description environments with compact spacing
%
% by Liu Huikan ([email protected])
%
%*******
% 04/2004 V1.0 released (Feng Jiang)
%
%
% by Feng Jiang ([email protected])
%
%*******
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%
%% \paragraph{引用方式}
%% \paragraph{致谢声明}
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{HUSTthesis}
[2022/03/26 3.2 Huazhong University of Science and Technology Thesis Template]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 定义选项
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 启用 dvips
\newif\ifHUST@dvips
\DeclareOption{dvips}{\HUST@dvipstrue}
\DeclareOption{dvipdfm}{\HUST@dvipsfalse}
% 启用真正的 arial 字体
\newif\ifHUST@arial
\DeclareOption{arial}{\HUST@arialtrue}
% 公式是否使用 Times Roman 字体
\newif\ifHUST@mathtimes
\DeclareOption{mathtimes}{\HUST@mathtimestrue}
\DeclareOption{mathCMR}{\HUST@mathtimesfalse}
% draftformat 包含全部的页眉页脚,最终版本的页眉为空,页脚仅有页码
\newif\ifHUST@finalformat
\DeclareOption{draftformat}{\HUST@finalformatfalse}
\DeclareOption{finaOptionlformat}{\HUST@finalformattrue}
% redheader 页眉红色,页脚红色,页码不变。
\newif\ifHUST@redheader
\DeclareOption{redheader}{\HUST@redheadertrue}
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{book}}
\ProcessOptions
\LoadClass[12pt, a4paper, openany]{book}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 加载宏包
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\RequirePackage{ifthen}
\RequirePackage{calc}
\RequirePackage{ifpdf,pifont}
\RequirePackage{ifxetex}
\ifHUST@arial
\IfFileExists{arial.sty}{\RequirePackage{arial}}%
{\RequirePackage[scaled=.92]{helvet}}
\else
\RequirePackage[scaled=0.92]{helvet}
\fi
% 若不想在公式环境中使用 Times Roman 字体而使用 Computer Modern Roman 字体,
% 必须分别加载三种字族。
% 另外为了消除警告,需要适当增加字体替代的警告忍受度
\ifHUST@mathtimes
\RequirePackage{mathptmx}
\RequirePackage{courier}
\RequirePackage{bm}
\else
\renewcommand{\sfdefault}{phv}
\renewcommand{\rmdefault}{ptm}
\renewcommand{\ttdefault}{pcr}
\def\fontsubfuzz{2.0pt}
\fi
% 加载 AMSLaTeX 宏包,增加对数学环境的支持
\RequirePackage{amsmath, amssymb}
% 加载图形宏包
\RequirePackage{graphicx}
% 加载此宏包以支持并排图形,打开 config 选项以兼容过时宏包
% subfigure
\RequirePackage[]{subfig}
% 首行缩进宏包
\RequirePackage{indentfirst}
\setlength{\parindent}{2em}
% 中文支持和中文数字支持
% \RequirePackage{xeCJK,CJKnumb}
\RequirePackage[SlantFont]{xeCJK}
% 中文标点符号支持
%\RequirePackage{CJKpunct}
% 让导言区支持中文
% 定义字体路径和通用选项
\newcommand{\CJKfontoptions}{Path=font/,AutoFakeBold=2.25,ItalicFont=simkai.ttf}
% 设置主要字体
\setCJKmainfont[\CJKfontoptions]{SimSun.ttf}
\setCJKsansfont[\CJKfontoptions]{SimHei.ttf}
\setCJKmonofont[\CJKfontoptions]{STZhongsong.ttf}
% 设置字体家族
\setCJKfamilyfont{zhongsong}[\CJKfontoptions]{STZhongsong.ttf}
\setCJKfamilyfont{song}[\CJKfontoptions]{SimSun.ttf}
\setCJKfamilyfont{hei}[\CJKfontoptions]{SimHei.ttf}
\setCJKfamilyfont{kai}[\CJKfontoptions]{simkai.ttf}
\setCJKfamilyfont{fs}[\CJKfontoptions]{simfang.ttf}
% 加强定理环境的宏包
\RequirePackage[amsmath,thmmarks,hyperref]{ntheorem}
% 表格宏包
\RequirePackage{array}
% 支持三线表表的宏包,方便水平表格线的粗细控制
\RequirePackage{booktabs}
% 控制目录风格的宏包
\RequirePackage{titletoc}
% 支持引用缩写的宏包
\RequirePackage[numbers,super,sort&compress]{natbib}
% 生成有书签的 pdf 及其开关,结合 gbk2uni 避免生成乱码
\ifpdf
\RequirePackage[pdftex,pdfpagelabels]{hyperref}
\else
\ifxetex
\RequirePackage[xetex]{hyperref}
\DeclareGraphicsExtensions{.pdf,.eps,.png,.jpg,}
\else
\ifHUST@dvips
\RequirePackage[dvips,pdfpagelabels]{hyperref}
\else
\RequirePackage[dvipdfmx,CJKbookmarks,pdfpagelabels]{hyperref}
\fi
\fi
\fi
% 加载 hypernat 宏包使 hyperref 和 natbib 可以配合正常工作
\hypersetup{%
CJKbookmarks=true,
bookmarksnumbered=true,
bookmarksopen=true,
breaklinks=true,
colorlinks=true, % avoid boxes
citecolor=blue,
linkcolor=black,
anchorcolor=black,
filecolor=black,
menucolor=black,
urlcolor=black,
plainpages=false,
pdfstartview=FitH}
\RequirePackage{hypernat}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 定义版面尺寸,这一部分根据情况可能需要作部分调整。
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 华中科技大学 2023 年硕士模版页边距 上4.5cm 下2.8cm 左2.8cm 右2.8cm
\setlength{\textwidth}{\paperwidth}
\setlength{\textheight}{\paperheight}
\setlength\marginparwidth{0cm}
\setlength\marginparsep{0cm}
\addtolength{\textwidth}{-5.6cm}
\setlength{\oddsidemargin}{2.8cm-1in}
\setlength{\evensidemargin}{\oddsidemargin}
\setlength{\headheight}{0.9cm}
\setlength{\topskip}{0pt}
\setlength{\skip\footins}{15pt}
% \setlength{\footskip}{1.3cm}
\setlength{\footskip}{1.8cm}
\setlength{\topmargin}{3.0cm-1in}
\setlength{\headsep}{0.5cm}
% \addtolength{\textheight}{-7.0cm}
\addtolength{\textheight}{-7.8cm}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 定制公式样式
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 允许长公式断行、分页
\allowdisplaybreaks[4]
% 设置公式与上下文的间距
\abovedisplayskip=10bp plus 2bp minus 2bp
\abovedisplayshortskip=10bp plus 2bp minus 2bp
\belowdisplayskip=\abovedisplayskip
\belowdisplayshortskip=\abovedisplayshortskip
% 设置公式的编号形式,形式为 (式1.1),\tagform@ 参考 amsmath 中的命令
\renewcommand{\theequation}{\arabic{chapter}.\arabic{equation}}
\let\reftagform@\tagform@
\def\tagform@#1{\maketag@@@{(\hspace{0.1em}\ignorespaces#1\unskip\@@italiccorr)}}
\renewcommand{\eqref}[1]{\textup{\reftagform@{\ref{#1}}}}
% 设置子公式的编号形式,形式为(式1.1a)/(式1.1b)
\@ifundefined{ignorespacesafterend}{%
\def\ignorespacesafterend{\global\@ignoretrue}%
}{}
\renewenvironment{subequations}{%
\refstepcounter{equation}%
\protected@edef\theparentequation{\theequation}%
\setcounter{parentequation}{\value{equation}}%
\setcounter{equation}{0}%
\def\theequation{\theparentequation\alph{equation}}%
\ignorespaces
}{%
\setcounter{equation}{\value{parentequation}}%
\ignorespacesafterend
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 设定浮动对象
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 对于 h 参数,浮动对象与前后正文间的距离
\setlength{\intextsep}{0.7\baselineskip plus 0.1\baselineskip minus 0.1\baselineskip}
% 顶部或底部的浮动对象与正文间的距离
\setlength{\textfloatsep}{0.8\baselineskip plus 0.1\baselineskip minus 0.2\baselineskip}
% 设定浮动对象的比例
% 下面这组命令使浮动对象的缺省值稍微宽松一点,从而防止幅度
% 对象占据过多的文本页面,也可以防止在很大空白的浮动页上放置
% 很小的图形。
\renewcommand{\textfraction}{0.15}
\renewcommand{\topfraction}{0.85}
\renewcommand{\bottomfraction}{0.65}
\renewcommand{\floatpagefraction}{0.60}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 定制浮动图形和表格的样式
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 表格中的字体比正文小半号,为大五号,11pt,同时表格中的行距为 1.4 倍行距
% 重定义 tabular 环境
\let\HUST@tabular\tabular
\renewcommand\tabular{\dawu[1.4]\HUST@tabular}
\let\endHUST@tabular\endtabular
% 重定义 tabular* 环境
\@namedef{tabular*}#1{\dawu[1.4]%
\setlength\dimen@{#1}%
\edef\@halignto{to\the\dimen@}\@tabular}
% 设置标题样式
\long\def\@makecaption#1#2{%
% 图表标题字体比正文小半号,为大五号,11pt
\dawu
\rmfamily
% \kai 2023年华中科技大学使用宋体
\song
\vskip\abovecaptionskip
% 去掉图表号后面的":"
\setbox\@tempboxa\hbox{#1~~#2}%
\ifdim \wd\@tempboxa >\hsize
% 如果图表标题的长度超过一行,则采用悬挂缩进的方式
\@hangfrom{#1~~}#2
\else
% 如果图表标题的长度不超过一行,则采用居中方式
\global \@minipagefalse
\hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
\fi
\vskip\belowcaptionskip}
% 设置标题标签的样式
\def\thefigure{\@arabic\c@figure}
\def\fnum@figure{\figurename~\thefigure}
\def\thetable{\@arabic\c@table}
\def\fnum@table{\tablename~\thetable}
% 设置标题前后间距
\setlength\abovecaptionskip{12bp}
\setlength\belowcaptionskip{12bp}
% 下面两条命令可以使标题编号随着每开始新的一章而重新开始,即按章的顺序编号
\renewcommand{\thetable}{\arabic{chapter}.\arabic{table}}
\renewcommand{\thefigure}{\arabic{chapter}.\arabic{figure}}
%\renewcommand{\thesubfigure}{\thefigure--(\arabic{subfigure})}
% 定制引用子图的标记形式
%\renewcommand{\p@subfigure}{:}
% 定义新命令\hlinewd 来改变水平线的粗细
\def\hlinewd#1{%
\noalign{\ifnum0=`}\fi\hrule \@height #1 \futurelet
\reserved@a\@xhline}
% 表格行间距增大10%
\renewcommand{\arraystretch}{1.1}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 重定义 itemize, enumerate 和 description 环境,
% 使列表项的间距更紧凑。
% 这个定义和 paralist 宏包不兼容,所以不能加载 paralist 宏包
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% save original itemize, enumerate and description
\let\LaTeXitemize\itemize
\let\endLaTeXitemize\enditemize
\let\LaTeXenumerate\enumerate
\let\endLaTeXenumerate\endenumerate
\let\LaTeXdescription\description
\let\endLaTeXdescription\enddescription
% Space between first item and preceding paragraph
\newskip\HUSTtopsep
\HUSTtopsep 0pt
% the space between the end of the label box
% and the text of the first item.
% Its default value is 0.5em.
\newdimen\HUSTnormlabelsep
\HUSTnormlabelsep 0.3em
% new dimension the list labels are indented to the right.
% Normally, this is the same as the paragraph indention
\newdimen\labelindent
\labelindent \parindent
% the default amount of \labelindent.
% Normally, this is the same as the paragraph indention
\newdimen\HUSTlabelindent
\HUSTlabelindent \parindent
% This command provides an easy way to set \leftmargin based
% on the \labelwidth, \labelsep and the argument \labelindent
% Usage: \calcleftmargin{width-to-indent-the-label}
% output is in the \leftmargin variable, i.e., effectively:
% \leftmargin = argument + \labelwidth + \labelsep
\def\calcleftmargin#1{\setlength{\leftmargin}{#1}%
\addtolength{\leftmargin}{\labelwidth}%
\addtolength{\leftmargin}{\labelsep}}
% The actual amount labels will be indented is
% \labelindent multiplied by the factors below
% corresponding to the level of nesting depth
% This provides a means by which the user can
% alter the effective \labelindent for deeper
% levels
% The first list level almost always has full indention.
% The second levels I've seen have only 75% of the normal indentation
% Three level or greater nestings are very rare. I am guessing
% that they don't use any indentation.
% excerpted from IEEEtrantools.sty
\def\HUSTlabelindentfactori{0.8} %
\def\HUSTlabelindentfactorii{-0.3} % 0.0 or 1.0 may be used in some cases
\def\HUSTlabelindentfactoriii{-0.3} % 0.75? 0.5? 0.0?
\def\HUSTlabelindentfactoriv{-0.3}
\def\HUSTlabelindentfactorv{-0.3}
\def\HUSTlabelindentfactorvi{-0.3}
% factor value actually used within lists, it is auto
% set to one of the 6 values above
% global changes here have no effect
\def\labelindentfactor{1.0}
% enumerate 环境设置
% provide original LaTeX itemize, enumerate and description
% environment from article.cls
\def\itemize{\@ifnextchar[{\@HUSTitemize}{\@HUSTitemize[\relax]}}
\def\enumerate{\@ifnextchar[{\@HUSTenumerate}{\@HUSTenumerate[\relax]}}
\def\description{\@ifnextchar[{\@HUSTdescription}{\@HUSTdescription[\relax]}}
\def\enditemize{\endlist}
\def\endenumerate{\endlist}
\def\enddescription{\endlist}
\def\@HUSTitemize[#1]{%
\ifnum\@itemdepth>3\relax\@toodeep\else%
\ifnum\@listdepth>5\relax\@toodeep\else%
\advance\@itemdepth\@ne%
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
\advance\@listdepth\@ne%
\edef\labelindentfactor{\csname HUSTlabelindentfactor\romannumeral\the\@listdepth\endcsname}%
\advance\@listdepth-\@ne%
\list{\csname\@itemitem\endcsname}{%
\topsep\HUSTtopsep%
\labelindent\HUSTlabelindent%
\labelsep\HUSTnormlabelsep%
\partopsep\z@%
\parsep\z@%
\itemsep\z@%
\rightmargin\z@%
\listparindent\z@%
\itemindent\z@%
% \itemindent 4pt%
\settowidth{\labelwidth}{\csname labelitem\romannumeral\the\@itemdepth\endcsname}%
\def\makelabel##1{\makebox[\labelwidth][r]{\normalfont ##1}}%
#1\relax%
\labelindent=\labelindentfactor\labelindent%
\calcleftmargin{\labelindent}
}
\fi\fi}
% commands generating enumerate labels
\def\labelenumi{\theenumi)}\def\theenumi{\arabic{enumi}}
\def\labelenumii{(\theenumii)}\def\theenumii{\arabic{enumii}}
\def\labelenumiii{\theenumiii.}\def\theenumiii{\alph{enumiii}}
\def\labelenumiv{(\theenumiv)}\def\theenumiv{\alph{enumiv}}
\def\@HUSTenumerate[#1]{%
\ifnum\@enumdepth>3\relax\@toodeep\else%
\ifnum\@listdepth>5\relax\@toodeep\else%
\advance\@enumdepth\@ne%
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
\advance\@listdepth\@ne%
\edef\labelindentfactor{\csname HUSTlabelindentfactor\romannumeral\the\@listdepth\endcsname}%
\advance\@listdepth-\@ne%
\list{\csname label\@enumctr\endcsname}{
\usecounter{\@enumctr}%
\topsep\HUSTtopsep%
\labelindent\HUSTlabelindent%
\labelsep\HUSTnormlabelsep%
\partopsep\z@%
\parsep\z@%
\itemsep\z@%
\rightmargin\z@%
\listparindent\z@%
% \itemindent\z
\itemindent\labelwidth % 华中科技大学2023年enumerate模版要求,首行缩进,其余行不缩进。
\settowidth{\labelwidth}{(9)}%
\def\makelabel##1{\makebox[\labelwidth][r]{\normalfont ##1}}%
#1\relax%
\labelindent=\labelindentfactor\labelindent%
\calcleftmargin{-\labelindent} %华中科技大学2023年enumerate模版要求,首行缩进,其余行不缩进。
}\fi\fi}%
\def\@HUSTdescription[#1]{%
\ifnum\@listdepth>5\relax\@toodeep\else%
\advance\@listdepth\@ne%
\edef\labelindentfactor{\csname HUSTlabelindentfactor\romannumeral\the\@listdepth\endcsname}%
\advance\@listdepth-\@ne%
\list{}{
\topsep\HUSTtopsep%
\labelindent\HUSTlabelindent%
\labelsep\HUSTnormlabelsep%
\partopsep\z@%
\parsep\z@%
\itemsep\z@%
\rightmargin\z@%
\listparindent\z@%
\itemindent\z@%
\settowidth{\labelwidth}{Hellohello}%
\def\makelabel##1{\makebox[\labelwidth][r]{\normalfont ##1}}%
#1\relax%
\labelindent=\labelindentfactor\labelindent%
\calcleftmargin{\labelindent}}\fi}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 重定义字体命令
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\song}{\CJKfamily{song}} % 宋体
\let\songti\song
\newcommand{\fs}{\CJKfamily{fs}} % 仿宋体
\let\fangsong\fs
\newcommand{\kai}{\CJKfamily{kai}} % 楷体
\let\kaishu\kai
\newcommand{\hei}{\CJKfamily{hei}} % 黑体
\let\heiti\hei
\newcommand{\zhongsong}{\CJKfamily{zhongsong}} % 华文中宋
\let\STzhongsong\zhongsong
% \newcommand{\you}{\CJKfamily{you}} % 幼圆
% \let\youyuan\you
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 重定义字号命令,采用薛瑞尼版本中关于字号命令的定义,
% 消除了字体大小和行距的紧耦合
% 命令中的可选参数用于指定行距,默认为单倍行距。
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newlength\thu@linespace
\newcommand{\thu@choosefont}[2]{%
\setlength{\thu@linespace}{#2*\real{#1}}%
\fontsize{#2}{\thu@linespace}\selectfont}
\def\thu@define@fontsize#1#2{%
\expandafter\newcommand\csname #1\endcsname[1][\baselinestretch]{%
\thu@choosefont{##1}{#2}}}
\thu@define@fontsize{dachu}{45pt}
\thu@define@fontsize{chuhao}{42pt}
\thu@define@fontsize{xiaochu}{36pt}
\thu@define@fontsize{yihao}{28pt}
\thu@define@fontsize{xiaoyi}{24pt}
\thu@define@fontsize{erhao}{22pt}
\thu@define@fontsize{xiaoer}{18pt}
\thu@define@fontsize{dasan}{16.5pt} % 华中科技大学2023年页眉要求
\thu@define@fontsize{sanhao}{16pt}
\thu@define@fontsize{xiaosan}{15pt}
\thu@define@fontsize{sihao}{14pt}
\thu@define@fontsize{banxiaosi}{13pt}
\thu@define@fontsize{xiaosi}{12pt}
\thu@define@fontsize{dawu}{11pt}
\thu@define@fontsize{wuhao}{10.5pt}
\thu@define@fontsize{xiaowu}{9pt}
\thu@define@fontsize{liuhao}{7.5pt}
\thu@define@fontsize{xiaoliu}{6.5pt}
\thu@define@fontsize{qihao}{5.5pt}
\thu@define@fontsize{bahao}{5pt}
%% 正文小四号(12pt)字,行距为固定值18 pt,18/12=1.5倍行距
%\renewcommand\normalsize{\fontsize{12pt}{18pt}\selectfont}
\renewcommand\normalsize{\fontsize{12pt}{23.5pt}\selectfont}
%改动2
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 用于中文段落缩进和正文版式
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newlength\CJKtwospaces
\def\CJKindent{\parindent2em}
% 段落之间的竖直距离
\setlength{\parskip}{0pt plus2pt minus1pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 定理环境和定理样式
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % 使用新的定理样式
% \theoremstyle{HUSTthesisthmstyle}
\gdef\@endtrivlist#1{% % from \endtrivlist
\if@inlabel \indent\fi
\if@newlist \@noitemerr\fi
\ifhmode
\ifdim\lastskip >\z@ #1\unskip \par %<<<<<<<<<<<<<<<<<<<<<<
\else #1\unskip \par \fi
\fi
\if@noparlist \else
\ifdim\lastskip >\z@
\@tempskipa\lastskip \vskip -\lastskip
\advance\@tempskipa\parskip \advance\@tempskipa -\@outerparskip
\vskip\@tempskipa
\fi
\@endparenv
\fi #1}
\theoremstyle{plain}
\theorembodyfont{\song\rmfamily}
\theoremheaderfont{\hei\bfseries\rmfamily} %华中科技大学 2023版要求 定理 加粗。
% \theoremsymbol{\ensuremath{\blacksquare}}
\theoremsymbol{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 定义正文中段落章节标题的格式
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 正文涉及 4 层,即: x.x.x.x
% chapter(0), section(1), subsection(2), subsubsection(3)
\setcounter{secnumdepth}{3}
% 章序号与章名之间空一个汉字符,黑体三号字,居中书写,单倍行距,
% 2023年 华中科技大学模版 加粗 段前空15.5磅,段后空14磅。
\renewcommand \thechapter {\@arabic\c@chapter}
\def\@makechapterhead#1{%
\vspace*{15.5bp}%
\begingroup
\hei\bfseries\sanhao[1]\centering
\ifnum \c@secnumdepth >\m@ne
\thechapter\hskip1em
\fi
\interlinepenalty\@M
#1\par\endgroup
\nobreak
\vskip 15bp
}
\def\@makeschapterhead#1{%
\vspace*{15.5bp}%
\begingroup
\hei\bfseries\sanhao[1]\centering
\interlinepenalty\@M
#1\par\endgroup
\nobreak
\vskip 14bp
}
% 一级节标题,例如:“2.1 理论分析”。
% 节标题序号与标题名之间空一个汉字符。
% 采用黑体四号(14pt)字居左书写,1.5倍行距(21pt),
% 华中科技大学2023年模版 段前空10磅,段后空7磅。
\def\@seccntformat#1{\csname the#1\endcsname\hskip 1em\relax}
\renewcommand\section{\@startsection {section}{1}{\z@}%
{10bp}%
{7bp}%
{\hei\bfseries\sihao[1.5]}}
% 二级节标题,例如:“2.1.1 理论分析”。
% 节标题序号与标题名之间空一个汉字符。
% 采用黑体半小四号(13.5pt)字居左书写,1.5倍行距(19.5pt),
% 华中科技大学2023年模版 段前空7磅,段后空4磅。
\renewcommand\subsection{\@startsection {subsection}{2}{\z@}%
{7bp}%
{4bp}%
{\hei\bfseries\banxiaosi[1.5]}}
% 三级节标题,例如:“2.1.1.1 理论分析”。
% 节标题序号与标题名之间空一个汉字符。
% 采用黑体小四号(12pt)字居左书写,1.5倍行距(18pt),
% 段前空16磅,段后空6磅。
\renewcommand\subsubsection{\@startsection {subsubsection}{3}{\z@}%
{16bp}%
{6bp}%
{\hei\xiaosi[1.5]}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 应用 titletoc 宏包定义标题的目录项格式
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%改动3
% 目录涉及 2 层,即: x.x
% chapter(0), section(1), subsection(2), subsubsection(3)
\setcounter{tocdepth}{1}
%适当增加目录项的右边距
\contentsmargin{2.0em}
% 分别正文一级标题的两种目录项格式
\newcommand{\enabledottedtoc}{%显示标题、指引线和页码
\titlecontents{chapter}
[0.0em]
{\vspace{0.3em}\bfseries\hei\sihao\addvspace{6bp minus6bp}}
{\thecontentslabel\hspace{1em}}
{}
{\normalfont\dotfill\textrm{\contentspage[(\thecontentspage)]}}
}
\newcommand{\disabledottedtoc}{%仅显示标题,不显示指引线和页码
\titlecontents{chapter}
[2.1em]
{\vspace{0.3em}\bfseries\hei\sihao\addvspace{6bp minus6bp}}
{\contentslabel{1.76em}}
{}
{}
}
% 定义其它各级子标题的目录项格式
\titlecontents{section}
[3.24em]
{\vspace{0.3em}\sihao\addvspace{6bp minus6bp}}
{\contentslabel{2.76em}}
{}
{\dotfill\textrm{\contentspage[(\thecontentspage)]}
}
\titlecontents{subsection}
[3.0em]
{}
{\contentslabel{3.0em}}
{}
{\dotfill\textrm{\contentspage[(\thecontentspage)]}}
\titlecontents{subsubsection}
[0.0em]
{}
{\thecontentslabel\hspace{1.0em}}
{}
{\dotfill\textrm{\contentspage[(\thecontentspage)]}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 定义页眉页脚,参考 fancyhdr 宏包的代码
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%改动4 页眉页脚 加红
\ifHUST@redheader
\RequirePackage{xcolor}
\fi
\newcommand{\HUST@redtext}[1]{%
\ifHUST@redheader
\color{red}{#1}
\else
{#1}
\fi
}
\newcommand{\headrulewidth}{0.4pt}
\newcommand{\footrulewidth}{0.4pt}
\def\ps@plain{%
\ifHUST@finalformat
\def\@oddhead{}
\else
\def\@oddhead{%
\HUST@redtext{\vbox{%
\parbox[b]{\textwidth}{\centering\sihao%
\ziju{0.8em} \kai\bfseries \dasan[1] \HUST@schoolename\HUST@apply} %改动使用16.5pt字体 加粗
\vskip8pt
\hspace{-4mm} \vbox{\hspace{-3mm} \hrule width 1.04\textwidth height\headrulewidth depth0pt\vskip1.0pt\hrule width 1.04\textwidth}}}}\fi%
\let\@evenhead=\@oddhead
\ifHUST@finalformat
\def\@oddfoot{%
\hbox to\textwidth{%
\vbox{%
\hfill \parbox[t]{\textwidth}{\centering\wuhao\thepage\strut}\hfill
}}}
\else
\def\footrule{{\vskip-0.3\normalbaselineskip\vskip-\footrulewidth
\HUST@redtext{
\hrule\@width 1.04\textwidth\@height\footrulewidth\vskip0.3\normalbaselineskip}}}
\def\@oddfoot{%
\hbox to \textwidth{%
\hspace{-4mm}\vbox{%
\footrule
\hfill \hspace{-4mm} \parbox[t]{\textwidth}{\centering\wuhao\thepage\strut}\hfill
}}}
\fi
\let\@evenfoot=\@oddfoot}
\pagestyle{plain}
\renewcommand{\chaptermark}[1]{\markboth{\@chapapp \ ~~#1}{}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 定义脚注
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 定义按页编号的脚注,用了 perpage 的代码
% 定义脚注修饰线
\def\footnoterule{\vskip-3\p@\hrule\@width0.3\textwidth\@height0.4\p@\vskip2.6\p@}
% 定义脚注大小
\let\HUST@footnotesize\footnotesize
\renewcommand\footnotesize{\HUST@footnotesize\xiaowu[1.3]} % 单倍行距太丑了,还是用1.3吧
% 重新定义生成脚注的命令
\let\HUST@fnsymbol\@fnsymbol
\renewcommand{\thefootnote}{\HUST@fnsymbol\c@footnote}
\renewcommand{\thempfootnote}{\HUST@fnsymbol\c@mpfootnote}
\def\@makefnmark{\textsuperscript{\hbox{\normalfont\@thefnmark}}}
\long\def\@makefntext#1{
\bgroup
\setbox\@tempboxa\hbox{%
\hb@xt@ 2em{\@thefnmark\hss}}
\leftmargin\wd\@tempboxa
\rightmargin\z@
\linewidth \columnwidth
\advance \linewidth -\leftmargin
\parshape \@ne \leftmargin \linewidth
\footnotesize
\@setpar{{\@@par}}%
\leavevmode
\llap{\box\@tempboxa}%
#1
\par\egroup}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 定义封面和封底
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\classnum#1{\def\HUST@classnum{#1}}\def\HUST@classnum{}
\def\xuehao#1{\def\HUST@xuehao{#1}}\def\HUST@xuehao{}
\def\miji#1{\def\HUST@miji{#1}}\def\HUST@miji{}
\def\schoolcode#1{\def\HUST@schoolcode{#1}}\def\HUST@schoolcode{}
\def\ctitle#1{\def\HUST@ctitle{#1}}\def\HUST@ctitle{}
\def\cdegree#1{\def\HUST@cdegree{#1}}\def\HUST@cdegree{}
\def\csubjectname#1{\def\HUST@csubjectname{#1}}\def\HUST@csubjectname{}
\def\cauthorname#1{\def\HUST@cauthorname{#1}}\def\HUST@cauthorname{}
\def\csupervisorname#1{\def\HUST@csupervisorname{#1}}\def\HUST@csupervisorname{}
\def\csupervisortitle#1{\def\HUST@csupervisortitle{#1}}\def\HUST@csupervisortitle{}
\def\defencedate#1{\def\HUST@defencedate{#1}}\def\HUST@defencedate{}
\def\grantdate#1{\def\HUST@grantdate{#1}}\def\HUST@grantdate{}
\def\chair#1{\def\HUST@chair{#1}}\def\HUST@chair{}
\def\firstreviewer#1{\def\HUST@firstreviewer{#1}}\def\HUST@firstreviewer{}
\def\secondreviewer#1{\def\HUST@secondreviewer{#1}}\def\HUST@secondreviewer{}
\def\thirdreviewer#1{\def\HUST@thirdreviewer{#1}}\def\HUST@thirdreviewer{}
\long\def\cabstract#1{\long\def\HUST@cabstract{#1}}\long\def\HUST@cabstract{}
\def\ckeywords#1{\def\HUST@ckeywords{#1}}\def\HUST@ckeywords{}
\def\etitle#1{\def\HUST@etitle{#1}}\def\HUST@etitle{}
\def\edegree#1{\def\HUST@edegree{#1}}\def\HUST@edegree{}
\def\eaffil#1{\def\HUST@eaffil{#1}}\def\HUST@eaffil{}
\def\esubject#1{\def\HUST@esubject{#1}}\def\HUST@esubject{}
\def\eauthor#1{\def\HUST@eauthor{#1}}\def\HUST@eauthor{}
\def\esupervisor#1{\def\HUST@esupervisor{#1}}\def\HUST@esupervisor{}
\def\eassosupervisor#1{\def\HUST@eassosupervisor{#1}}\def\HUST@eassosupervisor{}
\def\ecosupervisor#1{\def\HUST@ecosupervisor{~ & #1\\}}\def\HUST@ecosupervisor{}
\def\edate#1{\def\HUST@edate{#1}}\def\HUST@edate{}
\newcommand{\tabincell}[2]{\begin{HUST@tabular}{@{}#1@{}}#2\end{HUST@tabular}}
\long\def\eabstract#1{\long\def\HUST@eabstract{#1}}\long\def\HUST@eabstract{}
\def\ekeywords#1{\def\HUST@ekeywords{#1}}\def\HUST@ekeywords{}
\def\declarepage#1{\def\HUST@declarepage{#1}}\def\HUST@declarepage{}
% 中文封面
\newcommand{\HUST@ctitlepage}{
\begin{center}
\vspace*{-0.5cm}
\parbox[t][2.2cm][t]{\textwidth}{\xiaosi \bfseries
\begin{center}\song
\setlength{\tabcolsep}{0pt}
\setlength{\extrarowheight}{3pt}
\begin{HUST@tabular}{p{4em}p{5em}p{\textwidth-18em}p{2em}p{12em}}
\HUST@classno & \makebox[0pt][l]{\rule[-2.0pt]{5em}{1pt}}{\hfill\HUST@classnum\hfill\hfill} & \hfill & \HUST@studentno & \makebox[0pt][l]{\rule[-2.0pt]{7em}{1pt}}{\hspace{1em}\HUST@xuehao} \tabularnewline
\HUST@UDC & \makebox[0pt][l]{\rule[-2.0pt]{5em}{1pt}}{\hfill\HUST@schoolcode\hfill\hfill} & \hfill & \HUST@secrettitle & \makebox[0pt][l]{\rule[-2.0pt]{7em}{1pt}}{\hspace{1em}\HUST@miji} \tabularnewline
\end{HUST@tabular}
\end{center}
}
\parbox[t][7cm][t]{\textwidth}{
%\renewcommand{\baselinestretch}{1.5}
\vspace{1cm}
\begin{center}
\includegraphics[scale=0.35]{figures/hust-logo.eps}\\[1.3cm]
\vspace{-0.8cm}
\ziju{5bp}\dachu[1]{\bfseries \zhongsong \HUST@apply} \\%\CJKfamily{fzcs}
\vspace{-0.4cm}
\ziju{1bp}\bf{\xiaosan[1]{( 学术型$\mbox{\ooalign{$\checkmark$\cr\hidewidth$\square$\hidewidth\cr}}$ $\quad \quad$ 专业型$\square$ )}}
\end{center}}\\
\parbox[t][4cm][t]{\paperwidth-7cm}{
\vspace{0.5cm}
\begin{center}
\yihao[1.3] {\bf \song \HUST@ctitle}%\CJKfamily{fzcs}
\end{center}}
\parbox[t][7.4cm][t]{\textwidth}{\vspace{2cm}\xiaosan[1.5] \bf
\begin{center}\song
\setlength{\extrarowheight}{2.5pt}
\begin{HUST@tabular}{p{5em}ll}
\HUST@cauthor & \HUST@title@sep & {\HUST@cauthorname} \vspace{0.4em}\\
\HUST@csubject & \HUST@title@sep & {\HUST@csubjectname} \vspace{0.4em}\\
\HUST@csupervisor & \HUST@title@sep & {\HUST@csupervisorname\hspace{1em}\HUST@csupervisortitle} \vspace{0.4em}\\
\HUST@cdefencedate & \HUST@title@sep & {\ziju{3bp}\HUST@defencedate}
\end{HUST@tabular}
\end{center}}
% 下面是原来封面的命令设置
\iffalse
\parbox[t][2cm][t]{\paperwidth-5.6cm}{{\sihao[1.5]
\begin{center}\song
\begin{HUST@tabular}{p{7.6cm}p{7.6cm}}
\HUST@cdefencedate\makebox[0pt][l]{\rule[-2.5pt]{9em}{1pt}}{\hspace{1em}{\ziju{3bp}\HUST@defencedate}\hfill } & {\HUST@cgrantdate}\makebox[0pt][l]{\rule[-2.5pt]{9em}{1pt}}{\hspace{1em}{\ziju{3bp}\HUST@grantdate}\hspace{3em}}\\
\HUST@cchair\makebox[0pt][l]{\rule[-2.5pt]{8em}{1pt}}{\hfill {\HUST@chair}\hfill \hfill } & {\HUST@creviewers}\makebox[0pt][l]{\rule[-2.5pt]{3.5em}{1pt}}{\hfill \HUST@firstreviewer\hfill \hfill }\makebox[0pt][l]{\rule[-2.5pt]{3.5em}{1pt}}{\hfill \HUST@secondreviewer\hfill \hfill }\makebox[0pt][l]{\rule[-2.5pt]{3.5em}{1pt}}{\hfill \HUST@thirdreviewer\hfill }\hfill \hfill
\end{HUST@tabular}
\end{center}}}
\fi
\end{center}}
% 答辩委员会
\newcommand{\HUST@defencecommittee}{
\begin{center}\song\sanhao
\textbf{答辩委员会}\\
\vspace{2.0cm} \sihao
\renewcommand{\arraystretch}{2}
\begin{tabular}{|p{0.9cm}|p{1.8cm}|p{1.8cm}|p{5.4cm}|}
\hline
&\makecell{\textbf{姓名}}&\makecell[c]{\textbf{职称}}&\makecell[c]{\textbf{单位}}\\
\hline
主席&&&\\
\hline
\multirow{6}{*}{委员}&&&\\
\cline{2-4}
&&&\\
\cline{2-4}
&&&\\
\cline{2-4}
&&&\\
\cline{2-4}
&&&\\
\cline{2-4}
&&&\\
\hline
\end{tabular}
\end{center}
}
% 英文封面
\newcommand{\HUST@etitlepage}{%
\begin{center}
\vspace*{-1.2cm}
\parbox[t][5.2cm][t]{\textwidth}{
\renewcommand{\baselinestretch}{1.5}
\begin{center}
\xiaosan[1.1] \textbf{A Dissertation Submitted in Partial Fulfillment of the Requirements
for \HUST@edegree}
\end{center}}
\parbox[t][5.5cm][t]{\textwidth}{
\vspace{1.8cm}
\renewcommand{\baselinestretch}{1.3}
\begin{center}
\erhao \textbf{\HUST@etitle}
\end{center}}
\vspace*{2cm}
\parbox[t][2.1cm][t]{\textwidth-4cm}{
\vspace{1cm}
\xiaosan[1.2]\bfseries\centering%
\begin{HUST@tabular}{lrp{20em}}
Candidate & : & \HUST@eauthor\\ \vspace{-0.3pt}\\
Major & : & \HUST@esubject\\ \vspace{-0.3pt}\\
Supervisor & : & \HUST@esupervisor
\end{HUST@tabular}
}
\vspace*{1.6cm}
\parbox[t][6cm][b]{\paperwidth-7.2cm}{
\begin{center}
\sihao[2.0] {\bf{Huazhong University of Science and Technology\\
Wuhan~430074, P.~R.~China\\
\HUST@edate}}
\end{center}}
\end{center}}