主要修改了原工程的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'.
生成的內容如下


















