主要修改了原工程的thesis.clx文件,主要修改了
1 封面LOGO 2 封面个人信息 3 去掉英文摘要、英文译文等章节 ,使内容更适合paper。
修改的代码如下:
1 %% 2 %% This is file `uestcthesis.cls', 3 %% generated with the docstrip utility. 4 %% 5 %% The original source files were: 6 %% 7 %% uestcthesis.dtx (with options: `class') 8 %% 9 %% This is a generated file. 10 %% 11 %% Copyright 2012-2013 Shi Fujun <shifujun@foxmail.com> 12 %% 13 %% This work may be distributed and/or modified under the 14 %% conditions of the LaTeX Project Public License, either version 1.3 15 %% of this license or (at your option) any later version. 16 %% The latest version of this license is in 17 %% http://www.latex-project.org/lppl.txt 18 %% and version 1.3 or later is part of all distributions of LaTeX 19 %% version 2005/12/01 or later. 20 %% 21 %% This work has the LPPL maintenance status `maintained'. 22 %% 23 %% The Current Maintainer of this work is Shi Fujun <shifujun@foxmail.com>. 24 %% 25 %% This work consists of the files uestcthesis.dtx, uestcthesis.ins 26 %% and the derived file uestcthesis.cls, uestcthesis.bst and beamerthemeuestcthesis.sty. 27 %% Other files in this work's package are belongs to the respective owners. 28 %% 29 30 \NeedsTeXFormat{LaTeX2e}[2011/06/27] 31 \ProvidesClass{uestcthesis} 32 [2013/06/07 v0.4.8 UESTC thesis class] 33 \LoadClass[cs4size,UTF8,fancyhdr,hyperref,fntef,openany]{ctexbook}[2011/03/11] 34 \RequirePackage{etoolbox}[2011/01/03] 35 \RequirePackage{ifthen} 36 \newcommand{\bachelor@uestcthesis}{ 37 \newcommand{\degree@uestcthesis}{bachelor} 38 \newcommand{\bachelortitlepage@uestcthesis}{}%先声明宏,稍后定义。 39 \newcommand{\titlepage@degree}{\bachelortitlepage@uestcthesis} 40 41 \newcommand{\multibibflag@uestcthesis}{} 42 43 \newcommand{\thesisname@degree}{天线领域的一名小学生} 44 45 \newcommand{\chapternumberformat@uestcthesis}{\arabic{chapter}} 46 } 47 \newcommand{\master@uestcthesis}{ 48 \newcommand{\degree@uestcthesis}{master} 49 \newcommand{\mastertitlepage@uestcthesis}{}%先声明宏,稍后定义。 50 \newcommand{\titlepage@degree}{\mastertitlepage@uestcthesis} 51 52 \newcommand{\multibibflag@uestcthesis}{TRUE} 53 54 \newcommand{\thesisname@degree}{博客随笔} 55 56 \newcommand{\publicationsname@degree}{研究成果} 57 58 \newcommand{\@degree}{硕士} 59 60 \newcommand{\publicationsname@english}{Research Results Obtained During the Study for Master Degree} 61 \newcommand{\thesisname@english}{Master Thesis of University of Electronic Science and Technology of China} 62 63 \newcommand{\chapternumberformat@uestcthesis}{\chinese{chapter}} 64 } 65 \newcommand{\doctor@uestcthesis}{ 66 \newcommand{\degree@uestcthesis}{doctor} 67 \newcommand{\doctortitlepage@uestcthesis}{}%先声明宏,稍后定义。 68 \newcommand{\titlepage@degree}{\doctortitlepage@uestcthesis} 69 70 \newcommand{\multibibflag@uestcthesis}{TRUE} 71 72 \newcommand{\thesisname@degree}{电子科技大学博士学位论文} 73 74 \newcommand{\publicationsname@degree}{攻博期间取得的研究成果} 75 76 \newcommand{\@degree}{博士} 77 78 \newcommand{\publicationsname@english}{Research Results Obtained During the Study for Doctor Degree} 79 \newcommand{\thesisname@english}{Doctor Thesis of University of Electronic Science and Technology of China} 80 81 \newcommand{\chapternumberformat@uestcthesis}{\chinese{chapter}} 82 } 83 \newcommand{\tocname@uestcthesis}{\zihao{5}目\enspace 录} 84 \newcommand{\chaptername@uestcthesis}{ 85 \CTEXsetup[ name={第,章}, 86 number={\chapternumberformat@uestcthesis} 87 ]{chapter} 88 } 89 \newcommand{\chaptermarkfix@uestcthesis}{ 90 \renewcommand{\chaptermark}[1]{\markboth{第\chapternumberformat@uestcthesis章~##1 }{}} 91 } 92 \newcommand{\acknowledgementsname@uestcthesis}{致\enspace 谢} 93 \newcommand{\glossaryname@uestcthesis}{主要符号表} 94 \newcommand{\entryname@uestcthesis}{符号或术语} 95 \newcommand{\descriptionname@uestcthesis}{说明} 96 \newcommand{\glspageheader@uestcthesis}{页码} 97 \newcommand{\english@uestcthesis}{ 98 \renewcommand{\tocname@uestcthesis}{\zihao{5}Contents} 99 \renewcommand{\chaptername@uestcthesis}{ 100 \CTEXsetup[ name={Chapter\space,}, 101 number={\arabic{chapter}} 102 ]{chapter} 103 } 104 \renewcommand{\chaptermarkfix@uestcthesis}{} 105 \renewcommand{\chaptermark}[1]{\markboth{Chapter\space\arabic{chapter}~##1 }{}} 106 107 \renewcommand{\acknowledgementsname@uestcthesis}{Acknowledgements} 108 \renewcommand{\CTEX@bibname}{References} 109 \renewcommand{\publicationsname@degree}{\publicationsname@english} 110 \renewcommand{\thesisname@degree}{\thesisname@english} 111 \renewcommand{\CTEX@figurename}{Figure} 112 \renewcommand{\CTEX@tablename}{Table} 113 \renewcommand{\glossaryname@uestcthesis}{Glossary} 114 \renewcommand{\entryname@uestcthesis}{Notation} 115 \renewcommand{\descriptionname@uestcthesis}{Description} 116 \renewcommand{\glspageheader@uestcthesis}{Page} 117 \renewcommand{\CTEX@appendixname}{Appendix~} 118 } 119 \DeclareOption{bachelor}{\bachelor@uestcthesis} 120 \DeclareOption{master}{\master@uestcthesis} 121 \DeclareOption{doctor}{\doctor@uestcthesis} 122 \DeclareOption{english}{\english@uestcthesis} 123 \ProcessOptions\relax 124 \RequirePackage[a4paper,headheight=12.65pt,headsep=4mm,includeheadfoot,centering, 125 top=2.75cm,left=3cm]{geometry} 126 \linespread{1.391} 127 \parskip=0bp plus 10bp minus 1bp 128 \raggedbottom 129 \RequirePackage{graphicx,calc,float,texnames} 130 \RequirePackage[format=hang,labelsep=space]{caption} 131 \intextsep=6bp 132 \captionsetup[figure]{aboveskip=0bp,belowskip=-7mm+6bp} 133 \captionsetup[table]{aboveskip=0bp,belowskip=0bp} 134 \RequirePackage{booktabs,tabularx,threeparttable,longtable} 135 \DeclareCaptionFont{capfont}{\zihao{5}} 136 \captionsetup{font=capfont} 137 \renewcommand{\thefigure}{\arabic{chapter}\textendash\arabic{figure}} 138 \renewcommand{\thetable}{\arabic{chapter}\textendash\arabic{table}} 139 \graphicspath{{pics/}} 140 \RequirePackage[below]{placeins} 141 \RequirePackage{flafter} 142 \newcommand{\newcmds@uestcthesis}{ 143 \newcommand{\pic}[4][htbp]{ 144 \begin{figure}[##1] 145 \centering 146 \includegraphics[##3]{##4} 147 \caption{##2} 148 \label{##4} 149 \end{figure} 150 } 151 \newcommand{\subpiclabel}{}%定义一个空的多图环境整体的标签变量 152 \newcommand{\subpiccaption}{}%定义一个空的多图环境整体的标题变量 153 \newenvironment{pics}[3][htbp]{%定义多图环境 154 \renewcommand{\subpiclabel}{##3}%设置多图环境整体的标签 155 \renewcommand{\subpiccaption}{##2}%设置多图环境整体的标题。这里先定义两个空变量,又设置值,是因为在定义一个环境时,环境结尾中不能调用##2,##3等传入的值。所以要在环境结尾中插入标题和标签就只能这么做了。 156 \begin{figure}[##1] 157 \centering} 158 {\caption{\subpiccaption} 159 \label{\subpiclabel} 160 \end{figure} 161 } 162 \newcommand{\addsubpic}[3]{ 163 \subfigure[##1]{\label{##3}\includegraphics[##2]{##3}} 164 } 165 \newcommand{\threelinetable}[8][htbp]{ 166 \begin{table}[##1] 167 \zihao{5}%管理规范中要求表格中文字为五号字。 168 \centering 169 \begin{threeparttable} 170 \caption{##5} 171 \label{##2} 172 \begin{tabularx}{##3}{##4} 173 \toprule[0.1em] 174 ##6 175 \midrule[0.05em] 176 ##7 177 \bottomrule[0.1em] 178 \end{tabularx} 179 \ifblank{##8}{}{ 180 \begin{tablenotes} 181 ##8 182 \end{tablenotes} 183 } 184 \end{threeparttable} 185 \end{table} 186 } 187 \newcommand{\longthreelinetable}[6]{ 188 { 189 \zihao{5}%管理规范中要求表格中文字为五号字。 190 \centering 191 \begin{longtable}{##4} 192 \caption{##2}\label{##1}\\ 193 \toprule[0.1em] 194 ##5 195 \midrule[0.05em] 196 \endfirsthead 197 \multicolumn{##3}{r}{\footnotesize 接上页}\\ 198 \toprule[0.1em] 199 ##5 200 \midrule[0.05em] 201 \endhead 202 \bottomrule[0.1em] 203 \multicolumn{##3}{r}{\footnotesize 接下页}\\ 204 \endfoot 205 \bottomrule[0.1em] 206 \endlastfoot 207 ##6 208 \end{longtable} 209 } 210 } 211 \newcommand{\pictable}[4][htbp]{ 212 \begin{table}[##1] 213 \centering 214 \caption{##2} 215 \label{##4} 216 \includegraphics[##3]{##4} 217 \end{table} 218 } 219 }%\newcmds@uestcthesis定义完毕 220 \newcommand{\mainmatterfancy}{ 221 \fancyhf{} 222 \fancyhead[OC]{\zihao{5}\leftmark}%奇数页居中打印章标题 223 \fancyhead[EC]{\zihao{5}\thesisname@degree}%偶数页居中打印论文全名 224 \fancyfoot[C]{\zihao{-5}\thepage}%页码位于页面底端,居中打印。 225 } 226 \newcommand{\Cabstractfancy}{% 227 \fancyhf{}% 228 \fancyhead[C]{\zihao{5}摘要}%页眉居中打印“摘要” 229 \fancyfoot[C]{\zihao{-5}\thepage}%页码位于页面底端,居中打印。 230 } 231 \newcommand{\Eabstractfancy}{ 232 \fancyhf{}% 233 \fancyhead[C]{\zihao{5}ABSTRACT}%页眉居中打印“ABSTRACT” 234 \fancyfoot[C]{\zihao{-5}\thepage}%页码位于页面底端,居中打印。 235 } 236 \newcommand{\tocmatterfancy}{ 237 \fancyhf{} 238 \fancyhead[C]{\tocname@uestcthesis}%页眉居中打印“目 录” 239 \fancyfoot[C]{\zihao{-5}\thepage}%页码位于页面底端,居中打印。 240 } 241 \newcommand{\glossarymatterfancy}{%定义主要符号表版式设置 242 \fancypagestyle{plain}{ 243 \fancyhf{} 244 \fancyhead[C]{\zihao{5}\glossaryname@uestcthesis}% 245 \fancyfoot[C]{\zihao{-5}\thepage}% 246 } 247 \renewcommand{\glossarypreamble}{% 248 \fancyhead[C]{\zihao{5}\glossaryname@uestcthesis}%页眉居中打印“主要符号表” 249 } 250 } 251 \newcommand{\Cabstractmatter}{ 252 \setcounter{page}{1}%页码重置为1 253 \pagenumbering{Roman}%页码使用大写罗马数字 254 \pagestyle{fancy} 255 \Cabstractfancy 256 \fancypagestyle{plain}{\Cabstractfancy} 257 } 258 \newcommand{\Eabstractmatter}{ 259 \pagestyle{fancy} 260 \Eabstractfancy 261 \fancypagestyle{plain}{\Eabstractfancy} 262 } 263 \newcommand{\tocmatter}{ 264 \pagestyle{fancy} 265 \tocmatterfancy 266 \fancypagestyle{plain}{\tocmatterfancy} 267 } 268 \renewcommand{\mainmatter}{ 269 \newpage 270 \setcounter{page}{1} 271 \pagenumbering{arabic} 272 \pagestyle{fancy} 273 \chaptermarkfix@uestcthesis %修正页眉章号显示不正确 274 \mainmatterfancy%设置正文的版式 275 \fancypagestyle{plain}{\mainmatterfancy} 276 } 277 \newcommand{\stuid}[1]{ 278 \newcommand{\@stuid}{#1} 279 } 280 \newcommand{\major}[1]{ 281 \newcommand{\@major}{#1} 282 } 283 \newcommand{\school}[1]{ 284 \newcommand{\@school}{#1} 285 } 286 \newcommand{\adviser}[3]{ 287 \newcommand{\@advisername}{#1}%姓名 288 \newcommand{\@advisertitle}{#2}%职称 289 \newcommand{\@adviserinstitution}{#3}%工作单位 290 } 291 \newcommand{\adviserB}[3]{ 292 \newcommand{\@adviserBname}{#1}%姓名 293 \newcommand{\@adviserBtitle}{#2}%职称 294 \newcommand{\@adviserBinstitution}{#3}%工作单位 295 } 296 \newcommand{\adviserC}[3]{ 297 \newcommand{\@adviserCname}{#1}%姓名 298 \newcommand{\@adviserCtitle}{#2}%职称 299 \newcommand{\@adviserCinstitution}{#3}%工作单位 300 } 301 \newcommand{\adviserD}[3]{ 302 \newcommand{\@adviserDname}{#1}%姓名 303 \newcommand{\@adviserDtitle}{#2}%职称 304 \newcommand{\@adviserDinstitution}{#3}%工作单位 305 } 306 \newcommand{\university}[1]{ 307 \newcommand{\@university}{#1} 308 } 309 \renewcommand{\date}[3]{ 310 \renewcommand{\@date}{#1年#2月#3日} 311 \newcommand{\@year}{#1}%用于pdf元信息 312 } 313 \newcommand{\oraldefensedate}[3]{ 314 \newcommand{\@oraldefensedate}{#1年#2月#3日} 315 } 316 \newcommand{\awarddate}[3]{ 317 \newcommand{\@awarddate}{#1年#2月#3日} 318 } 319 \newcommand{\classnumber}[1]{ 320 \newcommand{\@classnumber}{#1} 321 } 322 \newcommand{\securityclassification}[1]{ 323 \newcommand{\@securityclassification}{#1} 324 } 325 \newcommand{\UDC}[1]{ 326 \newcommand{\@UDC}{#1} 327 } 328 \newcommand{\chairman}[1]{ 329 \newcommand{\@chairman}{#1} 330 } 331 \newcommand{\appraiser}[1]{ 332 \newcommand{\@appraiser}{#1} 333 } 334 \newcommand{\englishtitle}[1]{ 335 \newcommand{\@englishtitle}{#1} 336 } 337 \newcommand{\englishmajor}[1]{ 338 \newcommand{\@englishmajor}{#1} 339 } 340 \newcommand{\englishauthor}[1]{ 341 \newcommand{\@englishauthor}{#1} 342 } 343 \newcommand{\englishadvisor}[1]{ 344 \newcommand{\@englishadvisor}{#1} 345 } 346 \newcommand{\englishshcool}[1]{ 347 \newcommand{\@englishshcool}{#1} 348 } 349 \begin{filecontents*}{logo.tex} 350 \documentclass[pstricks=true]{standalone} 351 \usepackage{pstricks} 352 353 \begin{document} 354 %%Creator: 0.48.3.1 355 %%Please note this file requires PSTricks extensions 356 \psset{xunit=.5pt,yunit=.5pt,runit=.5pt} 357 \begin{pspicture}(11072.75488281,3090.08740234) 358 { 359 \newrgbcolor{curcolor}{0.17254902 0.17254902 0.16862746} 360 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor] 361 此处省略N行 362 \end{pspicture} 363 364 \end{document} 365 \end{filecontents*} 366 367 % \immediate\write18{latex logo}% 368 % \immediate\write18{dvips logo}% 369 % \IfFileExists{logo.dvi}{ 370 % \immediate\write18{ps2pdf logo.ps}% 371 % }{} 372 \newcommand{\uestclogo}{ 373 \IfFileExists{tmp.pdf}{\includegraphics[width=5cm]{tmp.pdf}}{ 374 {\zihao{6}此文档不是用正确编译脚本生成的。请用compile.bat或compile.sh生成才能保证编译结果完全正确,包括此处的LOGO。 375 如果您是从MikTeX或CTAN.org处得到的此模板,请访问\url{https://github.com/shifujun/UESTCthesis}获取最新版本和相应的编译脚本。} 376 } 377 } 378 \newcommand{\uestclogobadge}{ 379 \IfFileExists{logo.pdf}{\includegraphics*[height=5cm,trim=0 0 140cm 0]{logo.pdf}}{ 380 {\zihao{6}此文档不是用正确编译脚本生成的。请用compile.bat或compile.sh生成才能保证编译结果完全正确,包括此处的LOGO。 381 如果您是从MikTeX或CTAN.org处得到的此模板,请访问\url{https://github.com/shifujun/UESTCthesis}获取最新版本和相应的编译脚本。} 382 } 383 } 384 \ifdefstring{\degree@uestcthesis}{bachelor}{ 385 \renewcommand{\bachelortitlepage@uestcthesis}{ 386 \renewcommand{\maketitle}{ 387 \begin{titlepage} 388 \begin{center} 389 \zihao{3} 390 \uestclogo\\ 391 \vspace{1cm} 392 \resizebox{!}{1cm}{\zihao{0} 天\hspace{0.30em}线\hspace{0.30em}领\hspace{0.30em}域\hspace{0.30em}的\hspace{0.30em}一\hspace{0.30em}名\hspace{0.30em}小\hspace{0.30em}学\hspace{0.30em}生}\\[3mm] 393 {\bf TECHNOLOGICAL BLOGS}\\[1cm] 394 \renewcommand{\ULthickness}{0.8pt} 395 \renewcommand{\CJKunderlinecolor}{\color{black}} 396 \linespread{1.25} 397 \noindent 398 \parbox[t][14ex][t]{\linewidth}{\centering 399 {\heiti\zihao{3} 题目}\zihao{3}{\uline{\@title}} 400 }\\[3mm] 401 \linespread{1.391} 402 \renewcommand{\ULthickness}{0.4pt} 403 {\zihao{3}姓名~}\makebox[20em][c]{\uline{\hfill\@author\hfill}}\\[5mm] 404 %%{\zihao{3}学\qquad 号~}\makebox[20em][c]{\uline{\hfill\@stuid\hfill}}\\[5mm] 405 %%{\zihao{3}专\qquad 业~}\makebox[20em][c]{\uline{\hfill\@major\hfill}}\\[5mm] 406 %%{\zihao{3}学\qquad 院~}\makebox[20em][c]{\uline{\hfill\@school\hfill}}\\[5mm] 407 {\zihao{3}博客地址~}\makebox[20em][c]{\uline{\hfill\@advisername\hfill}}\\[5mm] 408 {\zihao{3}邮箱~}\makebox[20em][c]{\uline{\hfill\@university\hfill}}\\[5mm] 409 {\zihao{3}\@date} 410 \end{center} 411 \end{titlepage}}}}{} 412 \ifdefstring{\degree@uestcthesis}{master}{ 413 \renewcommand{\mastertitlepage@uestcthesis}{ 414 \renewcommand{\maketitle}{%定义封面的格式 415 \begin{titlepage} 416 \begin{center} 417 {\zihao{2}电\enspace{}子\enspace{}科\enspace{}技\enspace{}大\enspace{}学}\\ 418 {\zihao{-4}UNIVERSITY OF ELECTRONIC SCIENCE AND TECHNOLOGY OF CHINA}\\ 419 ~\\ 420 ~\\ 421 {\zihao{0}硕士学位论文}\\[12bp] 422 {\bf\zihao{3}MASTER THESIS}\\[2cm] 423 \uestclogobadge\\[2cm] 424 \renewcommand{\ULthickness}{0.8pt} 425 \renewcommand{\CJKunderlinecolor}{\color{black}} 426 \linespread{1.25} 427 \noindent 428 \parbox[t][14ex][t]{\linewidth}{\centering 429 {\zihao{-2} 论文题目~~}{\zihao{3}\uline{\@title}} 430 }\\[3mm] 431 \linespread{1.391} 432 \renewcommand{\ULthickness}{0.4pt} 433 {\zihao{3}~}\\ 434 {\zihao{3}学科专业~}\makebox[20em][c]{\zihao{3}\uline{\hfill\@major\hfill}}\\[5mm] 435 {\zihao{3}学\qquad 号~}\makebox[20em][c]{\zihao{3}\uline{\hfill\@stuid\hfill}}\\[5mm] 436 {\zihao{3}作者姓名~}\makebox[20em][c]{\zihao{3}\uline{\hfill\@author\hfill}}\\[5mm] 437 {\zihao{3}指导教师~}\makebox[20em][c]{\zihao{3}\uline{\hfill\@advisername\hfill}}\\[5mm] 438 \end{center} 439 \newpage 440 \thispagestyle{empty} 441 \noindent 442 {\zihao{-4}分类号}\makebox[15em][l]{\zihao{-4}\uline{~~~\@classnumber\hfill}} 443 {\zihao{-4}密级}\makebox[15em][l]{\zihao{-4}\uline{~~~\@securityclassification\hfill}}\\ 444 {\zihao{-4}UDC\textsuperscript{注1}\!}\makebox[15em][l]{\zihao{-4}\uline{~~~\@UDC\hfill}}\\ 445 \begin{center} 446 {\zihao{-0}学\quad{}位\quad{}论\quad{}文}\\ 447 {\zihao{3}~}\\ 448 \makebox[\linewidth][c]{\zihao{3}\uline{\hfill\@title\hfill}}\\ 449 {\zihao{-4}(题名和副题名)}\\ 450 {\zihao{5}~}\\ 451 {\zihao{5}~}\\ 452 \makebox[10em][c]{\zihao{3}\uline{\hfill\@author\hfill}}\\ 453 {\zihao{-4}(作者姓名)}\\ 454 {\zihao{-4}~}\\ 455 {\zihao{5}~}\\ 456 {\zihao{-4}指导教师}\makebox[29em][c]{\zihao{-4}\uline{\hfill\@advisername 、\@advisertitle 、\@adviserinstitution \hfill}}\\[5bp] 457 {\zihao{-4}\qquad\qquad}\makebox[29em][c]{\zihao{-4}\uline{\hfill\ifthenelse{\isundefined{\@adviserBname}}{}{\@adviserBname 、\@adviserBtitle 、\@adviserBinstitution }\hfill}}\\[5bp] 458 {\zihao{-4}\qquad\qquad}\makebox[29em][c]{\zihao{-4}\uline{\hfill\ifthenelse{\isundefined{\@adviserCname}}{}{\@adviserBname 、\@adviserCtitle 、\@adviserCinstitution }\hfill}}\\[5bp] 459 {\zihao{-4}\qquad\qquad}\makebox[29em][c]{\zihao{-4}\uline{\hfill\ifthenelse{\isundefined{\@adviserDname}}{}{\@adviserBname 、\@adviserDtitle 、\@adviserDinstitution }\hfill}}\\[5bp] 460 {\zihao{-4}(姓名、职称、单位名称)}\\[8bp] 461 \end{center} 462 {\zihao{-4}申请学位级别}\makebox[10em][l]{\zihao{-4}\uline{\hfill\@degree\hfill}} 463 {\zihao{-4}学科专业}\makebox[15em][l]{\zihao{-4}\uline{\hfill\@major\hfill}}\\[13bp] 464 {\zihao{-4}提交论文日期}\makebox[10em][l]{\zihao{-4}\uline{\hfill\@date\hfill}} 465 {\zihao{-4}论文答辩日期}\makebox[13em][l]{\zihao{-4}\uline{\hfill\@oraldefensedate\hfill}}\\[13bp] 466 {\zihao{-4}学位授予单位和日期}\makebox[26em][l]{\zihao{3}\uline{\hfill 电子科技大学\hfill\@awarddate}}\\[13bp] 467 {\zihao{-4}答辩委员会主席}\makebox[16em][l]{\zihao{-4}\uline{\hfill\@chairman\hfill}}\\[13bp] 468 {\zihao{-4}评阅人}\makebox[32em][l]{\zihao{-4}\uline{\hfill\@appraiser\hfill}}\\ 469 \vfill 470 {\zihao{5}注1:注明《国际十进分类法UDC》的类号。} 471 \newpage 472 \thispagestyle{empty} 473 \begin{center} 474 {\zihao{-4}~}\\ 475 {\zihao{-4}~}\\ 476 {\zihao{-4}~}\\ 477 {\bf\zihao{-2}\@englishtitle}\\ 478 \vfill 479 {\zihao{-3}A Thesis Submitted to}\\[1ex] 480 {\zihao{-3}University of Electronic Science and Technology of China}\\ 481 \vspace{3cm} 482 \makebox[6em][r]{\zihao{4}Major:}\makebox[25em][l]{\zihao{4}\uline{\hfill\@englishmajor\hfill}}\\[1ex] 483 \makebox[6em][r]{\zihao{4}Author:}\makebox[25em][l]{\zihao{4}\uline{\hfill\@englishauthor\hfill}}\\[1ex] 484 \makebox[6em][r]{\zihao{4}Advisor:}\makebox[25em][l]{\zihao{4}\uline{\hfill\@englishadvisor\hfill}}\\[1ex] 485 \makebox[6em][r]{\zihao{4}School:}\makebox[25em][l]{\zihao{4}\uline{\hfill\@englishshcool\hfill}}\\[1ex] 486 \end{center} 487 \newpage 488 \thispagestyle{empty} 489 \linespread{1.5} 490 \begin{center} 491 {\bf\zihao{-2}独创性声明}\par 492 \end{center} 493 {\zihao{4}\qquad 本人声明所呈交的学位论文是本人在导师指导下进行的研究工作及取得的研究成果。据我所知,除了文中特别加以标注和致谢的地方外,论文中不包含其他人已经发表或撰写过的研究成果,也不包含为获得电子科技大学或其它教育机构的学位或证书而使用过的材料。与我一同工作的同志对本研究所做的任何贡献均已在论文中作了明确的说明并表示谢意。\par 494 ~\par 495 作者签名:\makebox[5em][l]{\uline{\hfill}}\hfill 496 日期:\qquad{}年\qquad{}月\qquad{}日 \par 497 ~\par 498 \begin{center} 499 {\bf\zihao{-2}论文使用授权}\par 500 \end{center} 501 {\zihao{4}\qquad 本学位论文作者完全了解电子科技大学有关保留、使用学位论文的规定,有权保留并向国家有关部门或机构送交论文的复印件和磁盘,允许论文被查阅和借阅。本人授权电子科技大学可以将学位论文的全部或部分内容编入有关数据库进行检索,可以采用影印、缩印或扫描等复制手段保存、汇编学位论文。\par 502 (保密的学位论文在解密后应遵守此规定) \par 503 ~\par 504 } 505 \qquad 作者签名:\makebox[5em][l]{\uline{\hfill}}\hfill 506 导师签名:\makebox[7em][l]{\uline{\hfill}}\par 507 \hfill 日期:\qquad{}年\qquad{}月\qquad{}日 \par 508 } 509 \linespread{1.391} 510 \end{titlepage}}}}{} 511 \ifdefstring{\degree@uestcthesis}{doctor}{ 512 \renewcommand{\doctortitlepage@uestcthesis}{ 513 \renewcommand{\maketitle}{%定义封面的格式 514 \begin{titlepage} 515 \begin{center} 516 {\zihao{2}电\enspace{}子\enspace{}科\enspace{}技\enspace{}大\enspace{}学}\\ 517 {\zihao{-4}UNIVERSITY OF ELECTRONIC SCIENCE AND TECHNOLOGY OF CHINA}\\ 518 ~\\ 519 ~\\ 520 {\zihao{0}博士学位论文}\\[12bp] 521 {\bf\zihao{3}DOCTORAL DISSERTATION}\\[2cm] 522 \uestclogobadge\\[2cm] 523 \renewcommand{\ULthickness}{0.8pt} 524 \renewcommand{\CJKunderlinecolor}{\color{black}} 525 \linespread{1.25} 526 \noindent 527 \parbox[t][14ex][t]{\linewidth}{\centering 528 {\zihao{-2} 论文题目~~}{\zihao{3}\uline{\@title}} 529 }\\[3mm] 530 \linespread{1.391} 531 \renewcommand{\ULthickness}{0.4pt} 532 {\zihao{3}~}\\ 533 {\zihao{3}学科专业~}\makebox[20em][c]{\zihao{3}\uline{\hfill\@major\hfill}}\\[5mm] 534 {\zihao{3}学\qquad 号~}\makebox[20em][c]{\zihao{3}\uline{\hfill\@stuid\hfill}}\\[5mm] 535 {\zihao{3}作者姓名~}\makebox[20em][c]{\zihao{3}\uline{\hfill\@author\hfill}}\\[5mm] 536 {\zihao{3}指导教师~}\makebox[20em][c]{\zihao{3}\uline{\hfill\@advisername\hfill}}\\[5mm] 537 \end{center} 538 \newpage 539 \thispagestyle{empty} 540 \noindent 541 {\zihao{-4}分类号}\makebox[15em][l]{\zihao{-4}\uline{~~~\@classnumber\hfill}} 542 {\zihao{-4}密级}\makebox[15em][l]{\zihao{-4}\uline{~~~\@securityclassification\hfill}}\\ 543 {\zihao{-4}UDC\textsuperscript{注1}\!}\makebox[15em][l]{\zihao{-4}\uline{~~~\@UDC\hfill}}\\ 544 \begin{center} 545 {\zihao{-0}学\quad{}位\quad{}论\quad{}文}\\ 546 {\zihao{3}~}\\ 547 \makebox[\linewidth][c]{\zihao{3}\uline{\hfill\@title\hfill}}\\ 548 {\zihao{-4}(题名和副题名)}\\ 549 {\zihao{5}~}\\ 550 {\zihao{5}~}\\ 551 \makebox[10em][c]{\zihao{3}\uline{\hfill\@author\hfill}}\\ 552 {\zihao{-4}(作者姓名)}\\ 553 {\zihao{-4}~}\\ 554 {\zihao{5}~}\\ 555 {\zihao{-4}指导教师}\makebox[29em][c]{\zihao{-4}\uline{\hfill\@advisername 、\@advisertitle 、\@adviserinstitution \hfill}}\\[5bp] 556 {\zihao{-4}\qquad\qquad}\makebox[29em][c]{\zihao{-4}\uline{\hfill\ifthenelse{\isundefined{\@adviserBname}}{}{\@adviserBname 、\@adviserBtitle 、\@adviserBinstitution }\hfill}}\\[5bp] 557 {\zihao{-4}\qquad\qquad}\makebox[29em][c]{\zihao{-4}\uline{\hfill\ifthenelse{\isundefined{\@adviserCname}}{}{\@adviserBname 、\@adviserCtitle 、\@adviserCinstitution }\hfill}}\\[5bp] 558 {\zihao{-4}\qquad\qquad}\makebox[29em][c]{\zihao{-4}\uline{\hfill\ifthenelse{\isundefined{\@adviserDname}}{}{\@adviserBname 、\@adviserDtitle 、\@adviserDinstitution }\hfill}}\\[5bp] 559 {\zihao{-4}(姓名、职称、单位名称)}\\[8bp] 560 \end{center} 561 {\zihao{-4}申请学位级别}\makebox[10em][l]{\zihao{-4}\uline{\hfill\@degree\hfill}} 562 {\zihao{-4}学科专业}\makebox[15em][l]{\zihao{-4}\uline{\hfill\@major\hfill}}\\[13bp] 563 {\zihao{-4}提交论文日期}\makebox[10em][l]{\zihao{-4}\uline{\hfill\@date\hfill}} 564 {\zihao{-4}论文答辩日期}\makebox[13em][l]{\zihao{-4}\uline{\hfill\@oraldefensedate\hfill}}\\[13bp] 565 {\zihao{-4}学位授予单位和日期}\makebox[26em][l]{\zihao{3}\uline{\hfill 电子科技大学\hfill\@awarddate}}\\[13bp] 566 {\zihao{-4}答辩委员会主席}\makebox[16em][l]{\zihao{-4}\uline{\hfill\@chairman\hfill}}\\[13bp] 567 {\zihao{-4}评阅人}\makebox[32em][l]{\zihao{-4}\uline{\hfill\@appraiser\hfill}}\\ 568 \vfill 569 {\zihao{5}注1:注明《国际十进分类法UDC》的类号。} 570 \newpage 571 \thispagestyle{empty} 572 \begin{center} 573 {\zihao{-4}~}\\ 574 {\zihao{-4}~}\\ 575 {\zihao{-4}~}\\ 576 {\bf\zihao{-2}\@englishtitle}\\ 577 \vfill 578 {\zihao{-3}A Doctor Dissertation Submitted to}\\[1ex] 579 {\zihao{-3}University of Electronic Science and Technology of China}\\ 580 \vspace{3cm} 581 \makebox[6em][r]{\zihao{4}Major:}\makebox[25em][l]{\zihao{4}\uline{\hfill\@englishmajor\hfill}}\\[1ex] 582 \makebox[6em][r]{\zihao{4}Author:}\makebox[25em][l]{\zihao{4}\uline{\hfill\@englishauthor\hfill}}\\[1ex] 583 \makebox[6em][r]{\zihao{4}Advisor:}\makebox[25em][l]{\zihao{4}\uline{\hfill\@englishadvisor\hfill}}\\[1ex] 584 \makebox[6em][r]{\zihao{4}School:}\makebox[25em][l]{\zihao{4}\uline{\hfill\@englishshcool\hfill}}\\[1ex] 585 \end{center} 586 \newpage 587 \thispagestyle{empty} 588 \linespread{1.5} 589 \begin{center} 590 {\bf\zihao{-2}独创性声明}\par 591 \end{center} 592 {\zihao{4}\qquad 本人声明所呈交的学位论文是本人在导师指导下进行的研究工作及取得的研究成果。据我所知,除了文中特别加以标注和致谢的地方外,论文中不包含其他人已经发表或撰写过的研究成果,也不包含为获得电子科技大学或其它教育机构的学位或证书而使用过的材料。与我一同工作的同志对本研究所做的任何贡献均已在论文中作了明确的说明并表示谢意。\par 593 ~\par 594 作者签名:\makebox[5em][l]{\uline{\hfill}}\hfill 595 日期:\qquad{}年\qquad{}月\qquad{}日 \par 596 ~\par 597 \begin{center} 598 {\bf\zihao{-2}论文使用授权}\par 599 \end{center} 600 {\zihao{4}\qquad 本学位论文作者完全了解电子科技大学有关保留、使用学位论文的规定,有权保留并向国家有关部门或机构送交论文的复印件和磁盘,允许论文被查阅和借阅。本人授权电子科技大学可以将学位论文的全部或部分内容编入有关数据库进行检索,可以采用影印、缩印或扫描等复制手段保存、汇编学位论文。\par 601 (保密的学位论文在解密后应遵守此规定) \par 602 ~\par 603 } 604 \qquad 作者签名:\makebox[5em][l]{\uline{\hfill}}\hfill 605 导师签名:\makebox[7em][l]{\uline{\hfill}}\par 606 \hfill 日期:\qquad{}年\qquad{}月\qquad{}日 \par 607 } 608 \linespread{1.391} 609 \end{titlepage}}}}{} 610 \titlepage@degree 611 \setcounter{secnumdepth}{3} 612 \chaptername@uestcthesis 613 \CTEXsetup[ nameformat={}, 614 numberformat={}, 615 titleformat={}, 616 aftername={~}, 617 beforeskip={2mm},%章标题段前30磅,这里2mm是由于实际效果与MS WORD有差异而微调出的。具体测量的是页眉线到章标题文字上边的距离。 618 afterskip={30bp plus 6bp minus 6bp},%章标题段后30磅。 619 format={\heiti\zihao{-3}\centering}, 620 ]{chapter} 621 \CTEXsetup[ aftername={~}, 622 beforeskip={18bp}, 623 afterskip={18bp plus 3.6bp minus 3.6bp}, 624 format={\heiti\zihao{4}\flushleft}]{section} 625 \CTEXsetup[ aftername={~}, 626 beforeskip={12bp}, 627 afterskip={12bp plus 2.4bp minus 2.4bp}, 628 format={\heiti\zihao{4}\flushleft}]{subsection} 629 \CTEXsetup[ aftername={~}, 630 beforeskip={6bp}, 631 afterskip={6bp plus 1.2bp minus 1.2bp}, 632 format={\heiti\zihao{-4}\flushleft}]{subsubsection} 633 \newenvironment{Cabstract}[5]{ 634 \newcommand{\@ckeywords}{ 635 \ifthenelse{\equal{#1}{}}{必选关键词}{#1}% 636 \ifthenelse{\equal{#2}{}}{必选关键词}{,#2}% 637 \ifthenelse{\equal{#3}{}}{必选关键词}{,#3}% 638 \ifthenelse{\equal{#4}{}}{}{,#4}% 639 \ifthenelse{\equal{#5}{}}{}{,#5}% 640 } 641 \ifthenelse{\equal{#5}{}}{ 642 \ifthenelse{\equal{#4}{}}{ 643 \ifthenelse{\equal{#3}{}}{ 644 \def\@pdfckeywords{#1, #2, 关键字应3-5个} 645 }{\def\@pdfckeywords{#1, #2, #3}} 646 }{\def\@pdfckeywords{#1, #2, #3, #4}} 647 }{\def\@pdfckeywords{#1, #2, #3, #4, #5}} 648 \hypersetup{% 649 pdfkeywords={\@pdfckeywords}%在pdf元信息中加入关键字 650 } 651 \chapter*{摘要}%插入不带章号的摘要 652 } 653 {\\[3mm]%摘要后换行空出3mm 654 {\heiti 关键词:}\@ckeywords%插入关键词 655 } 656 \newenvironment{Eabstract}[5]{ 657 \newcommand{\@ekeywords}{ 658 \ifthenelse{\equal{#1}{}}{必选关键词}{#1}% 659 \ifthenelse{\equal{#2}{}}{必选关键词}{, #2}% 660 \ifthenelse{\equal{#3}{}}{必选关键词}{, #3}% 661 \ifthenelse{\equal{#4}{}}{}{, #4}% 662 \ifthenelse{\equal{#5}{}}{}{, #5}% 663 } 664 \Eabstractmatter%设置英文摘要版式 665 %%\chapter*{ABSTRACT}%插入不带章号的ABSTRACT 666 } 667 {\\[3mm]%摘要后换行空出3mm 668 {\heiti Keywords:}\@ekeywords%插入关键词 669 } 670 \CTEXoptions[contentsname={\protect\heiti\protect\zihao{-3}目\enspace 录}] 671 \setcounter{tocdepth}{3} 672 \def\@dotsep{2} 673 \def\l@chapter#1#2{\ifnum 0>\c@tocdepth \else \vskip \z@ \@plus .2\p@ {\leftskip 674 0em\relax \rightskip \@tocrmarg \parfillskip -\rightskip \parindent 0em\relax 675 \@afterindenttrue \interlinepenalty \@M \leavevmode \@tempdima 1em\relax \advance 676 \leftskip \@tempdima \null \nobreak \hskip -\leftskip {\heiti #1}\nobreak \leaders 677 \hbox {$\m@th \mkern \@dotsep mu\hbox {.}\mkern \@dotsep mu$}\hfill \nobreak 678 \hb@xt@ \@pnumwidth {\hfil \normalfont \normalcolor #2}\par }\fi} 679 \ifdefstring{\degree@uestcthesis}{bachelor}{ 680 \renewcommand*\l@section{\@dottedtocline{1}{1em}{1em}} 681 \renewcommand*\l@subsection{\@dottedtocline{2}{2em}{1em}} 682 \renewcommand*\l@subsubsection{\@dottedtocline{3}{3em}{1em}} 683 }{ 684 \renewcommand*\l@section{\@dottedtocline{1}{2em}{1em}} 685 \renewcommand*\l@subsection{\@dottedtocline{2}{4em}{1em}} 686 \renewcommand*\l@subsubsection{\@dottedtocline{3}{6em}{1em}} 687 } 688 \RequirePackage{amsmath,kmath} 689 \renewcommand{\theequation}{\arabic{chapter}\textendash\arabic{equation}} 690 \RequirePackage[amsmath,thmmarks]{ntheorem} 691 \theorembodyfont{\normalfont}%字体 692 \theoremheaderfont{\normalfont \bfseries \hspace*{2em}}%设置缩进 693 \theoremseparator{\enskip}%分隔符是一个空格 694 \theoremsymbol{}%定义环境结束符,下同 695 \newtheorem{dingyi}{定义}[section] 696 \def\enddingyi{\quad\@endtheorem}%修正环境中最后一个字符不是英文字符时,不显示结束符的BUG。下同。 697 \theoremsymbol{} 698 \newtheorem{gongli}{公理}[section] 699 \def\endgongli{\quad\@endtheorem} 700 \theoremsymbol{} 701 \newtheorem{dingli}{定理}[section] 702 \def\enddingli{\quad\@endtheorem} 703 \theoremsymbol{} 704 \newtheorem{yinli}{引理}[section] 705 \def\endyinli{\quad\@endtheorem} 706 \theoremstyle{nonumberplain} 707 \theoremsymbol{} 708 \newtheorem{zhengming}{证明} 709 \def\endzhengming{\quad\@endtheorem} 710 \RequirePackage[numbers,sort&compress]{natbib} 711 712 \newcommand{\citeup}[1]{\textsuperscript{\cite{#1}}} 713 \ifblank{\multibibflag@uestcthesis}{}{ 714 \RequirePackage[resetlabels]{multibib} 715 \newcites{publications}{NULL} 716 \bibliographystylepublications{uestcthesis} 717 \nocitepublications{*} 718 \def\bibliographypublications#1{\let \temp@auxout \@auxout \let \addtocontents 719 \mb@addtocontents \let \@auxout \@auxoutpublications \let \jobname 720 \@auxoutpublicationsname \bibliography {#1}} 721 } 722 \RequirePackage{cmap}%pdflatex编译时,可以生成可复制、粘贴的中文PDF文档 723 \RequirePackage{hyperxmp}%在pdf中加入XMP高级元信息 724 \RequirePackage[pdftex,unicode, 725 bookmarksnumbered=true, 726 bookmarksopen=true, 727 colorlinks=false, 728 pdfborder={0 0 1}, 729 citecolor=blue, 730 linkcolor=red, 731 anchorcolor=green, 732 urlcolor=blue, 733 breaklinks=true, 734 pdfdisplaydoctitle=true 735 ]{hyperref} 736 \input{contents/titlepage.tex}%pdf元信息中需要封面的部分内容,所以在此处导入封面信息 737 \hypersetup{% 738 pdftitle={\@title}, 739 pdfauthor={\@author}, 740 pdfcopyright={Copyright (C) \@year, \@author}, 741 pdfsubject={\thesisname@degree}, 742 pdflicenseurl={http://121.49.98.197/tasi/doc/fj_dcx.doc}, 743 pdfcreator={PDFLaTeX with uestcthesis class}, 744 pdflang={zh-CN}, 745 pdfpagelayout={TwoPageRight} 746 } 747 \RequirePackage[small]{subfigure} 748 \RequirePackage{enumerate} 749 \newskip\@topsepadd@uestcthesis 750 \def\@trivlist@uestcthesis{\if@noskipsec \leavevmode \fi \@topsepadd@uestcthesis \topsep \ifvmode \advance \@topsepadd \partopsep \else \unskip \par \fi \if@inlabel \@noparitemtrue \@noparlisttrue \else \if@newlist \@noitemerr \fi \@noparlistfalse \@topsep \@topsepadd \fi \advance \@topsep \parskip \leftskip \z@skip \rightskip \@rightskip \parfillskip \@flushglue \par@deathcycles \z@ \@setpar {\if@newlist \advance \par@deathcycles \@ne \ifnum \par@deathcycles >\@m \@noitemerr {\@@par }\fi \else {\@@par }\fi }\global \@newlisttrue \@outerparskip \parskip } 751 752 \def\list@uestcthesis#1#2{\ifnum \@listdepth >5\relax \@toodeep \else \global \advance \@listdepth \@ne \fi \rightmargin \z@ \listparindent \z@ \itemindent \z@ \csname @list\romannumeral \the \@listdepth \endcsname \def \@itemlabel {#1}\let \makelabel \@mklab \@nmbrlistfalse #2\relax \@trivlist@uestcthesis \parskip \parsep \parindent \listparindent \advance \linewidth -\rightmargin \advance \linewidth -\leftmargin \advance \@totalleftmargin \leftmargin \parshape \@ne \@totalleftmargin \linewidth \ignorespaces } 753 754 \def\@enum@{\list@uestcthesis {\csname label\@enumctr \endcsname }{\usecounter {\@enumctr }\def \makelabel ##1{\hss \llap {##1}}}} 755 756 \def\enumerate{% 757 \ifnum \@enumdepth >3 \@toodeep\else 758 \advance\@enumdepth \@ne 759 \edef\@enumctr{enum\romannumeral\the\@enumdepth}\fi 760 \@ifnextchar[{\@@enum@}{\@enum@} 761 \parsep=0pt 762 \itemsep=0pt 763 \parskip=0pt 764 \partopsep=0pt 765 \topsep=0pt 766 } 767 \RequirePackage{color,marvosym} 768 \DeclareOldFontCommand{\txttbf}{\ttfamily\bfseries}{\mathbf} 769 \providecommand{\hlstd}[1]{\textcolor[rgb]{0,0,0}{#1}} 770 \providecommand{\hlnum}[1]{\textcolor[rgb]{0,0,0}{#1}} 771 \providecommand{\hlesc}[1]{\textcolor[rgb]{0,0,0}{#1}} 772 \providecommand{\hlstr}[1]{\textcolor[rgb]{0,0,0}{#1}} 773 \providecommand{\hlpps}[1]{\textcolor[rgb]{0,0,0}{#1}} 774 \providecommand{\hlslc}[1]{\textcolor[rgb]{0.4,0.4,0.4}{{#1}}} 775 \providecommand{\hlcom}[1]{\textcolor[rgb]{0.4,0.4,0.4}{{#1}}} 776 \providecommand{\hlppc}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}} 777 \providecommand{\hlopt}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}} 778 \providecommand{\hlipl}[1]{\textcolor[rgb]{0,0,0}{#1}} 779 \providecommand{\hllin}[1]{\textcolor[rgb]{0.53,0.53,0.53}{#1}} 780 \providecommand{\hlkwa}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}} 781 \providecommand{\hlkwb}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}} 782 \providecommand{\hlkwc}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}} 783 \providecommand{\hlkwd}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}} 784 \definecolor{bgcolor}{rgb}{1,1,1} 785 \RequirePackage[header,cols=3,hyper=true]{glossary} 786 \makeglossary 787 \renewcommand{\glossaryname}{\glossaryname@uestcthesis} 788 \renewcommand{\entryname}{\entryname@uestcthesis} 789 \renewcommand{\descriptionname}{\descriptionname@uestcthesis} 790 \renewcommand{\glspageheader}{\glspageheader@uestcthesis} 791 \newcommand{\ifusingglossary}{} 792 \newcommand{\fuhao}[3]{ 793 \glossary{name={#1},description={#2},sort=#3} 794 \renewcommand{\ifusingglossary}{true}%设置使用主要符号表 795 } 796 797 \AtBeginDocument{%插入到论文内容的最前面。 798 \begin{CJK}{UTF8}{rm}%中文支持环境,此处内容不受ctexbook文类影响,所以必须手动加这个环境。 799 \maketitle%生成并插入封面 800 %%\clearpage{\pagestyle{empty}\cleardoublepage} 801 \Cabstractmatter%设置中文摘要版式 802 \include{contents/Cabstract}%插入中文摘要 803 %%\clearpage{\pagestyle{empty}\cleardoublepage} 804 %%\Eabstractmatter%设置英文摘要版式 805 %%\include{contents/Eabstract}%插入英文摘要 806 %%\clearpage{\pagestyle{empty}\cleardoublepage} 807 \tocmatter%目录版式 808 \tableofcontents%插入目录 809 \clearpage{\pagestyle{empty}\cleardoublepage}%目录之后另起一页,这样无论目录后有没有主要符号表,主要符号表的页眉设置命令都会应用到下一页。 810 %%\glossarymatterfancy%设置主要符号表版式。 811 %%\printglossary%插入主要符号表 812 %%\clearpage{\pagestyle{empty}\cleardoublepage} 813 %%\mainmatter%修正主要符号表版式,这里是受目录版式的影响,必须在此加入\mainmatter。 814 \end{CJK} 815 \mainmatter%正文区版式 816 \makeatletter 817 \newcmds@uestcthesis%自定义图表命令,这些命令必须在document环境里声明才能在正文中使用,所以只能放在这里了。 818 \makeatother 819 } 820 \newcommand{\insertacknowledgement}{ 821 \chapter*{\acknowledgementsname@uestcthesis}%用带星号的章命令插入不带章号的致谢。 822 \markboth{\acknowledgementsname@uestcthesis}{}%页眉设置 823 \phantomsection%手动添加目录项之前需要这个命令,用以更新目录超链接的跳转页码。 824 \addcontentsline{toc}{chapter}{\acknowledgementsname@uestcthesis}%将致谢编入目录 825 \input{contents/acknowledgements.tex}%插入致谢内容 826 } 827 \newcommand{\insertreference}{ 828 \bibliographystyle{uestcthesis} 829 \phantomsection%手动添加目录项之前需要这个命令,用以更新目录超链接的跳转页码。 830 \addcontentsline{toc}{chapter}{\CTEX@bibname}%将参考文献编入目录 831 \nocite{*}%若将此命令屏蔽掉,则未引用的文献不会出现在文后的参考文献列表中。 832 {\zihao{5} 833 \bibliography{contents/reference}%插入参考文献 834 } 835 } 836 \AtEndDocument{%插入到论文内容最后面。 837 \begin{CJK}{UTF8}{rm} 838 \ifdefstring{\degree@uestcthesis}{bachelor}{%检测是否为本科论文,调换参考文献与致谢的顺序 839 \insertreference 840 \newpage 841 \insertacknowledgement 842 }{ 843 \insertacknowledgement 844 \newpage 845 \insertreference 846 } 847 848 \appendix%附录版式 849 \renewcommand{\chaptermark}[1]{\markboth{\CTEX@appendixname\Alph{chapter}~ #1 }{}}%附录页眉设置 850 \input{contents/appendix.tex}%插入附录内容 851 \clearpage 852 \ifdefstring{\degree@uestcthesis}{bachelor}{ 853 854 \gdef\thechapter{\@arabic \c@chapter} 855 856 \CTEXsetup[ name={,}, 857 number={} 858 ]{chapter} 859 860 \setcounter{chapter}{0} 861 862 \def\Hy@org@chapter[#1]#2{% 863 \ifnum \c@secnumdepth >\m@ne \if@mainmatter \refstepcounter {chapter} 864 \typeout {\CTEXthechapter }\else \fi \else \fi \chaptermark {#1}\addtocontents{lof} 865 {\protect \addvspace {10\p@ }}\addtocontents {lot}{\protect \addvspace {10\p@ }} 866 \if@twocolumn \@topnewpage [\@makechapterhead {#2}] 867 \else 868 \@makechapterhead {#2} 869 \@afterheading \fi 870 } 871 872 \def\H@old@sect #1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth \let \@svsec \@empty 873 \else \refstepcounter {#1}\protected@edef \@svsec {\@seccntformat {#1}\relax }\fi 874 \@tempskipa #5\relax \ifdim \@tempskipa >\z@ \begingroup #6{\@hangfrom {\hskip #3 875 \relax \@svsec }\interlinepenalty \@M \csname CTEX@#1@titleformat\endcsname #8 876 \@@par }\endgroup \csname #1mark\endcsname {#7}\else \def \@svsechd 877 {#6{\hskip #3\relax \@svsec \csname CTEX@#1@titleformat\endcsname #8}\csname #1mark 878 \endcsname {#7}}\fi \@xsect {#5}} 879 880 %%\renewcommand{\chaptermark}[1]{\markboth{外文资料原文}{}} 881 %%\def\leftmark{外文资料原文} 882 %%\newpage 883 %%\phantomsection 884 %%\addcontentsline{toc}{chapter}{外文资料原文} 885 886 \renewcommand{\CTEX@figurename}{Figure} 887 \renewcommand{\CTEX@tablename}{Table} 888 889 %%\include{contents/original} 890 %%\newpage 891 %%\phantomsection 892 %%\addcontentsline{toc}{chapter}{外文资料译文} 893 %%\renewcommand{\chaptermark}[1]{\markboth{外文资料译文}{}} 894 %%\def\leftmark{外文资料译文} 895 896 \renewcommand{\CTEX@figurename}{图} 897 \renewcommand{\CTEX@tablename}{表} 898 899 \setcounter{chapter}{0} 900 901 %%\include{contents/translation} 902 } 903 { 904 \IfFileExists{contents/publications.bib}{%如果删除了publications.bib,则不显示这一章 905 \CTEXoptions[ bibname={\publicationsname@degree}]%设置攻博/硕期间发表的论文章题目 906 \phantomsection%手动添加目录项之前需要这个命令,用以更新目录超链接的跳转页码。 907 \addcontentsline{toc}{chapter}{\publicationsname@degree}%将攻博/硕期间发表的论文编入目录 908 {\zihao{5} 909 \bibliographypublications{contents/publications}%插入攻博/硕期间发表的论文 910 }}{}} 911 \clearpage\end{CJK}} 912 \endinput 913 %% 914 %% End of file `uestcthesis.cls'.
生成的内容如下