-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcugthesis.cls
1332 lines (1249 loc) · 46.3 KB
/
cugthesis.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
%
% China University of Geosciences Thesis Template
% For Master Degree
%
%
% Version
% Beta
% Created
% 2015.03.06 by seeksky@CUG
% Last Modified
% 2015.03.06 by seeksky@CUG
%
% $Id$
%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{cugthesis}[2015/03/06 CUGthesis document class. Created: 2015.03.06 by seeksky@CUG, Last Modified: 2015.03.06 by seeksky@CUG]
%Dew class options
\newif\ifustc@basic\ustc@basicfalse
\newif\ifustc@oldfontcfg\ustc@oldfontcfgfalse
\newif\ifustc@master\ustc@masterfalse
\newif\ifustc@doctor\ustc@doctorfalse
\newif\ifustc@bachelor\ustc@bachelorfalse
\newif\ifustc@adobefont\ustc@adobefontfalse
\newif\ifustc@euler\ustc@eulerfalse
\newif\ifustc@notchinese\ustc@notchinesefalse
%Define new commands
\def\ustc@define@term#1{
\expandafter\gdef\csname #1\endcsname##1{%
\expandafter\gdef\csname ustc@#1\endcsname{##1}}
\csname #1\endcsname{}}
%By default, the template will load the extra pack which includes some commonly used packages and macros. Use `basic' option to load necessary/basic packages in case of compatibility problems.
\DeclareOption{basic}{\ustc@basictrue}
%CTeX has its own font configurations so that it is unnecessary to define font family by user. Those who want to use old font configurations of former ustcthesis should use `oldfontcfg' option.
\DeclareOption{oldfontcfg}{\ustc@oldfontcfgtrue}
%Dissertation categories - use only one option at a time, never try to use more than one options.
\DeclareOption{master}{\ustc@mastertrue}
\DeclareOption{doctor}{\ustc@doctortrue}
\DeclareOption{bachelor}{\ustc@bachelortrue}
%For English and/or other language users
\DeclareOption{notchinese}{\ustc@notchinesetrue}
%Use Euler math font
\DeclareOption{euler}{\ustc@eulertrue}
%Enhance compatibility
\DeclareOption{adobefonts}{\ustc@adobefonttrue\PassOptionsToClass{adobefonts}{ctexbook}}
\DeclareOption{adobefont}{\ustc@adobefonttrue\PassOptionsToClass{adobefonts}{ctexbook}}
%Pass all unprocessed/unknown options to ctexbook. If a wrong option is specified, perhaps ctexbook will throw an error.
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}}
\ProcessOptions
%Minimum xeCJK version:3.2.10, date:2014/03/01
\PassOptionsToPackage{CJKchecksingle}{xeCJK}
%不再鼓励使用$$...$$的方式输入公式,可能会引起奇怪的问题
%如果一定要用$$...$$输入公式。请在更新到上述版本后加入PlainEquation选项。
\LoadClass[c5size,executivepaper,fancyhdr,fntef]{ctexbook}
%%%%%%%%%%%%%%%%%%%%%%% begin of extra component %%%%%%%%%%%%%%%%%%%%%%
% extra pack is integreted with the main latex class.
%
% China University of Geosciences Thesis Template
% For Master
%
% Version
% Beta
% Created
% 2014.03.26 by ywg@USTC
% Last Modified
% 2015.03.06 by seeksky@CUG
%
% $Id$
%
\RequirePackage{times}
\RequirePackage[lined,boxed,linesnumbered,algochapter]{algorithm2e}
\RequirePackage{graphicx,psfrag}
\RequirePackage{enumerate}
\RequirePackage{subfig,epsfig}
\RequirePackage{float}
\RequirePackage{paralist}
\RequirePackage{booktabs}
\RequirePackage[perpage,symbol]{footmisc}
\RequirePackage[integrals]{wasysym}
\RequirePackage{longtable}
% Set default longtable alignment
\setlength\LTleft{0pt}
\setlength\LTright{0pt}
\RequirePackage{bbm}
\RequirePackage{indentfirst}
\RequirePackage{ifthen}
%\RequirePackage{caption3}
\RequirePackage{array}
\RequirePackage{fancyvrb}
\RequirePackage{xcolor}
\RequirePackage{setspace}
\ifustc@euler
\usepackage[OT1,euler-digits]{eulervm}
\fi
\RequirePackage{url} \def\UrlBreaks{\do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z\do\[\do\\\do\]\do\^\do\_\do\`\do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z\do\0\do\1\do\2\do\3\do\4\do\5\do\6\do\7\do\8\do\9\do\.\do\@\do\\\do\/\do\!\do\_\do\|\do\;\do\>\do\]\do\)\do\,\do\?\do\'\do+\do\=\do\#}
\ustc@define@term{ustcloaname}
\ifustc@notchinese
\ustcloaname{List of Algorithm}
\renewcommand{\algorithmcfname}{Algorithm}
\else
\ustcloaname{算法索引}
\renewcommand{\algorithmcfname}{算法}
\fi
\renewcommand{\listalgorithmcfname}{\ustc@ustcloaname}
\newcommand\ustcloa{
\cleardoublepage\wuhao{\listofalgorithms}
\thispagestyle{empty}
\pagestyle{empty}}
\ifustc@oldfontcfg
\ifustc@adobefont
\setCJKmainfont[BoldFont={Adobe Heiti Std}, ItalicFont={Adobe Kaiti Std}]{Adobe Song Std}
\setCJKsansfont{Adobe Heiti Std}
\setCJKmonofont{Adobe Fangsong Std}
\setCJKfamilyfont{song}{Adobe Song Std}
\setCJKfamilyfont{hei}{Adobe Heiti Std}
\setCJKfamilyfont{kai}{Adobe Kaiti Std}
\setCJKfamilyfont{fs}{Adobe Fangsong Std}
%\setCJKfamilyfont{verthei}[RawFeature={vertical:}]{Adobe Heiti Std}%{Adobe Heiti Std} 这里还是改成Adobe Heiti Std吧,在Linux下面SimHei貌似不行,改成这个就好了
\else
\setCJKmainfont[BoldFont={SimHei}, ItalicFont={KaiTi}]{NSimSun}
\setCJKsansfont{SimHei}
\setCJKmonofont{FangSong}
\setCJKfamilyfont{song}{NSimSun}
\setCJKfamilyfont{hei}{SimHei}
\setCJKfamilyfont{kai}{KaiTi} % XP对应 KaiTi_GB2312,Vista对应KaiTi,注意根据系统切换
\setCJKfamilyfont{fs}{FangSong} % XP对应 FangSong_GB2312,Vista对应FangSong,注意根据系统切换
\fi
\fi
\newcommand{\song}{\CJKfamily{song}} % 宋体
\newcommand{\fs}{\CJKfamily{fs}} % 仿宋体
\newcommand{\kai}{\CJKfamily{kai}} % 楷体
\newcommand{\hei}{\CJKfamily{hei}} % 黑体
\setmainfont{Times New Roman}
\setsansfont[BoldFont={Courier New Bold}]{Courier New}
\setmonofont[BoldFont={Arial:style=Bold}]{Arial}
%在正文中无论是否在图形环境中,用 \figcaption 均可得到图形标题
%同样,无论是否在表格环境中,用 \tabcaption 均可得到表格标题。
\newcommand\figcaption{\def\@captype{figure}\caption}
\newcommand\tabcaption{\def\@captype{table}\caption}
%提供表格环境下p{width}加强版命令,使用L{width}等可以在指定宽度的同时指定对齐方式。
\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp}
\newcolumntype{C}[1]{>{\PreserveBackslash\centering}p{#1}}
\newcolumntype{R}[1]{>{\PreserveBackslash\raggedleft}p{#1}}
\newcolumntype{L}[1]{>{\PreserveBackslash\raggedright}p{#1}}
%Superscript reference
\newcommand{\scite}[1]{\textsuperscript{\cite{#1}}}
\newenvironment{denotation}[1][2.5cm]{
\cleardoublepage
\ifustc@notchinese
\chapter*{Nomenclature}
\else
\chapter*{主要符号对照表} % no tocline
\fi
\thispagestyle{empty}
\noindent\begin{list}{}%
{\vskip-30bp%\xiaosihao[1.6]
\renewcommand\makelabel[1]{##1\hfil}
\setlength{\labelwidth}{#1} % 标签盒子宽度
\setlength{\labelsep}{0.5cm} % 标签与列表文本距离
\setlength{\itemindent}{0cm} % 标签缩进量
\setlength{\leftmargin}{\dimexpr\labelwidth+\labelsep} % 左边界,zym@USTC说\dimexpr在texlive2011/12上不正常,替代方法是使用calc宏包
\setlength{\rightmargin}{0cm}
\setlength{\parsep}{0cm} % 段落间距
\setlength{\itemsep}{0cm} % 标签间距
\setlength{\listparindent}{0cm} % 段落缩进量
\setlength{\topsep}{0pt} % 标签与上文的间距
}}{\end{list}}
%upStand Greek Letters
\DeclareMathSymbol{\upGamma}{\mathord}{operators}{0}
\DeclareMathSymbol{\upDelta}{\mathord}{operators}{1}
\DeclareMathSymbol{\upTheta}{\mathord}{operators}{2}
\DeclareMathSymbol{\upLambda}{\mathord}{operators}{3}
\DeclareMathSymbol{\upXi}{\mathord}{operators}{4}
\DeclareMathSymbol{\upPi}{\mathord}{operators}{5}
\DeclareMathSymbol{\upSigma}{\mathord}{operators}{6}
\DeclareMathSymbol{\upUpsilon}{\mathord}{operators}{7}
\DeclareMathSymbol{\upPhi}{\mathord}{operators}{8}
\DeclareMathSymbol{\upPsi}{\mathord}{operators}{9}
\DeclareMathSymbol{\upOmega}{\mathord}{operators}{10}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%自定义代码环境code codex 和codescript
%代码来自:陈硕 ([email protected])
%位于:用LaTeX排版编程技术书籍的一些个人经验
%经过小幅修改
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\newcommand{\labelfont}{\bfseries}%定义label字体
\def\FV@SetLineWidth{%
\if@FV@ResetMargins\else
\advance\leftmargin\@totalleftmargin
\fi
\advance\leftmargin\FV@XLeftMargin\relax
\advance\rightmargin\FV@XRightMargin\relax
\linewidth\hsize
%\advance\linewidth-\leftmargin
%\advance\linewidth-\rightmargin
\hfuzz\FancyVerbHFuzz\relax}
\def\FV@SingleFrameLine#1{%
%% DG/SR modification end
\hbox to\z@{%
%\kern\leftmargin
%% DG/SR modification begin - Jun. 22, 1998
\ifnum#1=\z@
\let\FV@Label\FV@LabelBegin
\else
\let\FV@Label\FV@LabelEnd
\fi
\ifx\FV@Label\relax
%% DG/SR modification end
\FancyVerbRuleColor{\vrule \@width\linewidth \@height\FV@FrameRule}%
%% DG/SR modification begin - Jun. 22, 1998
\else
\ifnum#1=\z@
\setbox\z@\hbox{\strut\enspace\labelfont\FV@LabelBegin\strut}%
\else
\setbox\z@\hbox{\strut\enspace\labelfont\FV@LabelEnd\strut}%
\fi
\@tempdimb=\dp\z@
\advance\@tempdimb -.5\ht\z@
\@tempdimc=\linewidth
\advance\@tempdimc -\wd\z@
%\divide\@tempdimc\tw@
\ifnum#1=\z@ % Top line
\ifx\FV@LabelPositionTopLine\relax
\FancyVerbRuleColor{\vrule \@width\linewidth \@height\FV@FrameRule}%
\else
\FV@FrameLineWithLabel
\fi
\else % Bottom line
\ifx\FV@LabelPositionBottomLine\relax
\FancyVerbRuleColor{\vrule \@width\linewidth \@height\FV@FrameRule}%
\else
\FV@FrameLineWithLabel
\fi
\fi
\fi
%% DG/SR modification end
\hss}}
%% DG/SR modification begin - May. 19, 1998
\def\FV@FrameLineWithLabel{%
\ht\z@\@tempdimb\dp\z@\@tempdimb%
\FancyVerbRuleColor{%
\raise 0.5ex\hbox{\vrule \@width\@tempdimc \@height\FV@FrameRule}%
\raise\@tempdimb\box\z@}}
%% DG/SR modification end
\def\FV@EndListFrame@Lines{%
\begingroup
%\vskip 0.5ex
\baselineskip\z@skip
\kern\FV@FrameSep\relax
%% DG/SR modification begin - May. 19, 1998
%% \FV@SingleFrameLine
\FV@SingleFrameLine{\@ne}%
%% DG/SR modification end
\endgroup}
\newskip\mytopsep
\setlength{\mytopsep}{4pt plus 2pt minus 3pt}
\def\FV@ListVSpace{%
\@topsepadd\mytopsep
\if@noparlist\advance\@topsepadd\partopsep\fi
\if@inlabel
\vskip\parskip
\else
\if@nobreak
\vskip\parskip
\clubpenalty\@M
\else
\addpenalty\@beginparpenalty
\@topsep\@topsepadd
\advance\@topsep\parskip
\addvspace\@topsep
\fi
\fi
%\showthe \@topsepadd
%\showthe \topsep
%\showthe \partopsep
%\showthe \parskip
\global\@nobreakfalse
\global\@inlabelfalse
\global\@minipagefalse
\global\@newlistfalse}
\def\FV@EndList{%
\FV@ListProcessLastLine
\FV@EndListFrame
%\showthe \@topsepadd
\@endparenv
\endgroup
\@endpetrue}
\def\theFancyVerbLine{\sffamily\scriptsize\arabic{FancyVerbLine}}
\DefineVerbatimEnvironment%
{Codex}{Verbatim}
{fontsize=\small,baselinestretch=0.9,xleftmargin=3mm,%
frame=lines,labelposition=all,framesep=5pt}
\DefineVerbatimEnvironment%
{Code}{Verbatim}
{fontsize=\small,baselinestretch=0.9,xleftmargin=3mm}
\DefineVerbatimEnvironment%
{CodeScript}{Verbatim}
{fontsize=\scriptsize,baselinestretch=0.9,xleftmargin=3mm}
\DefineVerbatimEnvironment%
{CodexScript}{Verbatim}
{fontsize=\scriptsize,baselinestretch=0.9,xleftmargin=3mm,%
frame=lines,labelposition=all,framesep=5pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%code environment, from ctex-faq
%没有经过实际测试,注意大小写
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{example@bkcolor}{gray}{.875}
%
\newwrite\example@out
\def\example@start{%
\begingroup% Lets Keep the Changes Local
\@bsphack
\immediate\openout \example@out \jobname.exa
\let\do\@makeother\dospecials\catcode`\^^M\active
\def\verbatim@processline{%
\immediate\write\example@out{\the\verbatim@line}}%
\verbatim@start}
\def\example@finish{\immediate\closeout\example@out\@esphack\endgroup}
\def\example@code#1#2{%
\colorbox{#1}{%
\begin{minipage}[c]{#2}%
\small\verbatiminput{\jobname.exa}%
\end{minipage}%
}%
}
\def\example@output#1{%
\let\savefboxrule\fboxrule%
\let\savefboxsep\fboxsep%
\setlength{\fboxrule}{0.1pt}%
\setlength{\fboxsep}{3mm}%
\fbox{%
\begin{minipage}[c]{#1}%
\setlength{\fboxrule}{\savefboxrule}%
\setlength{\fboxsep}{\savefboxsep}%
\setlength{\parskip}{1ex plus 0.4ex minus 0.2ex}%
\begin{trivlist}\item\small\input{\jobname.exa}\end{trivlist}
\end{minipage}
}%
}
\newenvironment{code}%
{\example@start}%
{\example@finish%
\list{}{\itemindent-\leftmargin}\item\relax%
\makebox[\textwidth][c]{%
\example@code{example@bkcolor}{0.96\textwidth}%
}%
\endlist}
%%%%%%%%%%%%%%%%%%%%%%% end of extra component %%%%%%%%%%%%%%%%%%%%%%
% Alter some LaTeX defaults for better treatment of figures:
% See p.105 of "TeX Unbound" for suggested values.
% See pp. 199-200 of Lamport's "LaTeX" book for details.
% General parameters, for ALL pages:
\renewcommand{\topfraction}{0.9} % max fraction of floats at top
\renewcommand{\bottomfraction}{0.8} % max fraction of floats at bottom
% Parameters for TEXT pages (not float pages):
\setcounter{topnumber}{2}
\setcounter{bottomnumber}{2}
\setcounter{totalnumber}{4} % 2 may work better
\setcounter{dbltopnumber}{2} % for 2-column pages
\renewcommand{\dbltopfraction}{0.9} % fit big float above 2-col. text
\renewcommand{\textfraction}{0.07} % allow minimal text w. figs
% Parameters for FLOAT pages (not text pages):
\renewcommand{\floatpagefraction}{0.7} % require fuller float pages
% N.B.: floatpagefraction MUST be less than topfraction !!
\renewcommand{\dblfloatpagefraction}{0.7} % require fuller float pages
%remember to use [htp] or [htpb] for placement
%Add by [email protected]: set the float sep to 0pt
\setlength{\abovecaptionskip}{5pt}
\setlength{\belowcaptionskip}{5pt}
\setlength{\parskip}{0pt}
\setlength{\floatsep}{0pt}
\setlength{\textfloatsep}{5pt}
\setlength{\abovedisplayskip}{0pt}
\setlength{\belowdisplayskip}{0pt}
\setlength{\arraycolsep}{0pt}
\setlength{\topsep}{0pt}
\setlength{\partopsep}{0pt}
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
%Check if user has specified one dissertation option.
\ifustc@master\relax\else
\ifustc@doctor\relax\else
\ifustc@bachelor\relax\else
\ClassError{USTCthesis}{You have to specify one of thesis options: bachelor, master or doctor.}{}
\fi
\fi
\fi
%Ensure only one dissertation option is specified.
\newcommand\ustc@error{\ClassError{USTCthesis}{You can ONLY specify ONE KEY option: bachelor, master or doctor!}{}}
\ifustc@doctor
\ifustc@master
\ustc@error
\else
\ifustc@bachelor
\ustc@error
\fi
\fi
\else
\ifustc@master
\ifustc@bachelor
\ustc@error
\fi
\fi
\fi
%load basic packages
\RequirePackage{amsmath,amsthm,amsfonts,amssymb,bm}
\RequirePackage{titletoc}
\RequirePackage{titlesec}
\RequirePackage[
paperwidth=21cm,
paperheight=29.7cm,
left=3cm,
right=3cm,
top=3cm,
bottom=3cm,
headsep=0.25cm,
headheight=2.5cm,
footskip=2cm,
% showframe%uncomment this if you want to check the page setup.
]{geometry}
\RequirePackage{multicol}
\RequirePackage{multirow}
\RequirePackage{hyperref}
\pdfstringdefDisableCommands{\def\and{and }}
\hypersetup{
CJKbookmarks=true,%
bookmarksnumbered=true,%
bookmarksopen=true,
breaklinks=true,
colorlinks=true,%
linkcolor=black,%
citecolor=black,%
plainpages=false,%
pdfstartview=FitH,}
\AtBeginDocument{\hypersetup{%
pdftitle={\ustc@title,\ustc@entitle},%
pdfauthor={\ustc@author,\ustc@enauthor},%
pdfkeywords={},%Either put keywords here or not, as you wish.
pdfcreator={LaTeX with hyperref package, using CUG LaTeX Thesis Template for Master}}}
\RequirePackage[numbers,sort&compress,square]{natbib}
\def\bibfont{\wuhao}
\setlength{\bibsep}{0pt plus1pt minus1pt}
\setlength{\bibhang}{2\ccwd}%Applied only to author-year style
\RequirePackage[format=hang,labelsep=quad]{caption}
\DeclareCaptionFont{cs5size}{\wuhao}
\captionsetup[table]{labelfont={cs5size,bf}}
\captionsetup[table]{textfont={cs5size,bf}}
\captionsetup[figure]{labelfont={cs5size}}
\captionsetup[figure]{textfont={cs5size}}
%Chinese font size
\newcommand{\chuhao} {\fontsize{42pt} {\baselineskip}\selectfont}
\newcommand{\xiaochu} {\fontsize{36pt} {\baselineskip}\selectfont}
\newcommand{\xiaochuhao}{\fontsize{36pt} {\baselineskip}\selectfont}
\newcommand{\yihao} {\fontsize{28pt} {\baselineskip}\selectfont}
\newcommand{\erhao} {\fontsize{22pt} {\baselineskip}\selectfont}
\newcommand{\xiaoer} {\fontsize{18pt} {\baselineskip}\selectfont}
\newcommand{\xiaoerhao} {\fontsize{18pt} {\baselineskip}\selectfont}
\newcommand{\sanhao} {\fontsize{16pt}{\baselineskip}\selectfont}
\newcommand{\xiaosan} {\fontsize{15pt} {\baselineskip}\selectfont}
\newcommand{\xiaosanhao}{\fontsize{15pt} {\baselineskip}\selectfont}
\newcommand{\sihao} {\fontsize{14pt} {\baselineskip}\selectfont}
\newcommand{\xiaosi} {\fontsize{12pt} {\baselineskip}\selectfont}
\newcommand{\xiaosihao} {\fontsize{12pt} {\baselineskip}\selectfont}
\newcommand{\wuhao} {\fontsize{10.5pt} {\baselineskip}\selectfont}
\newcommand{\xiaowu} {\fontsize{9pt} {\baselineskip}\selectfont}
\newcommand{\xiaowuhao} {\fontsize{9pt} {\baselineskip}\selectfont}
\newcommand{\liuhao} {\fontsize{7.875pt}{\baselineskip}\selectfont}
\newcommand{\qihao} {\fontsize{5.25pt} {\baselineskip}\selectfont}
%Define font for vertical typesetting.
\ifustc@adobefont
\setCJKfamilyfont{verthei}[RawFeature={vertical:}]{Adobe Heiti Std}\relax
\else%
\setCJKfamilyfont{verthei}[RawFeature={vertical:}]{SimHei}\relax
\fi
\newcommand{\ustc@verthei}{\CJKfamily{verthei}}
%Set section numbering to subsubsection
\setcounter{secnumdepth}{3}
%Set numbering style to X.X
\numberwithin{equation}{chapter}
\numberwithin{figure}{chapter}
\numberwithin{table}{chapter}
%Old configurations which should not be used
%\titleformat{\section}{\flushleft\hei\sihao}{\thesection}{1em}{}
%\titleformat{\subsection}{\flushleft\hei\xiaosi}{\thesubsection}{1em}{}
%\titleformat{\subsubsection}{\flushleft\hei\wuhao}{\thesubsubsection}{1em}{}
%\renewcommand\chaptername{第\,\chinese{chapter}\,章}
%\titleformat{\chapter}{\centering\sanhao\hei}{\chaptername}{1em}{}
%\titlespacing{\chapter}{0cm}{.5cm}{1.5cm} %left above below
%\titlespacing{\chapter}{0cm}{0pt}{0pt} %left above below
%Title setup
\CTEXsetup[format={\centering}]{chapter}%规定16pt,三号为15.75pt
\CTEXsetup[nameformat={\hei\sanhao}]{chapter}
\CTEXsetup[titleformat={\hei\sanhao}]{chapter}
\CTEXsetup[beforeskip={20pt}]{chapter}
\CTEXsetup[afterskip={20pt}]{chapter}
\CTEXsetup[format={\centering\hei\sihao}]{section}%规定14pt,即四号
\CTEXsetup[beforeskip=5pt]{section}%规定13pt
\CTEXsetup[afterskip=5pt]{section}%规定13pt
\CTEXsetup[format={\flushleft\hei\xiaosihao}]{subsection}%规定13pt
\CTEXsetup[beforeskip=-5pt]{subsection}%规定13pt
\CTEXsetup[afterskip=-5pt]{subsection}%规定13pt
\CTEXsetup[beforeskip=0pt]{subsubsection}%规定13pt
\CTEXsetup[afterskip=0pt]{subsubsection}%规定13pt
\CTEXsetup[format={\flushleft\hei\xiaosihao}]{subsubsection}%规定12pt,即小四号
\CTEXsetup[number={\arabic{chapter}.\arabic{section}}]{section}
\ifustc@notchinese
\CTEXsetup[name={Part\space,}]{part}
\CTEXsetup[name={Chapter\space,}]{chapter}
\CTEXsetup[number={\Roman{part}}]{part}
\CTEXsetup[number={\arabic{chapter}}]{chapter}
\CTEXsetup[name={Appendix\space}]{appendix}
\CTEXoptions[contentsname={Table of Contents}]
\CTEXoptions[listfigurename={List of Figures}]
\CTEXoptions[listtablename={List of Tables}]
\CTEXoptions[figurename={Figure}]
\CTEXoptions[tablename={Table}]
\CTEXoptions[indexname={Indexes}]
\CTEXoptions[bibname={References}]
\else
\relax
\fi
\titlespacing*{\section}
{0pt}{19pt}{19pt}
\titlespacing*{\subsection}
{0pt}{5pt}{5pt}
\titlespacing*{\subsubsection}
{0pt}{5pt}{5pt}
%Define new commands for List of Figures/Tables
\ustc@define@term{ustclofname}
\ustc@define@term{ustclotname}
\ifustc@notchinese
\ustclofname{List of Figures}
\ustclotname{List of Tables}
\else
\ustclofname{插图索引}
\ustclotname{表格索引}
\fi
\CTEXoptions[listfigurename={\ustc@ustclofname}]
\CTEXoptions[listtablename={\ustc@ustclotname}]
\newcommand\ustclot{\cleardoublepage
\wuhao{\listoftables}
\thispagestyle{empty}
\pagestyle{empty}}
\newcommand\ustclof{\cleardoublepage
\wuhao{\listoffigures}
\thispagestyle{empty}
\pagestyle{empty}}
%New mathematical environments
\ifustc@notchinese
\newtheorem{theorem}{\textbf{\hspace{0.7cm}Theorem}}[section]
\newtheorem{lemma}{\textbf{\hspace{0.7cm}Lemma}}[section]
\newtheorem{example}{\textbf{\hspace{0.7cm}Example}}[section]
\newtheorem{definition}{\textbf{\hspace{0.7cm}Definition}}[section]
\newtheorem{axiom}{\textbf{\hspace{0.7cm}Axiom}}[section]
\newtheorem{property}{\textbf{\hspace{0.7cm}Property}}[section]
\newtheorem{proposition}{\textbf{\hspace{0.7cm}Proposition}}[section]
\newtheorem{corollary}{\textbf{\hspace{0.7cm}Corollary}}[section]
\newtheorem{remark}{\textbf{\hspace{0.7cm}Remark}}[section]
\newtheorem{condition}{\textbf{\hspace{0.7cm}Condition}}[section]
\newtheorem{conclusion}{\textbf{\hspace{0.7cm}Conclusion}}[section]
\newtheorem{assumption}{\textbf{\hspace{0.7cm}Assumption}}[section]
\newtheorem{prove}{\textbf{\hspace{0.7cm}Prove}}[section]
\renewcommand{\proofname}{Proof}
\renewcommand\appendixname{Appendix}
%New autorefname
\def\equationautorefname{Equation}
\def\footnoteautorefname{Footnote}
\def\itemautorefname{Item}
\def\figureautorefname{Figure}
\def\subfigureautorefname{Figure}
\def\tableautorefname{Table}
\def\partautorefname{Part}
\def\appendixautorefname{Appendix}
\def\chapterautorefname{Chapter}
\def\sectionautorefname{Section}
\def\subsectionautorefname{Subsection}
\def\theoremautorefname{Theorem}
\def\assumptionautorefname{Assumption}
\def\propertyautorefname{Property}
\else
\newtheorem{theorem}{\textbf{\hspace{0.7cm}定理}}[section]
\newtheorem{lemma}{\textbf{\hspace{0.7cm}引理}}[section]
\newtheorem{example}{\textbf{\hspace{0.7cm}例}}[section]
\newtheorem{definition}{\textbf{\hspace{0.7cm}定义}}[section]
\newtheorem{axiom}{\textbf{\hspace{0.7cm}公理}}[section]
\newtheorem{property}{\textbf{\hspace{0.7cm}性质}}[section]
\newtheorem{proposition}{\textbf{\hspace{0.7cm}命题}}[section]
\newtheorem{corollary}{\textbf{\hspace{0.7cm}推论}}[section]
\newtheorem{remark}{\textbf{\hspace{0.7cm}注解}}[section]
\newtheorem{condition}{\textbf{\hspace{0.7cm}条件}}[section]
\newtheorem{conclusion}{\textbf{\hspace{0.7cm}结论}}[section]
\newtheorem{assumption}{\textbf{\hspace{0.7cm}假设}}[section]
\newtheorem{prove}{\textbf{\hspace{0.7cm}证明}}[section]
\renewcommand{\proofname}{证明}
\renewcommand\appendixname{附录}
%New autorefname
\def\equationautorefname{式}
\def\footnoteautorefname{脚注}
\def\itemautorefname{项}
\def\figureautorefname{图}
\def\subfigureautorefname{图}
\def\tableautorefname{表}
\def\partautorefname{篇}
\def\appendixautorefname{附录}
\def\chapterautorefname{章}
\def\sectionautorefname{节}
\def\subsectionautorefname{小节}
\def\theoremautorefname{定理}
\def\assumptionautorefname{假设}
\def\propertyautorefname{性质}
\fi
%\usepackage{caption2,caption3}
%\usepackage{subfigure}
%\renewcommand{\captionfont}{\ftcaptionfont}
%\renewcommand{\captionlabelfont}{\ftcaptionfont}
%\renewcommand{\captionlabeldelim}{}
%\renewcommand{\tablename}{表}
% add in 2015/05/07 by xujinlai
% to satisfy the requirement of figure and table caption type "图 1-1" from original Latex "图 1.1"
\renewcommand{\thetable}{~\arabic{chapter}-\arabic{table}~}
%\renewcommand{\figurename}{图}
\renewcommand{\thefigure}{~\arabic{chapter}-\arabic{figure}~}
\renewcommand{\theequation}{\arabic{chapter}-\arabic{equation}~}
%\renewcommand{\subcaplabelfont}{\ftcaptionfont}
%\renewcommand{\subcapsize}{\ftcaptionfont}
%\captionsetup{font={\xiaowu\hei}}
%Line and par setup
%It seems unnecessary since CTeX has already set the \baselinestretch etc.
%\renewcommand\baselinestretch{1.4}
\newcommand\ustc@underline[2][6em]{\hskip1pt\underline{\hb@xt@ #1{\hss#2\hss}}\hskip3pt}
\setlength{\parskip}{0pt plus3pt minus0pt}%{1ex plus1.5ex minus0.5ex}%{0.5\baselineskip}%{1.5pt plus1pt minus1pt}
\setlength{\parindent}{2\ccwd}
%\setlength{\parskip}{3pt plus1pt minus2pt}
%\setlength{\baselineskip}{22pt plus1pt minus1pt}
%\setlength{\textheight}{21true cm}
%\setlength{\headsep}{1 cm}
%\setlength{\textwidth}{14.5true cm}
%\setlength{\belowcaptionskip}{5pt}
%Title page setup
\newcommand\USTCHUGE{\fontsize{56}{67.2}\selectfont}%中文扉页第二行
\newcommand\USTCLARGE{\fontsize{26}{30}\selectfont}%英文扉页第二行
\newcommand\USTCLarge{\fontsize{20}{30}\selectfont}%英文扉页第一行
\newcommand\USTCTspace{\protect\CTEX@spaceChar}
\def\cleardoublepage{\clearpage\if@twoside \ifodd\c@page\else
\thispagestyle{empty}%
\hbox{}\newpage\if@twocolumn\hbox{}\newpage\fi\fi\fi}
% !! Never try to set this value greater than 0.7.
% !! This value has already set previously. So, leave it here as a reminder.
%\renewcommand{\floatpagefraction}{0.80}
%Information used for title page and book spine
\renewcommand\title[1]{\def\ustc@title{#1}}
\renewcommand\author[1]{\def\ustc@author{#1}}
\ustc@define@term{advisor}
\ustc@define@term{coadvisor}
\ustc@define@term{major}%硕士博士论文适用专业全称,不可用缩写。本科论文不需要此项 Not used in bachelor thesis. For master and doctor thesis, use full name -- NEVER use abbr.
\ustc@define@term{submitdate}
\ustc@define@term{depart}%硕士博士论文用院系代号,仅用于书脊。本科论文用院系全称,仅用于扉页 For bachelor use full name(only used in title page). Currently unused for master and doctor
%English
\ustc@define@term{entitle}
\ustc@define@term{enauthor}
\ustc@define@term{enadvisor}
\ustc@define@term{encoadvisor}
\ustc@define@term{ensubmitdate}
\ustc@define@term{enmajor}
\ustc@define@term{endepart}%本科论文用院系全称,仅用于扉页。硕博暂时没有用 For bachelor use full name(only used in title page). Currently unused for master and doctor
%Other language strings
\ustc@define@term{otherustcstr}%A translation of `China University of Geosciences' in your language
\ustc@define@term{otherthesisstr}%A translation of `A dissertation for doctor's degree' in your language
\ustc@define@term{otherauthorstr}%A translation of `Author' in your language
\ustc@define@term{otherdepartmentstr}%A translation of `Department' in your language
\ustc@define@term{otherstudentidstr}%A translation of `Student ID' in your language
\ustc@define@term{othersupervisorstr}%A translation of `Supervisor' in your language
\ustc@define@term{otherfinishedtimestr}%A translation of `Finished Time' in your language
\ustc@define@term{otherspecialitystr}%A translation of `Speciality' in your language
\ustc@define@term{othertitle}
\ustc@define@term{otherauthor}
\ustc@define@term{otheradvisor}
\ustc@define@term{othercoadvisor}
\ustc@define@term{othersubmitdate}
\ustc@define@term{othermajor}
\ustc@define@term{otherdepart}%本科论文用院系全称,仅用于扉页。硕博暂时没有用 For bachelor use full name(only used in title page). Currently unused for master and doctor
\ustc@define@term{studentid}%学号,仅本科论文 Student ID, only for bachelor
\ustc@define@term{spinetitle}%书脊使用的标题,当title里含有控制字符时使用此命令输入文本标题 Use this command to generate spine when there are some control commands in \title{}
\ustc@define@term{covertitle}%封皮使用的标题,当title里存在强制换行导致标题超过了三行时,或者存在其他特殊情况时,请使用此命令输入封皮的标题。根据制本厂的规定,封皮标题最多两行。Use this command to generate cover page title when \title{} contains more than one force line break, ie. title has more than two lines, or when \title{} contains some special commands. Accroding to requirements of USTC Printer, cover page title can only have no more than two lines.
\ustc@define@term{encovertitle}%本科专用。封皮使用的英文标题,当entitle里存在强制换行导致标题超过了四行时,或者存在其他特殊情况时,请使用此命令输入封皮的英文标题。根据制本厂的规定,封皮英文标题最多三行。For bachelor only. Use this command to generate cover page title when \entitle{} contains more than two force line breaks, ie. entitle has more than three lines, or when \entitle{} contains some special commands. Accroding to requirements of USTC Printer, cover page English title can only have no more than three lines.
%\ustc@define@term{degree}%Not used
\RequirePackage{subfiles}
\RequirePackage{xparse}
\DeclareDocumentCommand{\makecover}{ O{17pt} O{17pt} }{\make@bookspine{#1}{#2}}
\renewcommand\maketitle{%
\make@cntitle
\make@entitle
\ifustc@notchinese
\ifx\ustc@othertitle\@empty
\relax
\else
\make@othertitle
\fi
\fi
\ifustc@bachelor%
\relax
\else
\make@authorization
\fi}
%Chinese title page
\def\CUGT@underline[#1]#2{%
\CTEXunderline{\hbox to #1{\hfill#2\hfill}}}
\def\CUGTunderline{\@ifnextchar[\CUGT@underline\CTEXunderline}
\newcommand\make@cntitle{%
\newgeometry{%
top=2.5cm,
bottom=2.5cm,
left=2.5cm,
right=2.5cm
}
\pdfbookmark[-1]{\ustc@title}{title}
\cleardoublepage
\thispagestyle{empty}
\begin{center}
%\vspace*{0.5cm plus 0.5cm minus 1cm}
% \includegraphics[width=10cm]{ustc_logo_text.eps}
\song\sanhao{分类号:}~\CUGTunderline[70pt]{}
\hfill
\song\sanhao{密\hspace{1\ccwd}级:}~\CUGTunderline[70pt]{} \\
\vspace{3em}
\begin{spacing}{1.35}
\centering\yihao\song\bfseries{中国地质大学} \\
\vspace{.3em}
\yihao\song\ifustc@doctor
{博士学位论文}
\else\ifustc@master
{硕士学位论文}
\else
{学士学位论文}
\fi\fi \\
\vspace{2em}
\hei\erhao{\ustc@covertitle} \\
\end{spacing}
\vspace{2em}
\song
\end{center}
%\vskip 1.0cm %0.6cm 0.7cm 2.3cm
%\def\tabcolsep{1pt}
%\def\arraystretch{1.5}
\begin{center}
{\begin{spacing}{1.5}
\sanhao
\ifustc@bachelor\begin{tabular}{lc}%
\bfseries{姓\hspace{2\ccwd}名:} & \ustc@author\\
\bfseries{院\hspace{2\ccwd}系:} & \ustc@depart\\
\bfseries{学\hspace{2\ccwd}号:} & \ustc@studentid\\
\bfseries{导\hspace{2\ccwd}师:} & \ustc@advisor\\
\ifx\ustc@coadvisor\@empty\else & \ustc@coadvisor\\\fi
\bfseries{完成时间:} & \ustc@submitdate
\end{tabular}
\else \begin{tabular}{ll}%
{学\hspace{2\ccwd}号:} & \ustc@studentid\\
{硕\hspace{0.5\ccwd}士\hspace{0.5\ccwd}生:} & \ustc@author\\
{学科专业:} & \ustc@major\\
{指导教师:} & \ustc@advisor\\
\ifx\ustc@coadvisor\@empty\else
& \ustc@coadvisor\\\fi
{培养单位:} & \ustc@depart
\end{tabular}
\fi
\end{spacing}}
\vskip \stretch{0.6}
\sanhao{\ustc@submitdate}
\vspace{1em}
\end{center}
\clearpage
\restoregeometry
\if@twoside
\thispagestyle{empty}
\cleardoublepage
\fi
%make the second page
\cleardoublepage
\thispagestyle{empty}
\begin{center}
%\vspace*{0.5cm plus 0.5cm minus 1cm}
% \includegraphics[width=10cm]{ustc_logo_text.eps}
\song\sanhao{学校代码:}~{10491}
\hfill
\song\sanhao{研究生学号:}~{\ustc@studentid} \\
\vspace{3em}
\begin{spacing}{1.45}
\centering\yihao\song\bfseries{中国地质大学 \\
\vspace{.3em}
\yihao\song\ifustc@doctor
{博士学位论文}
\else\ifustc@master
{硕士学位论文}
\else
{学士学位论文}
\fi\fi }\\
\vspace{2em}
\hei\erhao{\ustc@covertitle} \\
\end{spacing}
\vspace{2em}
\song
\end{center}
%\vskip 1.0cm %0.6cm 0.7cm 2.3cm
%\def\tabcolsep{1pt}
%\def\arraystretch{1.5}
\begin{center}
{%
\begin{spacing}{1.5}
\sanhao
\ifustc@bachelor\begin{tabular}{lc}%
\bfseries{姓\hspace{2\ccwd}名:} & \ustc@underline[6cm]{\ustc@author}\\
\bfseries{院\hspace{2\ccwd}系:} & \ustc@underline[6cm]{\ustc@depart}\\
\bfseries{学\hspace{2\ccwd}号:} & \ustc@underline[6cm]{\ustc@studentid}\\
\bfseries{导\hspace{2\ccwd}师:} & \ustc@underline[6cm]{\ustc@advisor}\\
\ifx\ustc@coadvisor\@empty\else & \ustc@underline[6cm]{\ustc@coadvisor}\\\fi
\bfseries{完成时间:} & \ustc@underline[6cm]{\ustc@submitdate}
\end{tabular}
\else \begin{tabular}{ll}%
{硕\hspace{0.5\ccwd}士\hspace{0.5\ccwd}生:} & \ustc@author\\
{学科专业:} & \ustc@major\\
{指导教师:} & \ustc@advisor\\
\ifx\ustc@coadvisor\@empty\else
& \ustc@coadvisor\\\fi
{培养单位:} & \ustc@depart
\end{tabular}
\fi
\end{spacing}}
\vskip \stretch{0.6}
\sanhao{\ustc@submitdate}
\vspace{1em}
\end{center}
\clearpage
\restoregeometry
\if@twoside
\thispagestyle{empty}
\cleardoublepage
\fi
}
%English title page
\newcommand\make@entitle{%
\newgeometry{%
top=2.5cm,
bottom=2.5cm,
left=2.5cm,
right=2.5cm
}
%\pdfbookmark{英文标题}{etitle}
\cleardoublepage
\thispagestyle{empty}
\begin{center}
\vspace*{0cm}
\sanhao{{A Dissertation Submitted to China University \\}
\vskip 0.2cm
\sanhao{of Geosciences for}}
%\vskip -0.2cm %-0.6cm
{\ifustc@doctor
{A dissertation for doctor's degree}
\else\ifustc@master
{~the~Master Degree of \ustc@enmajor}
\else
{A dissertation for bachelor's degree}
\fi\fi}
\vskip 1.5cm %1.25cm
%\includegraphics[width=4.7cm]{ustc_logo_fig.eps}
\vskip 1.5cm %2.4cm
\begin{spacing}{1.5}
\bfseries\erhao\ustc@entitle
\end{spacing}
\end{center}
%\vskip 1.0cm %1.8cm 2cm 3.1cm
\vspace{4em}
\begin{center}
{%
\begin{spacing}{1.5}
\sanhao
\ifustc@bachelor
\begin{tabular}{ll}
Author :& \ustc@underline[6cm]{\ustc@enauthor}\\
Department :& \ustc@underline[6cm]{\ustc@endepart}\\
Student ID :& \ustc@underline[6cm]{\ustc@studentid}\\
Supervisor :& \ustc@underline[6cm]{\ustc@enadvisor}\\
\ifx\ustc@encoadvisor\@empty\else
& \ustc@underline[6cm]{\ustc@encoadvisor}\\
\fi
Finished Time :& \ustc@underline[6cm]{\ustc@ensubmitdate}
\end{tabular}
\else
\begin{tabular}{l}
Master Candidate :~\ustc@enauthor\\
Major :~\ustc@enmajor\\
Supervisor :~\ustc@enadvisor\\
\ifx\ustc@encoadvisor\@empty\else
& \ustc@underline[6cm]{\ustc@encoadvisor}\\
\fi
\end{tabular}
\fi
\end{spacing}}
\vskip \stretch{2}
\sanhao{China University of Geosciences}\\
\vskip 5pt
\sanhao{Wuhan 430074 P. R. China}
\end{center}
\clearpage
\restoregeometry
\if@twoside
\thispagestyle{empty}
\cleardoublepage
\fi
}
%Other language title page
\newcommand\make@othertitle{%
\newgeometry{%
top=3.8cm,
bottom=3.8cm,
left=3.2cm,
right=3.2cm
}
%\pdfbookmark{英文标题}{etitle}
\cleardoublepage
\thispagestyle{empty}
\begin{center}
\vspace*{0cm}
\USTCLarge{\ttfamily{\ustc@otherustcstr}}
\vskip -0.2cm %-0.6cm
\USTCLARGE{\ttfamily\ustc@otherthesisstr}
\vskip 1.5cm %1.25cm
\includegraphics[width=4.7cm]{ustc_logo_fig.eps}
\vskip 1.5cm %2.4cm
%\renewcommand{\baselinestretch}{1}
\bfseries\yihao\ustc@othertitle