├── main.pdf ├── figures ├── SWJTU_LOGO.pdf ├── SWJTU_LOGO.png └── QA │ └── Q151208_1_Yang.png ├── content ├── conclusion.tex ├── chap04.tex ├── chap03.tex ├── chap01.tex └── chap02.tex ├── appendix ├── appA.tex ├── myWork.tex └── remerciement.tex ├── preface ├── cabstract.tex ├── eabstract.tex ├── copyright.tex ├── statementDoctor.tex └── statementMaster.tex ├── .gitattributes ├── setup ├── type.tex ├── package.tex └── info.tex ├── swjtuThesis.cfg ├── main.tex ├── .gitignore ├── ref ├── refEx.bib └── chinesebst.bst └── swjtuThesis.cls /main.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Studio513/swjtuThesis/HEAD/main.pdf -------------------------------------------------------------------------------- /figures/SWJTU_LOGO.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Studio513/swjtuThesis/HEAD/figures/SWJTU_LOGO.pdf -------------------------------------------------------------------------------- /figures/SWJTU_LOGO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Studio513/swjtuThesis/HEAD/figures/SWJTU_LOGO.png -------------------------------------------------------------------------------- /figures/QA/Q151208_1_Yang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Studio513/swjtuThesis/HEAD/figures/QA/Q151208_1_Yang.png -------------------------------------------------------------------------------- /content/conclusion.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文:结论 3 | %--------------------------------------------------------------------------------- 4 | \chapter*{结\qquad{}论} 5 | \addcontentsline{toc}{chapter}{结论} 6 | 7 | 恭喜已经到达学位论文的结论部分! 8 | 9 | \par 10 | 祝贺您在推动人类科学发展的道路上又迈进了七十亿分之一。 -------------------------------------------------------------------------------- /appendix/appA.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文:附录A 3 | %--------------------------------------------------------------------------------- 4 | % 附录部分的可操作性很强,可以是部分测试数据、数学证明或者是个人简介,请根据需求修改 5 | \chapter*{附录~A} % 附录环节属于无编号章节 6 | \addcontentsline{toc}{chapter}{附录~A} % 定义字符串,把无编号章节加入目录中(如附录A) -------------------------------------------------------------------------------- /preface/cabstract.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文:中文摘要 3 | %--------------------------------------------------------------------------------- 4 | 5 | % 中文摘要输入区 6 | \cabstract 7 | { 8 | 这里是中文摘要输入区。 9 | 10 | 11 | 12 | } 13 | {关键词1;关键词2;关键词3;关键词4;关键词5} % 中文关键词输入区,关键词之间用“;”分开,不超过五个 -------------------------------------------------------------------------------- /preface/eabstract.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文:英文摘要 3 | %--------------------------------------------------------------------------------- 4 | 5 | % 英文摘要输入区 6 | \eabstract 7 | { 8 | Here is for you to write the English abstract. 9 | 10 | 11 | 12 | } 13 | {keyword1; keyword2; keyword3; keyword4; keyword5} % 英文关键词输入区,关键词之间用“; ”分开,不超过五个 -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | 4 | # Custom for Visual Studio 5 | *.cs diff=csharp 6 | 7 | # Standard to msysgit 8 | *.doc diff=astextplain 9 | *.DOC diff=astextplain 10 | *.docx diff=astextplain 11 | *.DOCX diff=astextplain 12 | *.dot diff=astextplain 13 | *.DOT diff=astextplain 14 | *.pdf diff=astextplain 15 | *.PDF diff=astextplain 16 | *.rtf diff=astextplain 17 | *.RTF diff=astextplain 18 | -------------------------------------------------------------------------------- /setup/type.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 判断学位论文类型(硕士学位or博士学位) 3 | %--------------------------------------------------------------------------------- 4 | 5 | % 请注意:本文件已经定义好需要使用的字符串,不建议用户更改。 6 | 7 | \newif\ifdegreedoctor 8 | \newif\ifdegreemaster 9 | 10 | \def\temp{Doctor} 11 | \ifx\temp\degree 12 | \degreedoctortrue \degreemasterfalse 13 | \fi 14 | 15 | \def\temp{Master} 16 | \ifx\temp\degree 17 | \degreedoctorfalse \degreemastertrue 18 | \fi 19 | 20 | \ifdegreedoctor 21 | \newcommand{\cDegree}{博士} 22 | \newcommand{\eDegree}{Doctor of } 23 | \fi 24 | 25 | \ifdegreemaster 26 | \newcommand{\cDegree}{硕士} 27 | \newcommand{\eDegree}{Master of } 28 | \fi -------------------------------------------------------------------------------- /preface/copyright.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文:版权使用授权书 3 | %--------------------------------------------------------------------------------- 4 | ~\vspace{3mm} 5 | \begin{center} 6 | \zihao{3} 7 | \textbf{\heiti{西南交通大学}} 8 | \\ 9 | \textbf{\heiti{学位论文版权使用授权书}} 10 | \end{center} 11 | 12 | \vspace{6mm} 13 | 本学位论文作者完全了解学校有关保留、使用学位论文的规定,同意学校保留并向国家有关部门或机构送交论文的复印件和电子版,允许论文被查阅和借阅。本人授权西南交通大学可以将本论文的全部或部分内容编入有关数据库进行检索,可以采用影印、缩印或扫描等复印手段保存和汇编本学位论文。\par 14 | 15 | \vspace{25mm} 16 | 17 | 本学位论文属于\par 18 | 1.保密\zihao{-3} \Square \zihao{-4},在\qquad 年解密后适用本授权书\par 19 | 2.不保密\zihao{-3} \Square \zihao{-4},使用本授权书。\par 20 | (请在以上方框内打“√”)\par 21 | 22 | \vspace{28mm} 23 | \begin{tabular}{r@{\extracolsep{11em}}r} 24 | {学位论文作者签名:} & {指导老师签名:} 25 | \\\\ 26 | {日期:} & {日期:} 27 | \end{tabular} 28 | -------------------------------------------------------------------------------- /setup/package.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 学位论文LaTeX模板使用宏包文件 3 | %--------------------------------------------------------------------------------- 4 | 5 | % 数学公式常用宏包(实现更多样的数学公式输入) 6 | \usepackage{amsmath} 7 | \usepackage{mathtools} 8 | \usepackage{wasysym} 9 | 10 | % 表格制作常用宏包(实现更多表格功能,比如不等线粗的三线表) 11 | \usepackage{multirow} 12 | \usepackage{booktabs} 13 | 14 | % 插入图片常用宏包(实现多种格式的调用) 15 | \usepackage{graphicx} 16 | 17 | % 图表题注格式宏包(实现《规范》要求的题注格式) 18 | \usepackage{caption} 19 | \captionsetup{labelformat=simple, labelsep=space, font=bf} 20 | 21 | % TeX系列标识的正确输入宏包(实现正确插入TeX相关的字符串) 22 | \usepackage{dtklogos} 23 | 24 | % 列表制作常用宏包(用于调用小间距列表) 25 | \usepackage{paralist} 26 | 27 | % 外框宏包 28 | \usepackage{framed} 29 | 30 | % 引用文献实[Ni-Ni+j]的宏包 31 | \usepackage{cite} 32 | 33 | % 英文采用Times New Rome字体(建议把这个宏包放在最后避免发生宏包冲突) 34 | \usepackage{fontspec} 35 | \setmainfont{Times New Roman} -------------------------------------------------------------------------------- /preface/statementDoctor.tex: -------------------------------------------------------------------------------- 1 | %------------------------------------------------------------------------------- 2 | % 西南交通大学博士学位论文创新性声明 3 | %------------------------------------------------------------------------------- 4 | \begin{center} 5 | \zihao{3} 6 | \heiti{西南交通大学博士学位论文创新性声明} 7 | \end{center} 8 | 9 | \vspace{7mm} 10 | 本人郑重声明:所呈交的学位论文,是在导师指导下独立进行研究工作所得的成果。除文中已经注明引用的内容外,本论文不包含任何其他个人或集体已经发表或撰写过的研究成果。对本文的研究做出贡献的个人和集体,均已在文中作了明确的说明。本人完全意识到本声明的法律结果由本人承担。\par 11 | 本学位论文的主要创新点如下: 12 | 13 | \par 14 | %=============================================================================== 15 | % 博士研究生撰写区 16 | (略)\par 17 | 18 | 19 | 20 | % 博士研究生撰写区(结束) 21 | %=============================================================================== 22 | 23 | 24 | \vspace{20mm} 25 | 26 | \begin{flushright} 27 | 学位论文作者签名:\qquad\qquad\qquad\qquad\qquad\qquad\qquad 28 | \\ 29 | \vspace{7mm} 30 | 日期:\qquad\qquad\qquad\qquad\qquad\qquad\qquad 31 | \end{flushright} -------------------------------------------------------------------------------- /preface/statementMaster.tex: -------------------------------------------------------------------------------- 1 | %------------------------------------------------------------------------------- 2 | % 西南交通大学硕士学位论文主要工作(贡献)声明 3 | %------------------------------------------------------------------------------- 4 | \begin{center} 5 | \zihao{3} 6 | \heiti{西南交通大学硕士学位论文主要工作(贡献)声明} 7 | \end{center} 8 | 9 | \vspace{5mm} 10 | 本人在学位论文中所做的主要工作或贡献如下:\par 11 | 12 | %=============================================================================== 13 | % 硕士研究生撰写区 14 | (略)\par 15 | 16 | 17 | 18 | % 硕士研究生撰写区(结束) 19 | %=============================================================================== 20 | 21 | 22 | \vspace{20mm} 23 | 本人郑重声明:所呈交的学位论文,是在导师指导下独立进行研究工作所得的成果。除文中已经注明引用的内容外,本论文不包含任何其他个人或集体已经发表或撰写过的研究成果。对本文的研究做出贡献的个人和集体,均已在文中作了明确说明。本人完全了解违反上述声明所引起的一切法律责任将由本人承担。 24 | 25 | \vspace{20mm} 26 | \begin{flushright} 27 | 学位论文作者签名:\qquad\qquad\qquad\qquad\qquad\qquad\qquad 28 | \\ 29 | \vspace{7mm} 30 | 日期:\qquad\qquad\qquad\qquad\qquad\qquad\qquad 31 | \end{flushright} -------------------------------------------------------------------------------- /appendix/myWork.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文:所取得的科研成果 3 | %--------------------------------------------------------------------------------- 4 | \chapter*{攻读\cDegree{}学位期间发表的论文及科研成果} 5 | \addcontentsline{toc}{chapter}{攻读\cDegree{}学位期间发表的论文及科研成果} 6 | 7 | \section*{1.~发表学术论文} 8 | \begin{publist} 9 | \item \textbf{姜维}, 诸葛亮, 赵云, 等. 基于战争大数据的九伐中原与六出祁山的战略决策分析[J]. 中国战争信息物理, 2015, 40(13): 520-530.(SCI~收录号: , IF=0.16) 10 | \item \textbf{姜维}, 诸葛亮, 刘禅, 等. 基于神经网络的子午谷奇谋仿真研究[J]. 战争仿真学报, 2015, 19(4): 324-330.(EI~收录号:) 11 | \item W. Jiang, G. L. Zhu. , et al. Improved $\mathcal{H}_\infty$ Robust Control Design for Mu-Niu-Liu-Ma System[C]. Intelligent System Design and Applications, Chengdu, 2015. EI~收录号:) 12 | \end{publist} 13 | 14 | \section*{2.~申请国家专利} 15 | \begin{publist} 16 | \item 诸葛亮, \textbf{姜维}. 一种木牛流马的制造方式及其使用方法. 中国, 20152006387.1[P]. xxxx-xx-xx. 17 | \end{publist} 18 | 19 | \section*{3.~参与科研项目} 20 | \begin{publist} 21 | \item \textbf{学生第一主研}, 高效粮食载运工具基础科学问题研究与样机研制, 蜀自然科学基金项目. 课题编号: XXXX. 22 | \end{publist} -------------------------------------------------------------------------------- /setup/info.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文基本信息 3 | %--------------------------------------------------------------------------------- 4 | 5 | % 论文信息 6 | % 定义申请学位 7 | % 请注意:博士学位候选人输入 Doctor,硕士学位候选人输入 Master 8 | \def\degree{Master} 9 | 10 | % 论文中文标题 11 | % 请注意:标题控制在36个汉字以内),其中用 \\ 实现标题换行,单行不得超过18个汉字。 12 | % \underline命令用于实现标题的下划线,请把标题输入在\underline命令的的{}中 13 | \cTitle{\underline{西南交通大学硕(博)士研究生} \\ \underline{学位论文~\LaTeX{}~模板}} 14 | 15 | % 论文英文标题(72个字符以内,包含空格) 16 | \eTitle{\LaTeX{}~Template of Southwest Jiaotong University Graduate Student Thesis} 17 | 18 | 19 | % 国内图书分类号 20 | \CI{TM30} 21 | % 国际图书分类号 22 | \UDC{621.3} 23 | % 保密等级 24 | \secLevel{公开} 25 | 26 | %---------------------------- 27 | % 学生信息 28 | % 中英文姓名 29 | \author{姜维} 30 | \eAuthor{JIANG Wei} 31 | 32 | % 年级 33 | \grade{2013} 34 | 35 | % 学科(工学、理学、社会学,etc) 36 | \cDiscipline{法学} 37 | \eDiscipline{Law} 38 | 39 | % 专业(10个汉字以内) 40 | % 请注意:对于超过10个汉字的专业,比如“防灾减灾工程及防护工程”,目前排版仍然不够美观,正在修正。 41 | % 也请相应专业的同学提供过往师兄的硕士论文以供参考。 42 | \cMajor{马克思主义基本原理} 43 | \eMajor{Fundamental Principle of Marxism} 44 | 45 | % 导师(10个汉字以内) 46 | % 请注意:导师姓名和导师的职称之间加上\hspace{0.1em}以增大间距,整体显得更为美观。 47 | \cTutor{诸葛亮 \hspace{0.1em} 教授/博导} 48 | \eTutor{Prof. ZHU Geliang} 49 | 50 | % 封面日期,依次为年,月,日 51 | \cDate{二〇一六}{五}{十三} 52 | \eDate{2016}{May}{13} -------------------------------------------------------------------------------- /appendix/remerciement.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文:致谢 3 | %--------------------------------------------------------------------------------- 4 | \chapter*{致\qquad{}谢} 5 | \addcontentsline{toc}{chapter}{致谢} 6 | 7 | 在西南交通大学研究生学位论文~\LaTeX{}~模板swjtuThesis的开发制作过程中,主要参考了以下的国内高校学位论文~\LaTeX{}~模板,在此对所有的模板作者表示由衷的感谢: 8 | \begin{compactitem} 9 | \item 中国科大学位论文通用~\LaTeX{}~模板(目前为数不多经过校方认证发布的模板)\footnote{下载地址:\url{http://gradschool.ustc.edu.cn/ylb/material/xw/wdxz.html}} 10 | \item 清华大学学位论文~\LaTeX{}~模板~thuthesis\footnote{下载地址:\url{https://github.com/xueruini/thuthesis}} 11 | \item 北京大学学位论文~\LaTeX{}~模板~pkuthss\footnote{下载地址:\url{https://github.com/CasperVector/pkuthss}} 12 | \item 浙江大学研究生硕士(博士)学位论文~\LaTeX{}~模板\footnote{下载地址:\url{https://github.com/ZJU-Awesome/write_with_LaTeX}} 13 | \item 哈工大硕博士毕业论文~\XeLaTeX{}~模版~PlutoThesis\footnote{下载地址:\url{https://github.com/dustincys/PlutoThesis/releases}} 14 | \item 南京理工大学学位论文~\LaTeX{}~模版\footnote{下载地址:\url{https://github.com/jiec827/njustThesis}} 15 | \item 北京交通大学毕设~\LaTeX{}~模板~bjtuThesis\footnote{下载地址:\url{https://github.com/chenzewei01/bjtuThesis}} 16 | \end{compactitem} 17 | 18 | \par 19 | 最后,感谢所有在swjtuThesis模板开发过程中予以了各种无私帮助的老师和同学。其中特别感谢:西南交通大学电气工程学院智能牵引供电团队胡海涛副教授在模板开发过程中提出的若干意见,博士研究生杨鸣凯对模板基于CTeX端的调试;交通运输与物流学院14级硕士研究生甘婧对模板存在的一些问题的指正;此外还有西南交通大学博士研究生冯玎、王玘、王湘、李勇,硕士研究生张佳怡等,在此一并感谢。 20 | 21 | \par 22 | 希望未来能有更多的同学加入学位论文文~\LaTeX{}~模板的开发和完善工作,推广~\LaTeX{}~在国内青年学生学者圈子中使用。 23 | 24 | \vspace{25mm} 25 | \begin{flushright} 26 | 原始作者:Limin HUANG \\ 27 | @ Studio0513 28 | \end{flushright} -------------------------------------------------------------------------------- /content/chap04.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文:第四章内容 3 | %--------------------------------------------------------------------------------- 4 | \chapter{结束语} 5 | 6 | 尽管~\LaTeX{}~作为一款优秀且高效的科学领域排版系统,在目前国内学术圈的应用却依然相对有限,国内提供~\LaTeX{}~模板的期刊文献或者是高校均寥寥无几,在这种的环境下通过完全基于~\LaTeX{}~进行研究生学位论文的撰写的确具有一定的难度和挑战,\textbf{而这种挑战却不仅仅是学生本人在使用~\LaTeX{}~进行排版过程中遇到的困难,而更在于学生完成学位论文之后和导师的讨论和修改环节}。尽管在技术上可以通过建立GitHub项目,通过和导师协同开发进行版本控制和管理代码,以实现Word中基本的修订功能,但毕竟~\LaTeX{}~作为一门应用于页面排版的标记语言,并不是特别适合在源代码上面进行对内容的大量交互修改。作者也结合自身的经历,在次提出以下几个解决办法: 7 | 8 | \par 9 | \textbf{1、先在Word中撰写学位论文,修改完成后再利用swjtuThesis进行排版}。不过既然已经在Word中做好了论文撰写和编辑工作,也就并不再需要使用swjtuThesis再次进行排版,这是一种效率低下的工作方式; 10 | 11 | \par 12 | \textbf{2、直接把源代码发送导师阅读并修改,或者依托GitHub建立版本控制}。这样的工作方式适合和已经熟练使用,或者也打算掌握~\LaTeX{}~的导师讨论,但是无论如何基于代码的修改效率依旧不高; 13 | 14 | \par 15 | \textbf{3、直接把编译生成的.pdf文件打印出来和导师讨论修改}。相对来说是目前最好的解决方式,其实学位论文最重要的也只是其中的内容,科学排版的工作做得更好也只是为学位论文增色的方式之一。 16 | 17 | \par 18 | \textbf{在本模板的最后,作者希望swjtuThesis能够帮助到更多的交大学生接触并入门~\LaTeX{}~语言,同时也能够掌握基本的~\LaTeX{}~排版方法,也希望老师们能够更多地对学生们好学的心情多予以帮助和理解。} 19 | 20 | \section{免责声明} 21 | 本模板,西南交通大学研究生学位论文~\LaTeX{}~模板swjtuThesis主要依据《西南交通大学研究生学位论文撰写规范》进行编写,鉴于目前本模板仍非最终的官方版本,\textbf{作者不保证用户采用本模板撰写输出的学位论文能够完全符合学校相关要求,潜在风险和由此产生的损失由用户独自承担}。 22 | 23 | \par 24 | 但是相对的,\textbf{作者会无条件地对在使用swjtuThesis过程中遇到技术问题的用户提供支持,也会无条件地持续对swjtuThesis进行开发和维护},直至最后取得校方认证,成为正式的西南交通大学研究生学位论文~\LaTeX{}~模板。 25 | 26 | 27 | \section{修改说明} 28 | 虽然目前swjtuThesis作为开源项目发布,但本模板作者Limin HUANG保留对所有开发阶段版本的版权。因此在本模板的开发过程中,\textbf{商业转载请联系作者获得授权,非商业转载请注明出处}。此举只为能够更为高效地开发完善swjtuThesis模板,最后作者在此作出承诺,\textbf{在swjtuThesis取得校方认证之后,作者将把最终正式版本的版权转让给学校}。 -------------------------------------------------------------------------------- /swjtuThesis.cfg: -------------------------------------------------------------------------------- 1 | 2 | %% start of file 'SWJTU_Thesis.cfg'. 3 | %% Copyright 2015 Limin HUANG(limin.huang@hotmail.com). 4 | %% 2015/01/30 v0.0, Begin of the projet, @Chengdu China 5 | %% 2015/12/07 v1.0, Release of the projet, @Grenoble, France 6 | 7 | \def\cover@CI{国内图书分类号:} 8 | \def\cover@UDC{国际图书分类号:} 9 | \def\cover@secLevel{密级:} 10 | \def\cover@eCI{Classified Index: } 11 | \def\cover@eUDC{U.D.C: } 12 | 13 | 14 | \def\cover@cSchool{西\hspace{0.2em}南\hspace{0.2em}交\hspace{0.2em}通\hspace{0.2em}大\hspace{0.2em}学} 15 | \def\cover@eSchool{Southwest Jiaotong University} 16 | \def\cover@cThesis{\hspace{0.3em}研\hspace{0.2em}究\hspace{0.2em}生\hspace{0.2em}学\hspace{0.2em}位\hspace{0.2em}论\hspace{0.2em}文} 17 | 18 | \def\cover@eThesisD{\hspace{0.5em}Doctor Degree Dissertation} 19 | \def\cover@eThesisM{\hspace{0.5em}Master Degree Thesis} 20 | 21 | \def\cover@grade{年\hspace{4em}级} 22 | \def\cover@author{姓\hspace{4em}名} 23 | \def\cover@cDiscipline{申请学位级别} 24 | \def\cover@cMajor{专\hspace{4em}业} 25 | \def\cover@cTutor{指\hspace{0.6666em}导\hspace{0.6666em}教\hspace{0.6666em}师} 26 | 27 | \def\cover@eGrade{Grade: } 28 | \def\cover@eAuthor{Candidate: } 29 | \def\cover@eDiscipline{Academic Degree Applied for: } 30 | \def\cover@eMajor{Specialty: } 31 | \def\cover@eTutor{Supervisor: } 32 | 33 | 34 | 35 | \def\other@cabstract{摘\qquad 要} 36 | \def\other@keywords{关键词:} 37 | 38 | 39 | \renewcommand{\contentsname}{目\qquad 录} 40 | \newcommand{\dateprint}[3]{ 41 | %\uline{\makebox[6em]{#1}}年\uline{\makebox[3em]{#2}}月\uline{\makebox[3em]{#3}}日 42 | {#1}年\hspace{0.3em}{#2}月\hspace{0.3em}{#3}日 43 | } 44 | \newcommand{\dateprintE}[3]{ 45 | %\uline{\makebox[6em]{#1}}年\uline{\makebox[3em]{#2}}月\uline{\makebox[3em]{#3}}日 46 | {#2} {#3}, {#1} 47 | } 48 | 49 | \endinput 50 | -------------------------------------------------------------------------------- /content/chap03.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文:第三章内容 3 | %--------------------------------------------------------------------------------- 4 | \chapter{模板答疑} 5 | 6 | \section{问题反馈} 7 | \label{sec:contact} 8 | 关于swjtuThisis模板的一切问题和建议,请发送邮件至\href{mailto:limin.huang@hotmail.com}{limin.huang@hotmail.com},本人将会及时处理并把重要的问题放入本章节中,供使用者参考。 9 | 10 | \section{问题回答} 11 | 本部分是一个将会持续更新的版块,主要在此罗列一些在使用本模板过程中遇到的问题反馈,同时给出作者的更新或者回答,以完善swjtuThisis模板,并供后续使用的同学进行参考。 12 | 13 | \subsection{模板问题} 14 | \begin{enumerate} 15 | \item[Q1:]为什么论文编译出来的.pdf文件中所有超链接都带有颜色? 16 | \item[A1:]方便调试的时候区分超链接和普通文本,在main.tex文件中可以修改,详情见代码注释。 17 | \item[Q2:]Windows端采用CTex发行版进行论文撰写,使用内置的WinEdt编辑器打开main.tex文件时出现如图\ref{Q151208_1_Yang}所示的报错问题。(\textbf{问题来源}:西南交通大学电气学院杨鸣凯博士,15年12月8日) 18 | \begin{figure}[htbp] 19 | \centering 20 | \includegraphics[width=4in]{figures/QA/Q151208_1_Yang.png} 21 | \caption{WinEdt打开main.tex报错} 22 | \label{Q151208_1_Yang} 23 | \end{figure} 24 | \item[A2:]本问题是由WinEdt编辑器内部的打开编码与模板编码不统一导致。由于swjtuThesis模板本身以及所使用的~\BibTeX{}~参考文献库均采用的是UTF-8编码。\textbf{解决办法}:在WinEdt中:点击\verb|File - Open|,然后找到main.tex文件,在右下角的编码选择处选择UTF-8,打开即可。 25 | \item[Q3:] 26 | \item[A3:] 27 | \end{enumerate} 28 | 29 | \subsection{排版问题} 30 | \begin{enumerate} 31 | \item[Q1:]如何实现博士学位论文的页码单双页左右混合显示? 32 | \item[A1:]其实这是一个\textbf{单面打印}和\textbf{双面打印}功能的定义。由于swjtuThesis只采用了单一样式文件swjtuThesis.cls实现模板建立(减少模板复杂程度),针对硕士和博士的格式区分是通过引入判断字符串实现的,因为加载样式出现在判断学位种类之前,而单面打印和双面打印需要在加载样式的时候同时进行定义,因此无法通过模板自动实现此项功能。\textbf{解决办法}:如果是博士研究生,请于主文件main.tex中,修改\verb|\documentclass[oneside,openany]{swjtuThesis}|中的oneside为twoside即可手动实现双面打印功能。 33 | \item[Q2:] 34 | \item[A2:] 35 | \end{enumerate} 36 | 37 | \subsection{其它问题} 38 | \begin{enumerate} 39 | \item[Q1:]为什么标题页面中论文的日期是五月十三日? 40 | \item[A1:]纯属作者的私人原因,可以根据自己需求在info.tex文件中进行修改。 41 | \item[Q2:] 42 | \item[A2:] 43 | \end{enumerate} 44 | -------------------------------------------------------------------------------- /main.tex: -------------------------------------------------------------------------------- 1 | %================================================================================= 2 | % 西南交通大学研究生学位论文LaTeX模板 3 | %================================================================================= 4 | 5 | % 使用全局样式swjtuThesis,大部分的模板格式均在样式文件中定义完成 6 | \documentclass[oneside,openany]{swjtuThesis} 7 | 8 | % 超链接颜色设置(调试时候使用,方便区分文本和超链接) 9 | \hypersetup{colorlinks,linkcolor=red,citecolor=green,urlcolor=magenta} 10 | 11 | % 加载信息 12 | \input{setup/info} % 加载论文信息 13 | \input{setup/type} % 区分硕博类型(模板自动区分) 14 | \input{setup/package} % 加载使用宏包 15 | 16 | 17 | \begin{document} 18 | 19 | %--------------------------------------------------------------------------------- 20 | % 封面生成(包括中、英文封面、版权协议以及硕(博)士主要工作简述) 21 | \makecover 22 | 23 | % 论文前言(包括中、英文摘要及目录,页码为罗马数字,在研究生论文目录中不显示摘要) 24 | \frontmatter 25 | \pagenumbering{Roman} 26 | \thesispagestyle{-4}{西南交通大学\cDegree{}研究生学位论文}{第~\thepage~页} % 页眉设置 27 | 28 | % 加载中文摘要 29 | \include{preface/cabstract} 30 | 31 | % 加载英文摘要 32 | \include{preface/eabstract} 33 | 34 | % 目录生成 35 | \tableofcontents 36 | 37 | %--------------------------------------------------------------------------------- 38 | % 学位论文正文(包含各章节内容和结论,页码为阿拉伯数字) 39 | \mainmatter 40 | \thesispagestyle{-4}{西南交通大学\cDegree{}研究生学位论文}{第~\thepage~页} % 页眉设置 41 | 42 | % 加载论文正文(第1章 - 第N章、结论) 43 | % 目前共有四个章节文件,用户可以自行在content/:文件夹中添加chap0X.tex文件 44 | \include{content/chap01} 45 | \include{content/chap02} 46 | \include{content/chap03} 47 | \include{content/chap04} 48 | 49 | % 加载论文结论 50 | \include{content/conclusion} 51 | 52 | %--------------------------------------------------------------------------------- 53 | % 论文附录(包括致谢、参考文献、证明、工作列表) 54 | 55 | % 加载致谢文件 56 | \include{appendix/remerciement} 57 | 58 | % 加载参考文献 59 | \bibliographystyle{ref/chinesebst} % 定义参考文献列表格式,参考国标文件GB/T 7714-2015制作 60 | \bibliography{ref/refEx} % 加入参考文献的.bib库,可自行建立替换,refEx为示范文件 61 | \addcontentsline{toc}{chapter}{参考文献} 62 | 63 | % 加载附录文件和个人工作列表 64 | \include{appendix/appA} % 非必要章节,主要用以放置测试数据、数学证明或者个人简介 65 | \include{appendix/myWork} % 攻读硕(博)士论文攻读期间取得的科研成果,论文、专利等 66 | 67 | \end{document} -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Core latex/pdflatex auxiliary files: 2 | *.aux 3 | *.lof 4 | *.log 5 | *.lot 6 | *.fls 7 | *.out 8 | *.toc 9 | 10 | ## Intermediate documents: 11 | *.dvi 12 | *-converted-to.* 13 | # these rules might exclude image files for figures etc. 14 | # *.ps 15 | # *.eps 16 | # *.pdf 17 | 18 | ## Bibliography auxiliary files (bibtex/biblatex/biber): 19 | *.bbl 20 | *.bcf 21 | *.blg 22 | *-blx.aux 23 | *-blx.bib 24 | *.brf 25 | *.run.xml 26 | 27 | ## Build tool auxiliary files: 28 | *.fdb_latexmk 29 | *.synctex 30 | *.synctex.gz 31 | *.synctex.gz(busy) 32 | *.pdfsync 33 | 34 | ## Auxiliary and intermediate files from other packages: 35 | 36 | 37 | # algorithms 38 | *.alg 39 | *.loa 40 | 41 | # achemso 42 | acs-*.bib 43 | 44 | # amsthm 45 | *.thm 46 | 47 | # beamer 48 | *.nav 49 | *.snm 50 | *.vrb 51 | 52 | #(e)ledmac/(e)ledpar 53 | *.end 54 | *.[1-9] 55 | *.[1-9][0-9] 56 | *.[1-9][0-9][0-9] 57 | *.[1-9]R 58 | *.[1-9][0-9]R 59 | *.[1-9][0-9][0-9]R 60 | *.eledsec[1-9] 61 | *.eledsec[1-9]R 62 | *.eledsec[1-9][0-9] 63 | *.eledsec[1-9][0-9]R 64 | *.eledsec[1-9][0-9][0-9] 65 | *.eledsec[1-9][0-9][0-9]R 66 | 67 | # glossaries 68 | *.acn 69 | *.acr 70 | *.glg 71 | *.glo 72 | *.gls 73 | 74 | # gnuplottex 75 | *-gnuplottex-* 76 | 77 | # hyperref 78 | *.brf 79 | 80 | # knitr 81 | *-concordance.tex 82 | *.tikz 83 | *-tikzDictionary 84 | 85 | # listings 86 | *.lol 87 | 88 | # makeidx 89 | *.idx 90 | *.ilg 91 | *.ind 92 | *.ist 93 | 94 | # minitoc 95 | *.maf 96 | *.mtc 97 | *.mtc[0-9] 98 | *.mtc[1-9][0-9] 99 | 100 | # minted 101 | _minted* 102 | *.pyg 103 | 104 | # morewrites 105 | *.mw 106 | 107 | # mylatexformat 108 | *.fmt 109 | 110 | # nomencl 111 | *.nlo 112 | 113 | # sagetex 114 | *.sagetex.sage 115 | *.sagetex.py 116 | *.sagetex.scmd 117 | 118 | # sympy 119 | *.sout 120 | *.sympy 121 | sympy-plots-for-*.tex/ 122 | 123 | # TikZ & PGF 124 | *.dpth 125 | *.md5 126 | *.auxlock 127 | 128 | # todonotes 129 | *.tdo 130 | 131 | # xindy 132 | *.xdy 133 | 134 | # WinEdt 135 | *.bak 136 | *.sav 137 | 138 | # ========================= 139 | # Operating System Files 140 | # ========================= 141 | 142 | # OSX 143 | # ========================= 144 | 145 | .DS_Store 146 | .AppleDouble 147 | .LSOverride 148 | 149 | # Thumbnails 150 | ._* 151 | 152 | # Files that might appear in the root of a volume 153 | .DocumentRevisions-V100 154 | .fseventsd 155 | .Spotlight-V100 156 | .TemporaryItems 157 | .Trashes 158 | .VolumeIcon.icns 159 | 160 | # Directories potentially created on remote AFP share 161 | .AppleDB 162 | .AppleDesktop 163 | Network Trash Folder 164 | Temporary Items 165 | .apdisk 166 | 167 | # Windows 168 | # ========================= 169 | 170 | # Windows image file caches 171 | Thumbs.db 172 | ehthumbs.db 173 | 174 | # Folder config file 175 | Desktop.ini 176 | 177 | # Recycle Bin used on file shares 178 | $RECYCLE.BIN/ 179 | 180 | # Windows Installer files 181 | *.cab 182 | *.msi 183 | *.msm 184 | *.msp 185 | 186 | # Windows shortcuts 187 | *.lnk 188 | -------------------------------------------------------------------------------- /content/chap01.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文:第一章内容 3 | %--------------------------------------------------------------------------------- 4 | 5 | \chapter{模板介绍} 6 | 7 | \LaTeX{}~作为一种具有标记语言(markup language)特色的排版系统(word processors),不同于Microsoft Office Word\textsuperscript{\textregistered}、Apple Pages\textsuperscript{\textregistered}等目前常用的“所见即所得”(what you see is what you get, WYSIWYG)形式页面排版软件,得益于标记语言的特点,其对数学公式、矢量图表、参考文献、交叉引用、格式统一等有着更为良好的支持和表现效果,常应用于在科学研究领域。诸多科技出版社(如Springer\footnote{更多信息请参阅Springer出版社书籍投稿说明:\url{https://www.springer.com/gp/authors-editors/book-authors-editors/manuscript-preparation/5636}}、Elsevier\footnote{更多信息请参阅Elsevier出版社采用\LaTeX{}投稿科学书籍的指南:\url{https://www.elsevier.com/authors/author-schemas/latex-instructions}}等公开出版的学术书籍),科学期刊杂志(如IEEE Transactions系列汇刊\footnote{IEEE论文投稿页面中提供了涵盖了几乎所有汇刊适用的\LaTeX{}模板资源:\url{https://www.ieee.org/publications_standards/publications/authors/author_templates.html}}),国、内外高等学府的学位论文\footnote{\LaTeX 开源小屋网站上提供了许多高校的模板供下载使用:\url{http://www.latexstudio.net}}均有提供现成~\LaTeX{}~模板供作者使用。 8 | 9 | \par 10 | \textbf{swjtuThesis正是为了能够让更多的交大学生接触并了解~\LaTeX{},同时能够更为方便地使用~\LaTeX{}~进行研究生学位论文撰写的西南交通大学研究生学位论文~\LaTeX{}~模板}。本模板严格依照《西南交通大学研究生学位论文撰写规范》\footnote{详细信息请参阅西南交通大学研究生院网站页面:\url{http://gs.swjtu.edu.cn/ws/gs/r/719}}进行开发,但由于个人水平有限,难免存在不足之处,欢迎大家积极反馈在使用过程中遇到的问题,或者是对swjtuThesis模板的开发建议,同时也希望能在众多交大~\LaTeX{}~爱好者的努力下,一同完善本模板,受益更多的交大同学。 11 | 12 | 13 | \section{模板获取} 14 | 15 | swjtuThesis模板的所有源代码和资源均作为开源项目的形式托管于GitHub网站的Studio513账号之中,链接地址如下 16 | \par 17 | \begin{center} 18 | \url{https://github.com/Studio513/swjtuThesis} 19 | \end{center} 20 | 21 | \par 22 | \textbf{通过GitHub直接下载是目前获取swjtuThesis模板及后续更新的稳定途径之一}。此外,由于本模板尚未取得西南交通大学学校方面的认证,因此也只是一个开发之中的版本,在听取大家的反馈意见之后(联系方式请见第\ref{sec:contact}节),模板作者将会持续在GitHub上发布更新,直至swjtuThesis模板成为更加完善的版本,其余的下载途径会在经过更多使用者确认之后再进行发布。此外模板作者也会积极和学校方面联系,推动~\LaTeX{}~在研究生学位论文写作中的普及。 23 | 24 | \section{开发环境} 25 | 26 | \LaTeX{}~开发环境可以灵活地在Windows、Mac OS及Linux/Ubuntu等主流操作系统中进行配置,对于初学者而言,推荐采用\textbf{~\TeX~发行版}(distribution)配合\textbf{~\TeX~编辑器}(integrated writing environment)的方式进行撰写和开发。 27 | 28 | \par 29 | \textbf{对于~\TeX~发行版的选择},Windows操作系统下推荐使用CTeX中文套装(最新版本:CTeX 2.9.2.164\footnote{CTeX下载地址:\url{http://www.ctex.org/CTeXDownload}})或者TeX Live套装(最新版本:TeX Live 2015\footnote{TeX Live下载地址:\url{https://www.tug.org/texlive/}});Linux系统下同样推荐使用TeX Live套装(最新版本:TeX Live 2015);Mac系统下推荐使用MacTeX(最新版本:MacTeX-2015\footnote{MacTeX下载地址:\url{https://tug.org/mactex/}})。 30 | 31 | \par 32 | \textbf{对于~\TeX~编辑器的选择},TeXStudio\footnote{TeXStudio下载地址:\url{http://www.ctex.org/CTeXDownload}}和Texmaker\footnote{Texmaker下载地址:\url{https://www.tug.org/texlive/}}均是Windows端的免费的~\LaTeX{}~开发利器,其代码高亮、代码补全、字典功能均比较完善,此外用户可以选择使用WinEdt\footnote{WinEdt官方网站:\url{http://www.winedt.com/}},这是一款功能强大的~\TeX~商业编辑器软件,不过CTex中内置了这款编辑器;Linux系统下同样推荐使用TeXStudio或者Texmaker;Mac系统下的~\TeX~编辑器选择要更为多样,出了之前推荐的之外还有像Texpad\footnote{Texpad官方网站:\url{https://www.texpadapp.com/osx}}之类Mac系统独占的专业~\TeX~编辑器。 33 | 34 | \par 35 | \textbf{swjtuThesis模板所采用的开发环境为}:TeX Live 2014 + TeXStudio。 36 | 37 | \section{模板构成} 38 | 39 | 西南交通大学研究生学位论文\textbf{swjtuThesis模板中包含的关键文件说明如下}: 40 | 41 | \par 42 | \begin{itemize} 43 | \item \textbf{main.tex}:主文件,\textbf{撰写完成后编译该文件即可产生学位论文.pdf全文}; 44 | \item \textbf{main.pdf}:即当前.pdf文档,也即是\textbf{最终的论文文档},通过编译main.tex产生; 45 | \item \textbf{swjtuThesis.cls}:文档类文件,基于ctexbook文档类修改,\textbf{不建议用户修改}; 46 | \item \textbf{swjtuThesis.cfg}:文档类文件的配置文件,用于字符串定义,\textbf{不建议用户修改}; 47 | \end{itemize} 48 | 49 | \par 50 | 此外,在使用过程中将会产生如.aux、.bbl、.log、.out等后缀的文件,均属于~\LaTeX{}~编译过程的正常文件,请用户不要擅自删除或者修改。 51 | 52 | \par 53 | swjtuThesis模板中的文件夹目录信息如表\ref{tab_1_1_files}所示。其中,注明\textbf{无需修改}字样的文件为模板已经写好的文件,非特殊情况下不建议用户进行修改;注明\textbf{用户修改}字样的文件请用户自行根据文件中的注释提示予以录入信息,详细的模板使用方法请见第二部分;注明\textbf{用户撰写}字样的文件为空白文件,需要用户自行根据自己的论文需求进行撰写(包括了各章节的内容、致谢、附录、科研成果等等);对于学位论文中所引用全部的参考文献,推荐用户构建~\BibTeX~文献库,并将.bib库文件放置于ref文件夹中,并在main.tex文件中予以调用,即可在swjtuThesis模板中实现对需要的参考文献进行引用,更多关于如何使用~\BibTeX~管理参考文献的使用实例请见第二部分;最后,本模板虽然已经能够实现根据用户输入的信息自行判断学位论文的\textbf{硕、博士}类型,但是关于\textbf{《博士创新声明》}及\textbf{《硕士主要工作》}文件请用户自行打开相应.tex文件在用户撰写区中进行修改。 54 | 55 | \begin{table}[htbp] 56 | \setlength{\abovecaptionskip}{0pt} 57 | \setlength{\belowcaptionskip}{0pt}\ 58 | \caption{swjtuThesis模板文件夹构成} 59 | \label{tab_1_1_files} 60 | \centering 61 | \begin{tabular}{llll} 62 | \toprule 63 | 文件夹 & 文件 & 作用说明 & 使用说明 \\ 64 | \midrule 65 | \multirow{3}{*}{\centering setup\textbackslash{}:} & info.tex & 录入论文信息 & \textbf{用户修改} \\ 66 | & type.tex & 判定论文种类 & \textbf{无需修改} \\ 67 | & package.tex & 增加使用宏包 & \textbf{用户修改} \\ 68 | \midrule 69 | \multirow{5}{*}{\centering preface\textbackslash{}:} & copyright.tex & 学位论文版权授权书 & \textbf{无需修改} \\ 70 | & statementDoctor.tex & 博士学位论文创新声明 & \textbf{博士修改} \\ 71 | & statementMaster.tex & 硕士学位论文主要工作 & \textbf{硕士修改} \\ 72 | & cabstract.tex & 中文摘要 & \textbf{用户撰写} \\ 73 | & eabstract.tex & 英文摘要 & \textbf{用户撰写} \\ 74 | \midrule 75 | \multirow{2}{*}{\centering content\textbackslash{}:} & chapN.tex & 第N章内容 & \textbf{用户撰写} \\ 76 | & conclusion.tex & 结论 & \textbf{用户撰写} \\ 77 | \midrule 78 | \multirow{3}{*}{\centering appendix\textbackslash{}:} & remerciement.tex & 致谢 & \textbf{用户撰写} \\ 79 | & appX.tex & 附录 & \textbf{用户撰写} \\ 80 | & myWork.tex & 科研成果 & \textbf{用户撰写} \\ 81 | \midrule 82 | \multirow{2}{*}{\centering ref\textbackslash{}:} & chinesebst.bst & 参考文献样式文件 & \textbf{无需修改} \\ 83 | & refEx.bib & 参考文献~\BibTeX~数据库 & \textbf{用户录入}\\ 84 | \midrule 85 | figures\textbackslash{}: & & 放置论文插图 \\ 86 | \bottomrule 87 | \end{tabular} 88 | \end{table} 89 | 90 | 91 | 92 | 93 | -------------------------------------------------------------------------------- /ref/refEx.bib: -------------------------------------------------------------------------------- 1 | % Encoding: UTF-8 2 | 3 | 4 | @Book{Maxwell1873, 5 | Title = {A Treatise on Electricity and Magnetism}, 6 | Author = {J. C. Maxwell}, 7 | Publisher = {Oxford University Press}, 8 | Year = {1873}, 9 | Address = {Oxford, UK}, 10 | Note = {Reprinted by Dover Publications, New York, 1954} 11 | } 12 | 13 | @Book{Stratton1941, 14 | Title = {Electromagnetic Theory}, 15 | Author = {J. A. Stratton}, 16 | Publisher = {McGraw-Hill}, 17 | Year = {1941}, 18 | Address = {New York}, 19 | Note = {Reprinted by Wiley-IEEE Press, Hoboken, NJ, 2007.} 20 | } 21 | 22 | @Book{Cheng1989, 23 | Title = {Field and Wave Electromagnetics}, 24 | Author = {D. K. Cheng}, 25 | Publisher = {Addison-Wesley}, 26 | Year = {1989}, 27 | Address = {Reading, MA}, 28 | Edition = {2nd edition} 29 | } 30 | 31 | @Book{Jackson1999, 32 | Title = {Classical Electrodynamics}, 33 | Author = {J. D. Jackson}, 34 | Publisher = {Wiley}, 35 | Year = {1999}, 36 | Address = {Hoboken, NJ}, 37 | Edition = {3rd edition} 38 | } 39 | 40 | @Book{Guru2004, 41 | Title = {Electromagnetic Field Theory Fundamentals}, 42 | Author = {B. S. Guru and H. R. Hizirovglu}, 43 | Publisher = {Cambridge University Press}, 44 | Year = {2004}, 45 | Address = {Cambridge}, 46 | Edition = {2nd edition} 47 | } 48 | 49 | @Book{Kong2008, 50 | Title = {Electromagnetic Wave Theory}, 51 | Author = {J. A. Kong}, 52 | Publisher = {EMW Publishing}, 53 | Year = {2008}, 54 | Address = {Cambridge} 55 | } 56 | 57 | @Article{covic2013inductive, 58 | Title = {Inductive power transfer}, 59 | Author = {Covic, Grant and Boys, John T and others}, 60 | Journal = {Proceedings of the IEEE}, 61 | Year = {2013}, 62 | Number = {6}, 63 | Pages = {1276--1289}, 64 | Volume = {101}, 65 | Publisher = {IEEE} 66 | } 67 | 68 | @Book{Griffiths2012, 69 | Title = {Introduction to Electrodynamics}, 70 | Author = {D. J. Griffiths}, 71 | Publisher = {Pearson}, 72 | Year = {2013}, 73 | Address = {Upper Saddle River, NJ}, 74 | Edition = {4th edition} 75 | } 76 | 77 | @Book{Purcell2013, 78 | Title = {Electricity and Magnetism}, 79 | Author = {E. M. Purcell and D. J. Morin}, 80 | Publisher = {Cambridge University Press}, 81 | Year = {2013}, 82 | Address = {Cambridge}, 83 | Edition = {3rd edition} 84 | } 85 | 86 | @Article{黄学良2013, 87 | Title = {无线电能传输技术研究与应用综述}, 88 | Author = {黄学良 and 谭林林 and 陈中 and 等}, 89 | Journal = {电工技术学报}, 90 | Year = {2013}, 91 | Number = {10}, 92 | Pages = {1-17}, 93 | Volume = {28}, 94 | Address = {北京}, 95 | Publisher = {清华大学出版社} 96 | } 97 | 98 | @Article{Buja2015, 99 | Title = {Design and Experimentation of WPT Charger for Electric City Car}, 100 | Author = {Buja, G. and Bertoluzzo, M. and Mude, K.N.}, 101 | Journal = {IEEE Transactions on Industrial Electronics}, 102 | Year = {2015}, 103 | Number = {12}, 104 | Pages = {7436--7447}, 105 | Volume = {62}, 106 | __markedentry = {[Limin HUANG:6]}, 107 | Abstract = {Wireless power transfer systems (WPTSs) with inductive coupling are advantageously used to charge the battery pack of electric vehicles. They basically consist of coil coupling, power supply circuitry connected to the transmitting side of the coil coupling, and power-conditioning circuitry connected to the receiving side of the coil coupling. This paper presents the design and implementation of a wireless power transfer (WPT) battery charger for an electric city car. A short overview on the working principles of a series--series resonant WPTS is given before describing in detail the design procedure of the power circuitry needed for its operation, i.e., an alternating-current--direct-current converter cascaded by a high-frequency inverter in the transmitting section and a diode rectifier cascaded by a chopper in the receiving section. The coil coupling with spiral coils is designed with the help of a finite-element-method code. A prototype of the WPT battery charger is built up according to the design results, and experiments that validate the design procedure are carried out.}, 108 | DOI = {10.1109/TIE.2015.2455524}, 109 | URL = {http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=7155552} 110 | } 111 | 112 | @Book{Ida2015, 113 | Title = {Engineering Electromagnetics}, 114 | Author = {N. Ida}, 115 | Publisher = {Springer}, 116 | Year = {2015}, 117 | Address = {New York}, 118 | Edition = {3rd edition} 119 | } 120 | 121 | @Article{Kim2015, 122 | Title = {Development of 1\mbox{-}{MW} Inductive Power Transfer System for a High-Speed Train}, 123 | Author = {J. H. Kim and B. S. Lee and J. H. Lee and others}, 124 | Journal = {IEEE Transactions on Industrial Electronics}, 125 | Year = {2015}, 126 | Number = {10}, 127 | Pages = {6242--6250}, 128 | Volume = {62}, 129 | __markedentry = {[Limin HUANG:6]}, 130 | Abstract = {Design and fabrication of a 1-MW inductive power transfer (IPT) system that supplies power to the vehicle in real time without any battery charge is proposed for a high-speed train. The IPT system consists of a 1-MW resonant inverter, a 128-m transmitter, four pickups, including rectifiers, and a wireless feedback network to maintain a constant output voltage of the pickups. The operating frequency of the system is 60 kHz to achieve efficient power transfer with a large air gap. The measured efficiency of the IPT system at the 818-kW output power of the pickups for the 5-cm air gap is 82.7%. The electromagnetic field and the induced voltage at the rail are also measured for safety evaluation. The fabricated IPT system was adapted to the high-speed train, and the train successfully accelerates to a speed of 10 km/h according to startup procedures.}, 131 | DOI = {10.1109/TIE.2015.2417122}, 132 | URL = {http://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=7070703} 133 | } 134 | 135 | -------------------------------------------------------------------------------- /content/chap02.tex: -------------------------------------------------------------------------------- 1 | %--------------------------------------------------------------------------------- 2 | % 西南交通大学研究生学位论文:第二章内容 3 | %--------------------------------------------------------------------------------- 4 | \chapter{模板使用} 5 | 6 | 本章节主要介绍使用swjtuThesis模板进行研究生学位论文撰写的基本方法,更多的~\LaTeX{}~排版介绍和方式方法请参考本章节最后推荐的参考书目。 7 | 8 | \section{信息录入} 9 | swjtuThesis模板的信息录入主要包括\textbf{学位论文基本信息}以及用户排版过程中需要增添的\textbf{~\LaTeX{}~宏包信息}两个方面。 10 | 11 | \subsection{论文信息} 12 | 论文信息主要涵盖拟申请的学位种类(硕士、博士以及学科类别),研究生个人资料(姓名、年级、专业、导师),论文中、英文标题,国内图书分类号\footnote{国内图书分类号(Classified Index)的查询网址:\url{http://www.ztflh.com/}}、国际图书分类法\footnote{国际图书分类法(U.D.C)的查询网址:\url{http://www.udcc.org/udcsummary/php/index.php}}等,\textbf{上述列举的信息均统一在~setup\textbackslash{}info.tex~文件中予以录入}。更详细的说明请参见~setup\textbackslash{}info.tex~文件中的注释语句,参照注释将引导用户完成论文基本信息的录入。 13 | 14 | \par 15 | \textbf{在用户完成学位论文基本信息的录入之后,本模板将自动生成硕士、博士学位论文相对应的基本框架},主要包括论文中、英文封面格式,论文页眉格式,以及自动判定加载《博士学位论文创新说明》或者《硕士学位论文主要工作》,此外还有论文结尾处攻读学位论文中所取得的科研成果,\textbf{以上论文格式均无需用户修改。} 16 | 17 | \subsection{增加宏包} 18 | 为方便管理,\textbf{所有用户需要使用的宏包建议统一放置于~setup\textbackslash{}package.tex~文件夹中}。\LaTeX{}~排版系统中的宏包相当于C编程语言中的头文件,集成了用户需要的一些额外功能(比如amsmath宏包可以实现更加更多功能的数学公式输入,graphicx宏包能够实现直接插入pdf图像,此外还有列表环境的宏包,表格环境的宏包等等)\footnote{用户安装的CTex或者是TeX Live等~\LaTeX{}~发行版已经内置了许多的宏包,用户只需要直接调用即可,不需要额外下载}。\textbf{正因为~\LaTeX{}~能够支持各种各类的拓展性宏包, 才使得其排版功能更加的强大和完善。}更详细的说明请参见~setup\textbackslash{}package.tex~中的注释语句,初始状态下swjtuThesis已经添加了几个比较常用的宏包。 19 | 20 | 21 | 22 | \section{正文撰写} 23 | 24 | \subsection{入门书籍} 25 | 使用~\LaTeX{}~进行科学排版的方法并非在此三言两语即可解释清楚,目前已经有许多前辈的教程或者手册可供用户入门及学习,学习的参考实体书在此\textbf{重点推荐电子工业出版社2013年出版的刘海洋老师的《\LaTeX{}入门》}\footnote{《\LaTeX{}入门》的其中一个网购链接:\url{http://product.dangdang.com/23252576.html}},该书内容翔实,无论作为~\LaTeX{}~的启蒙读物或者是作为~\LaTeX{}~排版的手册使用都有一定参考价值。 26 | 27 | \par 28 | 此外,推荐黄新刚老师的个人笔记《\LaTeX{}~Note》(最后更新于2013 年)\footnote{\LaTeX{}~Note下载地址:\url{http://www.dralpha.com/zh/tech/lnotes2.pdf}},简短简洁地介绍了~\LaTeX{}~的使用方式以及一些常用宏包和工具,可作为~\LaTeX{}~排版的入门基本读物。需要注意的是,熟读这本小册子虽然可以掌握一定的~\LaTeX{}~排版技巧,但是由于是个人笔记体的形式,对于一些深入的使用方法还是需要查阅更多的资料。 29 | 30 | \par 31 | 最后,再推荐三本Springer出版社关于~\LaTeX{}~的书籍,由于交大购买了Springer出版社2002-2015年出版物的数据库,因此使用交大的网络IP就可以直接进行下载。 32 | \begin{publist} 33 | \item George Grätzer, \emph{More Math Into Latex}, Springer, 2007\footnote{下载链接:\url{http://link.springer.com/book/10.1007/978-0-387-68852-7}} 34 | \item M. R. C. van Dongen, \emph{\LaTeX{}~and~Friends}, Springer-Verlag Berlin Heidelberg, 2012\footnote{下载链接:\url{http://link.springer.com/book/10.1007/978-3-642-23816-1}} 35 | \item George Grätzer, \emph{Practical LaTeX}, Springer, 2014\footnote{下载链接:\url{http://link.springer.com/book/10.1007/978-3-319-06425-3}} 36 | \end{publist} 37 | 38 | \textbf{建议用户先掌握必要的~\LaTeX{}~排版知识再使用swjtuThesis进行学位论文的撰写}。接下来主要对\textbf{公式编辑}和\textbf{图表绘制}两部分进行说明,也即是~\LaTeX{}~排版的优势所在。 39 | 40 | \subsection{公式编辑} 41 | \textbf{对数学公式输入及排版的良好支持和优异表现是~\LaTeX{}~深受科研人员喜爱的重要原因之一},比如需要在正文中插入\textbf{行内公式}时,对于非矩阵和非多行形式的行内公式,如斯托克斯定理:$\int_S\left( \nabla\times \mathbf{A}\right) \;\mathrm{d}\mathbf{S}=\oint_C \mathbf{A} \;\mathrm{d}\mathbf{l}$,\LaTeX{}~排版系统能够做到很好地对行距进行控制,而Word等软件却往往会根据行内公式的竖直距离而自动调节行距,从而破坏了学位论文的美观性。 42 | 43 | \par 44 | 接下来是一个\textbf{行间公式}的例子,也就是带有公式号码可以在文中引用的公式 45 | \begin{equation}\label{ch2:divTheo} 46 | \int_V \left( \nabla \cdot \mathbf{A} \right) \;\mathrm{d}v = \oint_S \mathbf{A} \;\mathrm{d}\mathbf{s} 47 | \end{equation} 48 | 49 | \par 50 | 接下来是一个多行的行间公式例子,其中每一行最后不需要单独带有标号 51 | \begin{eqnarray}\label{ch2:Maxwell} 52 | \nabla \times \mathbf{E} &=& - \frac{\partial \mathbf{B}}{\partial t} \nonumber \\ 53 | \nabla \times \mathbf{H} &=& \mathbf{J} + \frac{\partial \mathbf{D}}{\partial t} \nonumber \\ 54 | \nabla \cdot \mathbf{D} &=& \rho_v \nonumber \\ 55 | \nabla \cdot \mathbf{B} &=& 0 56 | \end{eqnarray} 57 | 58 | \par 59 | 式(\ref{ch2:Maxwell})正是电磁场里让多少人神魂颠倒的麦克斯韦方程组。 60 | 61 | \par 62 | 通常情况下~\LaTeX{}~中的数学公式均通过编写代码的形式实现。比如刚才使用的行内公式斯托克斯定理$\int_S\left( \nabla\times \mathbf{A}\right) \;\mathrm{d}\mathbf{S}=\oint_C \mathbf{A} \;\mathrm{d}\mathbf{l}$,其~\LaTeX{}~代码如下 63 | 64 | \begin{framed} 65 | \begin{verbatim} 66 | $\int_S\left( \nabla\times \mathbf{A}\right) \;\mathrm{d}\mathbf{S} 67 | =\oint_C \mathbf{A} \;\mathrm{d}\mathbf{l}$ 68 | \end{verbatim} 69 | \end{framed} 70 | 71 | 72 | 由上述的代码片段可以看出,插入行内公式的标志语为两个美元符号,也即是\verb|$...$|。其余公式的输入方式大家可以参考刚才提到的参考书籍,也可以直接查阅本模板的初始代码学习。Word中常用的MathType公式编辑器也可以支持编辑公式之后直接复制导出~\LaTeX{}~代码,具体在MathType的选项菜单中可以设置复制为~\LaTeX{}~格式即可。这样可以实现所见即所得的数学公式~\LaTeX{}~编写。不过相对来说基于代码的编辑要更加底层也更为细致。 73 | 74 | \subsection{图表绘制} 75 | \textbf{使用~\LaTeX{}~进行科学排版的另一大优势就是可以灵活地在文章中插入矢量绘图},虽然在Word软件也支持插入同为Microsoft Office套件的Visio编辑的矢量图,然而Word其对其余主流矢量图格式(如.pdf, .eps等文件)的支持并不理想。图\ref{SWJTU_LOGO_PNG}和图\ref{SWJTU_LOGO_PDF}分别示出了位图格式和矢量格式的西南交通大学校徽\footnote{请注意,文中所使用的西南交通大学校徽文件中,位图版为采西南交通大学官方提供的校徽LOGO文件,矢量版校徽为模板作者通过软件自行勾勒得出,非官方的正式版,请不要在正式场合使用。},可以看出在放大比率为200\%的时候,位图校徽的边缘开始出现模糊的情形。与此同时,\textbf{由于矢量图是一种基于纯数学公式语言的绘图,采用矢量图制作的插图能够保证成像不会因为放大而失真同时保证很小的文件大小}。 76 | 77 | \par 78 | 需要注意的是,并非所有的插图都适合采用矢量格式,尤其是照片之类的图片,通常情况下适宜采用.png或者.jpeg等位图格式;\textbf{而系统框图、曲线图、概念流程图等,则以采用矢量图格式为佳。} 79 | 80 | \par 81 | 目前,主流的商业矢量插画绘制软件以ADOBE公司的Illustrator以及Corel公司的CorelDRAW为主,不过受制于其售价,一般学生用户可以使用一些免费的矢量图编辑软件,例如Inkscape\footnote{Inkscape官方网站:\url{https://inkscape.org/en/}},作为一款矢量图绘制的利器,其功能已经能够基本满足正常的需,深受广大用户的喜爱。 82 | 83 | \begin{figure}[htbp] 84 | \centering 85 | \includegraphics[width=3in]{figures/SWJTU_LOGO.png} 86 | \caption{西南交通大学校徽位图格式(.png)} 87 | \label{SWJTU_LOGO_PNG} 88 | \end{figure} 89 | 90 | \begin{figure}[htbp] 91 | \centering 92 | \includegraphics[width=3in]{figures/SWJTU_LOGO.pdf} 93 | \caption{西南交通大学校徽矢量格式(.pdf)} 94 | \label{SWJTU_LOGO_PDF} 95 | \end{figure} 96 | 97 | 98 | 99 | \section{参考文献} 100 | 建立一个强大高效的个人文献管理系统能够使科研工作的进展更为科学系统,目前,主流的文献管理软件有EndNote,NoteExpress及免费的Mendeley及Zotero等等。文献管理软件虽然种类繁多,但本质上并无多大的差异,均能够满足科研工作者的正常需求。然而,\textbf{为更为高效地配合~\LaTeX{}~进行排版,在此推荐采用~\BibTeX{}~作为主要的文献管理系统,同时采用JabRef\footnote{JabRef软件网站:\url{http://jabref.sourceforge.net/}}作为文献管理软件,实现文献的导入和引用}。采用~\BibTeX{}~进行文献管理,其核心思想为通过一定的语句格式对参考文献进行的录入,同时把所有学位论文中需要引用的文献集中到一个.bib的库文件中,然后在swjtuThesis模板中加载文献库文件,实现调用所需要的参考文献。 101 | 102 | \par 103 | 在JabRef软件正常安装之后,可以直接打开模板中内置的参考文献库示范文件refEx.bib,以了解基本的使用方式。然而,\textbf{建议用户不要直接在refEx.bib库文件中直接进行修改,自行建立学位论文所要引用的参考文献库文件(如refs.bib文件),并放于ref文件夹中,在mian.tex文件中予以调用即可}(详细信息请见main.tex中的注释语句)。下面将对文献的获取以及文献的插入作简要的说明。 104 | 105 | \subsection{文献获取} 106 | \subsubsection{英文文献} 107 | 获取英文参考文献~\BibTeX{}~格式的方式多样,这里介绍两种常用的方式: 108 | \par 109 | \begin{enumerate} 110 | \item 在Google Scholar中检索到所需要的文献,在文献条目区域单击导入~\BibTeX{}~选项,将文献引用信息的内容复制并直接粘贴到JabRef中已经打开的.bib库文件;同时输出多篇文献建议结合Zotero软件进行; 111 | \item 利用JabRef中自带的搜索引擎对文献信息进行检索并导入当前的.bib库文件,目前JabRef已经可以实现对IEEE等主流文献库的检索功能。 112 | \end{enumerate} 113 | 114 | \subsubsection{中文文献} 115 | 由于目前知网上仍然没有直接导出~\BibTeX{}~的功能,因此\textbf{可以参考英文文献的~\BibTeX{}~获取方式,不过由于Google Scholar对中文的条文支持可能会有一些小的问题,导入后还需要自己进行适当的手工修改}\footnote{网上有教程可以通过EndNote或者NoteExpress等软件实现~\BibTeX{}~格式参考文献的导出,有兴趣的用户可以自行参考。这样就可以实现知网导出到一个中转文件,然后再输出~\BibTeX{}~参考文献格式}。 116 | 117 | \subsection{文献引用} 118 | 当用户完成在自己的.bib参考文献库文件中录入所有的参考文献信息之后,可以通过JabRef软件自动生成文献的Bibtexkey,也就是在swjtuThesis中对文献进行引用的关键词,在确保.bib库文件在main.tex主文件中被调用之后,在学位论文的任何位置只要在通过指令\verb|\cite{Bibtexkey}|即可实现对该篇文献的引用。 119 | 120 | \par 121 | 在学位论文最后的参考文献列表中,模板会按照出现的顺序(出现多次引用的文献按第一次出现的位置为主),依照设定好的参考文献样式(国标文件:GB/T 7714-2015)列出所有文中所引用过的参考文献。 122 | 123 | \par 124 | 本节最后,给出一段用~\BibTeX{}~实现参考文献插入的实例: 125 | 126 | \begin{framed} 127 | 电磁学作为物理学的一个重要分支,主要研究自然界中四种基本相互作用之一的电磁力,其基本数学描述以及物理框架早于1873年在J. C. Maxwell的经典著作\cite{Maxwell1873}中所奠定。一百多年来,经历了在数代科学家的传承和不断探索\textsuperscript{\cite{Stratton1941,Cheng1989,Jackson1999,Guru2004,Kong2008,Griffiths2012,Purcell2013,Ida2015}},电磁科学技术的研究和应用都到达了一个前所未有的高度。 128 | 129 | 作为当下电磁学前沿技术应用研究之一的\textbf{非接触电能传输技术},其本质上是一种借助于空间无形软介质(如磁场、电场、激光、微波等)实现将电能由能量发射端通过非接触的形式传递至能量拾取端的全新电能供给模式\textsuperscript{\cite{黄学良2013}}。目前,在现阶段近距离的大功率非接触能量传输的研究及应用中,普遍使用磁场感应式电能传输技术(Inductive Power Transfer, IPT)\textsuperscript{\cite{covic2013inductive}}。 130 | 131 | 应用在轨道交通牵引供电系统中,IPT技术与传统架空网、三轨、储能式等物理接触供电方式相比存在着十分明显的优点:无接触火花及触电危险,无积尘和接触损耗,无机械磨损,可适应多种恶劣天气环境(如下雪和积水)。综上,\textbf{IPT技术有望成为未来轨道交通牵引供电方式的重要发展方向之一},近年来,包括西南交通大学智能化牵引供电课题组在内的各国科研究团队逐渐投入对基于IPT技术的非接触牵引供电系统研究\textsuperscript{\cite{Buja2015,Kim2015}}。 132 | \end{framed} 133 | 134 | \section{模板编译} 135 | 依次执行XeLaTeX,BibTeX,XeLaTeX,XeLaTeX四次编译即可生成最终的学位论文.pdf文件。 136 | 137 | \par 138 | 其中第一次的~\XeLaTeX{}~编译是为了生成学位论文的主体框架;第二次的~\BibTeX{}~编译实现参考文献的获取和加载,如果在此之后没有再修改过参考文献库信息(比如增添和删除等操作),可以不再需要执行~\BibTeX{}~编译;最后两次的~\XeLaTeX{}~编译用以获取最终的论文.pdf文档。由于本模板的目录由\verb|\tableofcontents|命令生成,需要进行两次~\LaTeX~编译才能够正常显示,\textbf{因此如果修改了章节标题等信息,在第一次的~\XeLaTeX{}~编译过后在目录处并不会马上更新,需要执行完成第二次编译才会在目录处进行更新。} -------------------------------------------------------------------------------- /swjtuThesis.cls: -------------------------------------------------------------------------------- 1 | 2 | %% start of file 'SWJTU_Thesis.cls'. 3 | %% Copyright 2015 4 | %% Original Author Limin HUANG (E-mail: limin.huang@hotmail.com). 5 | %% 2015/01/30 v0.0, Begin of the projet, @Chengdu China 6 | %% 2015/12/08 v1.0, Release of the projet, @Grenoble, France 7 | 8 | % This work may be distributed and/or modified under the 9 | % conditions of the LaTeX Project Public License version 1.3c, 10 | % available at http://www.latex-project.org/lppl/. 11 | 12 | %------------------------------------------------------------------------------- 13 | % 标识 14 | %------------------------------------------------------------------------------- 15 | \NeedsTeXFormat{LaTeX2e} 16 | \ProvidesClass{swjtuThesis}[2015/12/07 v1.0 Southwest Jiaotong University Thesis document class] 17 | 18 | 19 | %------------------------------------------------------------------------------- 20 | % 宏包 21 | %------------------------------------------------------------------------------- 22 | % SWJTU_Thesis类基于ctexbook文档类制作 23 | 24 | 25 | \DeclareOption*{\PassOptionsToClass{\CurrentOption}{ctexbook}} 26 | \ProcessOptions\relax 27 | \LoadClass[UTF8,fntef,fancyhdr,a4paper,cs4size]{ctexbook}% 论文使用A4大小纸张,默认小四号字体 28 | 29 | % 装载样式文件中使用的宏包 30 | \RequirePackage[bookmarksnumbered,pdfstartview=XYZ]{hyperref} 31 | \RequirePackage{graphicx} 32 | \RequirePackage{setspace} 33 | \RequirePackage{ifthen} 34 | \RequirePackage{geometry} 35 | 36 | 37 | %------------------------------------------------------------------------------- 38 | % 标题及版面格式(依照《西南交通大学研究生学位论文撰写规范》 附录) 39 | %------------------------------------------------------------------------------- 40 | % 版面上空25.4 mm,下空25.4 mm,左空 26.0 mm,右空 26.0 mm 41 | \geometry{top = 25.4mm, bottom = 25.4mm, left = 26.0mm, right = 26.0mm} 42 | 43 | % 设置行距 44 | \linespread{1.5} 45 | 46 | % 各章题序及标题:小2号黑体,题序和标题之间空一格,不加标点 47 | \CTEXsetup[format = {\centering\zihao{-2}\heiti}, nameformat = {}, number = {~\arabic{chapter}~}, titleformat = {}, aftername = {\quad}]{chapter} 48 | 49 | \CTEXsetup[beforeskip = {-20pt}, afterskip = {20pt plus 2pt minus 2pt}]{chapter} 50 | 51 | % 各节的一级题序及标题:小3号黑体,题序和标题之间空一格,不加标点 52 | \CTEXsetup[format = {\raggedright\zihao{-3}\heiti}, aftername = {\quad}]{section} 53 | 54 | % 各节的二级题序及标题:4号黑体,题序和标题之间空一格,不加标点 55 | \CTEXsetup[format = {\raggedright\zihao{4}\heiti}, aftername = {\quad}]{subsection} 56 | 57 | % 各节的三级(及以下)题序、款、项:小4号黑体,缩进两字符与正文相同,题序需要自己加入 58 | \CTEXsetup[format = {\raggedright\zihao{-4}\heiti}, indent = {2em}]{subsubsection} 59 | 60 | 61 | % 目录格式:字体和缩进定义 62 | \def\@dotsep{0.7} 63 | \renewcommand*\l@chapter{\heiti\@dottedtocline{0}{0em}{3em}} 64 | \renewcommand*\l@section{\songti\@dottedtocline{1}{1.75em}{2.05em}} 65 | \renewcommand*\l@subsection{\songti\@dottedtocline{2}{2.5em}{2.5em}} 66 | 67 | % 修改图和表的题注格式为 章-图表号 68 | \renewcommand{\thefigure}{\thechapter-\arabic{figure}} 69 | \renewcommand{\thetable}{\thechapter-\arabic{table}} 70 | 71 | % 修改公式的编号格式为 章-公式号 72 | \renewcommand{\theequation}{\thechapter--\arabic{equation}} 73 | %------------------------------------------------------------------------------- 74 | % 论文信息(题目、作者、导师、专业、图书信息等) 75 | %------------------------------------------------------------------------------- 76 | 77 | % 申请学位级别 78 | \newcommand{\cDiscipline}[1]{\def\@cDiscipline{#1}} 79 | \newcommand{\eDiscipline}[1]{\def\@eDiscipline{#1}} 80 | 81 | % 论文中英题目 82 | \newcommand{\cTitle}[1]{\def\@cTitle{#1}} 83 | \newcommand{\eTitle}[1]{\def\@eTitle{#1}} 84 | 85 | % 论文作者信息 86 | \newcommand{\grade}[1]{\def\@grade{#1}} 87 | \newcommand{\eAuthor}[1]{\def\@eAuthor{#1}} 88 | \newcommand{\cMajor}[1]{\def\@cMajor{#1}} 89 | \newcommand{\eMajor}[1]{\def\@eMajor{#1}} 90 | 91 | % 论文导师信息 92 | \newcommand{\cTutor}[1]{\def\@cTutor{#1}} 93 | \newcommand{\eTutor}[1]{\def\@eTutor{#1}} 94 | 95 | % 论文分类及时间 96 | \newcommand{\CI}[1]{\def\@CI{#1}} 97 | \newcommand{\UDC}[1]{\def\@UDC{#1}} 98 | \newcommand{\secLevel}[1]{\def\@secLevel{#1}} 99 | \newcommand{\cDate}[3]{\def\@cDate{\dateprint{#1}{#2}{#3}}} 100 | \newcommand{\eDate}[3]{\def\@eDate{\dateprintE{#1}{#2}{#3}}} 101 | 102 | %------------------------------------------------------------------------------- 103 | % 页眉及页脚 104 | %------------------------------------------------------------------------------- 105 | % 文武线设计 106 | \renewcommand{\headrule}{ 107 | \hrule width \hsize height 2pt \vspace{0.6pt} \hrule width \hsize height 0.4pt 108 | } 109 | 110 | \renewcommand{\footrule}{ 111 | \hrule width \hsize height 0.4pt \vspace{0.6pt} \hrule width \hsize height 2pt 112 | } 113 | 114 | % 自定义页眉 115 | \newcommand{\thesispagestyle}[3]{ 116 | \pagestyle{fancy} 117 | \fancyhf{} 118 | \fancyhead[C]{\zihao{-4}\heiti #2} 119 | \fancyhead[OR,EL]{\zihao{-4}\heiti #3} 120 | \fancyfoot[C]{} 121 | \fancypagestyle{plain}{\pagestyle{fancy}} 122 | } 123 | 124 | 125 | %------------------------------------------------------------------------------- 126 | % 封面设计 127 | %------------------------------------------------------------------------------- 128 | \newcommand{\clearpagebyprint}{\if@twoside\cleardoublepage\else\clearpage\fi} 129 | \newcommand{\fillinblank}[2]{\CJKunderline{\makebox[#1]{#2}}} 130 | \newcommand{\makecover}{ 131 | \pagestyle{empty} 132 | \begin{titlepage} 133 | 134 | % 中文封面 135 | \linespread{1} 136 | \begin{flushleft} 137 | { 138 | \zihao{-4} 139 | {\songti\cover@CI}\@CI\hspace{20em}{\songti\cover@secLevel}\@secLevel 140 | \\ 141 | {\songti\cover@UDC}\@UDC 142 | \\ 143 | } 144 | \end{flushleft} 145 | \linespread{1.5} 146 | \vspace{10mm} 147 | \begin{center} 148 | { 149 | \zihao{2} 150 | {\textbf{\songti\cover@cSchool}}\\ 151 | \vspace{1mm} 152 | {\textbf{\songti\cover@cThesis}} 153 | } 154 | 155 | \vfill 156 | { 157 | \zihao{2} 158 | \linespread{1.3}\selectfont 159 | \makebox[0pt]{ 160 | \begin{minipage}{18em} 161 | \centering\heiti\@cTitle 162 | \end{minipage} 163 | } 164 | } 165 | 166 | \vfill 167 | { 168 | \zihao{3} 169 | \linespread{1.75}\selectfont 170 | \begin{tabular}{l@{\extracolsep{0.2em}}c} 171 | {\songti\cover@grade} & \fillinblank{10em}{\@grade} 172 | \\ 173 | {\songti\cover@author} & \fillinblank{10em}{\@author} 174 | \\ 175 | {\songti\cover@cDiscipline} & \fillinblank{10em}{\@cDiscipline\cDegree} 176 | \\ 177 | {\songti\cover@cMajor} & \fillinblank{10em}{\@cMajor} 178 | \\ 179 | {\songti\cover@cTutor} & \fillinblank{10em}{\@cTutor} 180 | \end{tabular} 181 | } 182 | \vfill 183 | { 184 | \zihao{3} 185 | {\songti\@cDate} 186 | } 187 | \end{center} 188 | 189 | % 英文封面 190 | \newpage 191 | \linespread{1} 192 | \begin{flushleft} 193 | \zihao{-4} 194 | {\songti\cover@eCI}\@CI 195 | \\ 196 | {\songti\cover@eUDC}\@UDC 197 | \\ 198 | \end{flushleft} 199 | \linespread{1.5} 200 | \vspace{10mm} 201 | \begin{center} 202 | { 203 | \zihao{-2} 204 | {\songti\cover@eSchool}\\ 205 | \vspace{3mm} 206 | { 207 | \ifdegreedoctor 208 | {\songti\cover@eThesisD} 209 | \else 210 | {\songti\cover@eThesisM} 211 | \fi 212 | } 213 | } 214 | \vfill 215 | { 216 | \zihao{2} 217 | \linespread{1.3}\selectfont 218 | \makebox[0pt][c]{ 219 | \begin{minipage}[c]{23em} 220 | \centering\@eTitle 221 | \end{minipage} 222 | } 223 | } 224 | \vfill 225 | { 226 | \zihao{3} 227 | \linespread{1.75}\selectfont 228 | \begin{tabular}{r@{\extracolsep{0.2em}}l} 229 | {\songti\cover@eGrade} & {\@grade} 230 | \\ 231 | {\songti\cover@eAuthor} & {\@eAuthor} 232 | \\ 233 | {\songti\cover@eDiscipline} & {\eDegree\@eDiscipline} 234 | \\ 235 | {\songti\cover@eMajor} & {\@eMajor} 236 | \\ 237 | {\songti\cover@eTutor} & {\@eTutor} 238 | \end{tabular} 239 | } 240 | \vfill 241 | { 242 | \zihao{3} 243 | {\@eDate} 244 | } 245 | \end{center} 246 | 247 | % 加载学位论文版权使用授权书 248 | \include{preface/copyright} 249 | 250 | % 加载学位论文主要工作(贡献)声明 251 | \ifdegreedoctor 252 | \include{preface/statementDoctor} 253 | \else 254 | \include{preface/statementMaster} 255 | \fi 256 | 257 | 258 | \end{titlepage} 259 | } 260 | 261 | 262 | %------------------------------------------------------------------------------- 263 | % 中、英文摘要格式定义 264 | %------------------------------------------------------------------------------- 265 | \newcommand{\baseabstract}[4]{ 266 | \chapter*{#1} 267 | %\addcontentsline{toc}{chapter}{#1} 268 | #3 269 | \vfill 270 | \leftline{\zihao{-4}{#2}#4} 271 | } 272 | 273 | % 中文摘要 274 | \newcommand{\cabstract}[2]{ 275 | \baseabstract{\other@cabstract}{\heiti\other@keywords}{#1}{#2} 276 | } 277 | 278 | % 英文摘要 279 | \newcommand{\eabstract}[2]{ 280 | \baseabstract{\bf Abstract}{\bf Key words: }{#1}{#2} 281 | } 282 | 283 | %------------------------------------------------------------------------------- 284 | % 文章、专利、项目列设计(参考哈工大模板) 285 | %------------------------------------------------------------------------------- 286 | % 定义新计数器 287 | \newcounter{pubctr} 288 | % 定义新环境 289 | \newenvironment{publist}{ 290 | \begin{list}{[\arabic{pubctr}]} %%标签格式 291 | { 292 | \usecounter{pubctr} 293 | \setlength{\leftmargin}{1.7em} % 左边界 \leftmargin =\itemindent + \labelwidth + \labelsep 294 | \setlength{\itemindent}{0em} % 标号缩进量 295 | \setlength{\labelsep}{0.5em} % 标号和列表项之间的距离,默认0.5em 296 | \setlength{\rightmargin}{0em} % 右边界 297 | \setlength{\topsep}{0ex} % 列表到上下文的垂直距离 298 | \setlength{\parsep}{0ex} % 段落间距 299 | \setlength{\itemsep}{0ex} % 标签间距 300 | \setlength{\listparindent}{0pt} % 段落缩进量 301 | }} 302 | {\end{list}} 303 | %------------------------------------------------------------------------------- 304 | % 加载字符串配置文件 305 | %------------------------------------------------------------------------------- 306 | \AtEndOfClass{\input{swjtuThesis.cfg}} 307 | 308 | \endinput 309 | 310 | %% end of file `SWJTU_Thesis.cls'. -------------------------------------------------------------------------------- /ref/chinesebst.bst: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `chinabst.bst', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% merlin.mbs (with options: `annote,seq-no,ed-au,dt-jnl,yrp-per,yrpp-xsp,atit-u,jxper,jttl-rm,vol-bf,pp-last,num-xser,numser,btit-rm,bt-rm,bkpg-x,add-pub,pub-date,pub-xpar,pre-pub,edparc,bkedcap,in-x,fin-bare,pp,abr,xedn,and-com,and-com-ed,xand,etal-it,revdata,eprint,url,url-blk,em-x') 8 | %% ---------------------------------------- 9 | %% *** For chinese BIB Gen. by WuYingnian 2002.12.29 *** 10 | %% 11 | %% Copyright 1994-2002 Patrick W Daly 12 | % =============================================================== 13 | % IMPORTANT NOTICE: 14 | % This bibliographic style (bst) file has been generated from one or 15 | % more master bibliographic style (mbs) files, listed above. 16 | % 17 | % This generated file can be redistributed and/or modified under the terms 18 | % of the LaTeX Project Public License Distributed from CTAN 19 | % archives in directory macros/latex/base/lppl.txt; either 20 | % version 1 of the License, or any later version. 21 | % =============================================================== 22 | % Name and version information of the main mbs file: 23 | % \ProvidesFile{merlin.mbs}[2002/10/21 4.05 (PWD, AO, DPC)] 24 | % For use with BibTeX version 0.99a or later 25 | %------------------------------------------------------------------- 26 | % This bibliography style file is intended for texts in ENGLISH 27 | % This is a numerical citation style, and as such is standard LaTeX. 28 | % It requires no extra package to interface to the main text. 29 | % The form of the \bibitem entries is 30 | % \bibitem{key}... 31 | % Usage of \cite is as follows: 32 | % \cite{key} ==>> [#] 33 | % \cite[chap. 2]{key} ==>> [#, chap. 2] 34 | % where # is a number determined by the ordering in the reference list. 35 | % The order in the reference list is that by which the works were originally 36 | % cited in the text, or that in the database. 37 | %--------------------------------------------------------------------- 38 | 39 | ENTRY 40 | { address 41 | annote 42 | archive 43 | author 44 | booktitle 45 | chapter 46 | collaboration 47 | edition 48 | editor 49 | eid 50 | eprint 51 | howpublished 52 | institution 53 | journal 54 | key 55 | month 56 | note 57 | number 58 | numpages 59 | organization 60 | pages 61 | publisher 62 | school 63 | series 64 | title 65 | type 66 | url 67 | volume 68 | year 69 | } 70 | {} 71 | { label } 72 | INTEGERS { output.state before.all mid.sentence after.sentence after.block } 73 | FUNCTION {init.state.consts} 74 | { #0 'before.all := 75 | #1 'mid.sentence := 76 | #2 'after.sentence := 77 | #3 'after.block := 78 | } 79 | STRINGS { s t} 80 | FUNCTION {output.nonnull} 81 | { 's := 82 | output.state mid.sentence = 83 | { ", " * write$ } 84 | { output.state after.block = 85 | { add.period$ write$ 86 | newline$ 87 | "\newblock " write$ 88 | } 89 | { output.state before.all = 90 | 'write$ 91 | { add.period$ " " * write$ } 92 | if$ 93 | } 94 | if$ 95 | mid.sentence 'output.state := 96 | } 97 | if$ 98 | s 99 | } 100 | FUNCTION {output} 101 | { duplicate$ empty$ 102 | 'pop$ 103 | 'output.nonnull 104 | if$ 105 | } 106 | FUNCTION {output.check} 107 | { 't := 108 | duplicate$ empty$ 109 | { pop$ "empty " t * " in " * cite$ * warning$ } 110 | 'output.nonnull 111 | if$ 112 | } 113 | FUNCTION {fin.entry} 114 | { duplicate$ empty$ 115 | 'pop$ 116 | 'write$ 117 | if$ 118 | newline$ 119 | annote missing$ 120 | { "\bibAnnoteFile{" cite$ * "}" * write$ newline$ } 121 | { "\bibAnnote{" cite$ * "}{" * annote * "}" * write$ newline$ 122 | } 123 | if$ 124 | } 125 | 126 | FUNCTION {new.block} 127 | { output.state before.all = 128 | 'skip$ 129 | { after.block 'output.state := } 130 | if$ 131 | } 132 | FUNCTION {new.sentence} 133 | { output.state after.block = 134 | 'skip$ 135 | { output.state before.all = 136 | 'skip$ 137 | { after.sentence 'output.state := } 138 | if$ 139 | } 140 | if$ 141 | } 142 | FUNCTION {add.blank} 143 | { " " * before.all 'output.state := 144 | } 145 | 146 | FUNCTION {no.blank.or.punct} 147 | { "\hspace{0pt}" * before.all 'output.state := 148 | } 149 | 150 | FUNCTION {date.block} 151 | { 152 | new.block 153 | } 154 | 155 | FUNCTION {not} 156 | { { #0 } 157 | { #1 } 158 | if$ 159 | } 160 | FUNCTION {and} 161 | { 'skip$ 162 | { pop$ #0 } 163 | if$ 164 | } 165 | FUNCTION {or} 166 | { { pop$ #1 } 167 | 'skip$ 168 | if$ 169 | } 170 | STRINGS {z} 171 | FUNCTION {remove.dots} 172 | { 'z := 173 | "" 174 | { z empty$ not } 175 | { z #1 #1 substring$ 176 | z #2 global.max$ substring$ 'z := 177 | duplicate$ "." = 'pop$ 178 | { * } 179 | if$ 180 | } 181 | while$ 182 | } 183 | FUNCTION {new.block.checka} 184 | { empty$ 185 | 'skip$ 186 | 'new.block 187 | if$ 188 | } 189 | FUNCTION {new.block.checkb} 190 | { empty$ 191 | swap$ empty$ 192 | and 193 | 'skip$ 194 | 'new.block 195 | if$ 196 | } 197 | FUNCTION {new.sentence.checka} 198 | { empty$ 199 | 'skip$ 200 | 'new.sentence 201 | if$ 202 | } 203 | FUNCTION {new.sentence.checkb} 204 | { empty$ 205 | swap$ empty$ 206 | and 207 | 'skip$ 208 | 'new.sentence 209 | if$ 210 | } 211 | FUNCTION {field.or.null} 212 | { duplicate$ empty$ 213 | { pop$ "" } 214 | 'skip$ 215 | if$ 216 | } 217 | FUNCTION {emphasize} 218 | { skip$ } 219 | FUNCTION {bolden} 220 | { duplicate$ empty$ 221 | { pop$ "" } 222 | { "{\bfseries " swap$ * "}" * } 223 | if$ 224 | } 225 | FUNCTION {tie.or.space.prefix} 226 | { duplicate$ text.length$ #3 < 227 | { "~" } 228 | { " " } 229 | if$ 230 | swap$ 231 | } 232 | 233 | FUNCTION {capitalize} 234 | { "u" change.case$ "t" change.case$ } 235 | 236 | FUNCTION {space.word} 237 | { " " swap$ * " " * } 238 | % Here are the language-specific definitions for explicit words. 239 | % Each function has a name bbl.xxx where xxx is the English word. 240 | % The language selected here is ENGLISH 241 | FUNCTION {bbl.and} 242 | { "and"} 243 | 244 | FUNCTION {bbl.etal} 245 | { "et~al." } 246 | 247 | FUNCTION {bbl.editors} 248 | { "editors" } 249 | 250 | FUNCTION {bbl.editor} 251 | { "editor" } 252 | 253 | FUNCTION {bbl.edby} 254 | { "edited by" } 255 | 256 | FUNCTION {bbl.edition} 257 | { "" } 258 | %%{ "edn." } 259 | 260 | FUNCTION {bbl.volume} 261 | { "vol." } 262 | 263 | FUNCTION {bbl.of} 264 | { "of" } 265 | 266 | FUNCTION {bbl.number} 267 | { "no." } 268 | 269 | FUNCTION {bbl.nr} 270 | { "no." } 271 | 272 | FUNCTION {bbl.in} 273 | { "in" } 274 | 275 | FUNCTION {bbl.pages} 276 | { "pp." } 277 | 278 | FUNCTION {bbl.page} 279 | { "p." } 280 | 281 | FUNCTION {bbl.eidpp} 282 | { "pages" } 283 | 284 | FUNCTION {bbl.chapter} 285 | { "chap." } 286 | 287 | FUNCTION {bbl.techrep} 288 | { "Tech. Rep." } 289 | 290 | FUNCTION {bbl.mthesis} 291 | { "Master's thesis" } 292 | 293 | FUNCTION {bbl.phdthesis} 294 | { "Ph.D. thesis" } 295 | 296 | MACRO {jan} {"Jan."} 297 | 298 | MACRO {feb} {"Feb."} 299 | 300 | MACRO {mar} {"Mar."} 301 | 302 | MACRO {apr} {"Apr."} 303 | 304 | MACRO {may} {"May"} 305 | 306 | MACRO {jun} {"Jun."} 307 | 308 | MACRO {jul} {"Jul."} 309 | 310 | MACRO {aug} {"Aug."} 311 | 312 | MACRO {sep} {"Sep."} 313 | 314 | MACRO {oct} {"Oct."} 315 | 316 | MACRO {nov} {"Nov."} 317 | 318 | MACRO {dec} {"Dec."} 319 | 320 | MACRO {acmcs} {"ACM Computing Surveys"} 321 | 322 | MACRO {acta} {"Acta Informatica"} 323 | 324 | MACRO {cacm} {"Communications of the ACM"} 325 | 326 | MACRO {ibmjrd} {"IBM Journal of Research and Development"} 327 | 328 | MACRO {ibmsj} {"IBM Systems Journal"} 329 | 330 | MACRO {ieeese} {"IEEE Transactions on Software Engineering"} 331 | 332 | MACRO {ieeetc} {"IEEE Transactions on Computers"} 333 | 334 | MACRO {ieeetcad} 335 | {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} 336 | 337 | MACRO {ipl} {"Information Processing Letters"} 338 | 339 | MACRO {jacm} {"Journal of the ACM"} 340 | 341 | MACRO {jcss} {"Journal of Computer and System Sciences"} 342 | 343 | MACRO {scp} {"Science of Computer Programming"} 344 | 345 | MACRO {sicomp} {"SIAM Journal on Computing"} 346 | 347 | MACRO {tocs} {"ACM Transactions on Computer Systems"} 348 | 349 | MACRO {tods} {"ACM Transactions on Database Systems"} 350 | 351 | MACRO {tog} {"ACM Transactions on Graphics"} 352 | 353 | MACRO {toms} {"ACM Transactions on Mathematical Software"} 354 | 355 | MACRO {toois} {"ACM Transactions on Office Information Systems"} 356 | 357 | MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} 358 | 359 | MACRO {tcs} {"Theoretical Computer Science"} 360 | FUNCTION {bibinfo.check} 361 | { swap$ 362 | duplicate$ missing$ 363 | { 364 | pop$ pop$ 365 | "" 366 | } 367 | { duplicate$ empty$ 368 | { 369 | swap$ pop$ 370 | } 371 | { swap$ 372 | pop$ 373 | } 374 | if$ 375 | } 376 | if$ 377 | } 378 | FUNCTION {bibinfo.warn} 379 | { swap$ 380 | duplicate$ missing$ 381 | { 382 | swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ 383 | "" 384 | } 385 | { duplicate$ empty$ 386 | { 387 | swap$ "empty " swap$ * " in " * cite$ * warning$ 388 | } 389 | { swap$ 390 | pop$ 391 | } 392 | if$ 393 | } 394 | if$ 395 | } 396 | FUNCTION {format.eprint} 397 | { eprint duplicate$ empty$ 398 | 'skip$ 399 | { "\eprint" 400 | archive empty$ 401 | 'skip$ 402 | { "[" * archive * "]" * } 403 | if$ 404 | "{" * swap$ * "}" * 405 | } 406 | if$ 407 | } 408 | FUNCTION {format.url} 409 | { url empty$ 410 | { "" } 411 | { "\urlprefix\url{" url * "}" * } 412 | if$ 413 | } 414 | 415 | STRINGS { bibinfo} 416 | INTEGERS { nameptr namesleft numnames } 417 | 418 | FUNCTION {format.names} 419 | { 'bibinfo := 420 | duplicate$ empty$ 'skip$ { 421 | 's := 422 | "" 't := 423 | #1 'nameptr := 424 | s num.names$ 'numnames := 425 | numnames 'namesleft := 426 | { namesleft #0 > } 427 | { s nameptr 428 | "{ff~}{vv~}{ll}{, jj}" 429 | format.name$ 430 | bibinfo bibinfo.check 431 | 't := 432 | nameptr #1 > 433 | { 434 | namesleft #1 > 435 | { ", " * t * } 436 | { 437 | "," * 438 | s nameptr "{ll}" format.name$ duplicate$ "others" = 439 | { 't := } 440 | { pop$ } 441 | if$ 442 | t "others" = 443 | { 444 | " " * bbl.etal emphasize * 445 | } 446 | { " " * t * } 447 | if$ 448 | } 449 | if$ 450 | } 451 | 't 452 | if$ 453 | nameptr #1 + 'nameptr := 454 | namesleft #1 - 'namesleft := 455 | } 456 | while$ 457 | } if$ 458 | } 459 | FUNCTION {format.names.ed} 460 | { 461 | format.names 462 | } 463 | FUNCTION {format.authors} 464 | { author "author" format.names 465 | duplicate$ empty$ 'skip$ 466 | { collaboration "collaboration" bibinfo.check 467 | duplicate$ empty$ 'skip$ 468 | { " (" swap$ * ")" * } 469 | if$ 470 | * 471 | } 472 | if$ 473 | } 474 | FUNCTION {get.bbl.editor} 475 | { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ } 476 | 477 | FUNCTION {format.editors} 478 | { editor "editor" format.names duplicate$ empty$ 'skip$ 479 | { 480 | "," * 481 | " " * 482 | get.bbl.editor 483 | capitalize 484 | "(" swap$ * ")" * 485 | * 486 | } 487 | if$ 488 | } 489 | FUNCTION {format.note} 490 | { 491 | note empty$ 492 | { "" } 493 | { note #1 #1 substring$ 494 | duplicate$ "{" = 495 | 'skip$ 496 | { output.state mid.sentence = 497 | { "l" } 498 | { "u" } 499 | if$ 500 | change.case$ 501 | } 502 | if$ 503 | note #2 global.max$ substring$ * "note" bibinfo.check 504 | } 505 | if$ 506 | } 507 | 508 | FUNCTION {format.title} 509 | { title 510 | "title" bibinfo.check 511 | } 512 | FUNCTION {output.bibitem} 513 | { newline$ 514 | "\bibitem{" write$ 515 | cite$ write$ 516 | "}" write$ 517 | newline$ 518 | "" 519 | before.all 'output.state := 520 | } 521 | 522 | FUNCTION {n.dashify} 523 | { 524 | 't := 525 | "" 526 | { t empty$ not } 527 | { t #1 #1 substring$ "-" = 528 | { t #1 #2 substring$ "--" = not 529 | { "--" * 530 | t #2 global.max$ substring$ 't := 531 | } 532 | { { t #1 #1 substring$ "-" = } 533 | { "-" * 534 | t #2 global.max$ substring$ 't := 535 | } 536 | while$ 537 | } 538 | if$ 539 | } 540 | { t #1 #1 substring$ * 541 | t #2 global.max$ substring$ 't := 542 | } 543 | if$ 544 | } 545 | while$ 546 | } 547 | 548 | FUNCTION {word.in} 549 | { "" } 550 | 551 | FUNCTION {format.date} 552 | { 553 | month "month" bibinfo.check 554 | duplicate$ empty$ 555 | year "year" bibinfo.check duplicate$ empty$ 556 | { swap$ 'skip$ 557 | { "there's a month but no year in " cite$ * warning$ } 558 | if$ 559 | * 560 | } 561 | { swap$ 'skip$ 562 | { 563 | swap$ 564 | " " * swap$ 565 | } 566 | if$ 567 | * 568 | } 569 | if$ 570 | } 571 | FUNCTION {format.btitle} 572 | { title "title" bibinfo.check 573 | duplicate$ empty$ 'skip$ 574 | { 575 | } 576 | if$ 577 | } 578 | FUNCTION {either.or.check} 579 | { empty$ 580 | 'pop$ 581 | { "can't use both " swap$ * " fields in " * cite$ * warning$ } 582 | if$ 583 | } 584 | FUNCTION {format.bvolume} 585 | { volume empty$ 586 | { "" } 587 | { bbl.volume volume tie.or.space.prefix 588 | "volume" bibinfo.check * * 589 | series "series" bibinfo.check 590 | duplicate$ empty$ 'pop$ 591 | { swap$ bbl.of space.word * swap$ 592 | emphasize * } 593 | if$ 594 | "volume and number" number either.or.check 595 | } 596 | if$ 597 | } 598 | FUNCTION {format.number.series} 599 | { volume empty$ 600 | { number empty$ 601 | { series field.or.null } 602 | { series empty$ 603 | { number "number" bibinfo.check } 604 | { output.state mid.sentence = 605 | { bbl.number } 606 | { bbl.number capitalize } 607 | if$ 608 | number tie.or.space.prefix "number" bibinfo.check * * 609 | bbl.in space.word * 610 | series "series" bibinfo.check * 611 | } 612 | if$ 613 | } 614 | if$ 615 | } 616 | { "" } 617 | if$ 618 | } 619 | 620 | FUNCTION {format.edition} 621 | { edition duplicate$ empty$ 'skip$ 622 | { 623 | output.state mid.sentence = 624 | { "l" } 625 | { "t" } 626 | if$ change.case$ 627 | "edition" bibinfo.check 628 | " " * bbl.edition * 629 | } 630 | if$ 631 | } 632 | INTEGERS { multiresult } 633 | FUNCTION {multi.page.check} 634 | { 't := 635 | #0 'multiresult := 636 | { multiresult not 637 | t empty$ not 638 | and 639 | } 640 | { t #1 #1 substring$ 641 | duplicate$ "-" = 642 | swap$ duplicate$ "," = 643 | swap$ "+" = 644 | or or 645 | { #1 'multiresult := } 646 | { t #2 global.max$ substring$ 't := } 647 | if$ 648 | } 649 | while$ 650 | multiresult 651 | } 652 | FUNCTION {format.pages} 653 | { pages duplicate$ empty$ 'skip$ 654 | { duplicate$ multi.page.check 655 | { 656 | n.dashify 657 | } 658 | { 659 | } 660 | if$ 661 | "pages" bibinfo.check 662 | } 663 | if$ 664 | } 665 | FUNCTION {format.journal.pages} 666 | { pages duplicate$ empty$ 'pop$ 667 | { swap$ duplicate$ empty$ 668 | { pop$ pop$ format.pages } 669 | { 670 | ":" * 671 | swap$ 672 | n.dashify 673 | "pages" bibinfo.check 674 | * 675 | } 676 | if$ 677 | } 678 | if$ 679 | } 680 | FUNCTION {format.journal.eid} 681 | { eid "eid" bibinfo.check 682 | duplicate$ empty$ 'skip$ 683 | { swap$ duplicate$ empty$ 'skip$ 684 | { 685 | ":" * 686 | } 687 | if$ 688 | swap$ 689 | numpages empty$ 'skip$ 690 | { bbl.eidpp numpages tie.or.space.prefix 691 | "numpages" bibinfo.check * * 692 | " (" swap$ * ")" * * 693 | } 694 | if$ 695 | } 696 | if$ * 697 | } 698 | FUNCTION {format.vol.num.pages} 699 | { volume field.or.null 700 | duplicate$ empty$ 'skip$ 701 | { 702 | "volume" bibinfo.check 703 | } 704 | if$ 705 | bolden 706 | number "number" bibinfo.check duplicate$ empty$ 'skip$ 707 | { 708 | swap$ duplicate$ empty$ 709 | { "there's a number but no volume in " cite$ * warning$ } 710 | 'skip$ 711 | if$ 712 | swap$ 713 | "(" swap$ * ")" * 714 | } 715 | if$ * 716 | } 717 | 718 | FUNCTION {format.chapter.pages} 719 | { chapter empty$ 720 | { "" } 721 | { type empty$ 722 | { bbl.chapter } 723 | { type "l" change.case$ 724 | "type" bibinfo.check 725 | } 726 | if$ 727 | chapter tie.or.space.prefix 728 | "chapter" bibinfo.check 729 | * * 730 | } 731 | if$ 732 | } 733 | 734 | FUNCTION {format.booktitle} 735 | { 736 | booktitle "booktitle" bibinfo.check 737 | } 738 | FUNCTION {format.in.ed.booktitle} 739 | { format.booktitle duplicate$ empty$ 'skip$ 740 | { 741 | editor "editor" format.names.ed duplicate$ empty$ 'pop$ 742 | { 743 | "," * 744 | " " * 745 | get.bbl.editor 746 | capitalize 747 | "(" swap$ * ") " * 748 | * swap$ 749 | * } 750 | if$ 751 | word.in swap$ * 752 | } 753 | if$ 754 | } 755 | FUNCTION {empty.misc.check} 756 | { author empty$ title empty$ howpublished empty$ 757 | month empty$ year empty$ note empty$ 758 | and and and and and 759 | { "all relevant fields are empty in " cite$ * warning$ } 760 | 'skip$ 761 | if$ 762 | } 763 | FUNCTION {format.thesis.type} 764 | { type duplicate$ empty$ 765 | 'pop$ 766 | { swap$ pop$ 767 | "t" change.case$ "type" bibinfo.check 768 | } 769 | if$ 770 | } 771 | FUNCTION {format.tr.number} 772 | { number "number" bibinfo.check 773 | type duplicate$ empty$ 774 | { pop$ bbl.techrep } 775 | 'skip$ 776 | if$ 777 | "type" bibinfo.check 778 | swap$ duplicate$ empty$ 779 | { pop$ "t" change.case$ } 780 | { tie.or.space.prefix * * } 781 | if$ 782 | } 783 | FUNCTION {format.article.crossref} 784 | { 785 | key duplicate$ empty$ 786 | { pop$ 787 | journal duplicate$ empty$ 788 | { "need key or journal for " cite$ * " to crossref " * crossref * warning$ } 789 | { "journal" bibinfo.check emphasize word.in swap$ * } 790 | if$ 791 | } 792 | { word.in swap$ * " " *} 793 | if$ 794 | " \cite{" * crossref * "}" * 795 | } 796 | FUNCTION {format.crossref.editor} 797 | { editor #1 "{vv~}{ll}" format.name$ 798 | "editor" bibinfo.check 799 | editor num.names$ duplicate$ 800 | #2 > 801 | { pop$ 802 | "editor" bibinfo.check 803 | " " * bbl.etal 804 | emphasize 805 | * 806 | } 807 | { #2 < 808 | 'skip$ 809 | { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = 810 | { 811 | "editor" bibinfo.check 812 | " " * bbl.etal 813 | emphasize 814 | * 815 | } 816 | { 817 | bbl.and space.word 818 | * editor #2 "{vv~}{ll}" format.name$ 819 | "editor" bibinfo.check 820 | * 821 | } 822 | if$ 823 | } 824 | if$ 825 | } 826 | if$ 827 | } 828 | FUNCTION {format.book.crossref} 829 | { volume duplicate$ empty$ 830 | { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ 831 | pop$ word.in 832 | } 833 | { bbl.volume 834 | capitalize 835 | swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word * 836 | } 837 | if$ 838 | editor empty$ 839 | editor field.or.null author field.or.null = 840 | or 841 | { key empty$ 842 | { series empty$ 843 | { "need editor, key, or series for " cite$ * " to crossref " * 844 | crossref * warning$ 845 | "" * 846 | } 847 | { series emphasize * } 848 | if$ 849 | } 850 | { key * } 851 | if$ 852 | } 853 | { format.crossref.editor * } 854 | if$ 855 | " \cite{" * crossref * "}" * 856 | } 857 | FUNCTION {format.incoll.inproc.crossref} 858 | { 859 | editor empty$ 860 | editor field.or.null author field.or.null = 861 | or 862 | { key empty$ 863 | { format.booktitle duplicate$ empty$ 864 | { "need editor, key, or booktitle for " cite$ * " to crossref " * 865 | crossref * warning$ 866 | } 867 | { word.in swap$ * } 868 | if$ 869 | } 870 | { word.in key * " " *} 871 | if$ 872 | } 873 | { word.in format.crossref.editor * " " *} 874 | if$ 875 | " \cite{" * crossref * "}" * 876 | } 877 | FUNCTION {format.org.or.pub} 878 | { 't := 879 | "" 880 | year empty$ 881 | { "empty year in " cite$ * warning$ } 882 | 'skip$ 883 | if$ 884 | address empty$ t empty$ and 885 | year empty$ and 886 | 'skip$ 887 | { 888 | address "address" bibinfo.check * 889 | t empty$ 890 | 'skip$ 891 | { address empty$ 892 | 'skip$ 893 | { ": " * } 894 | if$ 895 | t * 896 | } 897 | if$ 898 | year empty$ 899 | 'skip$ 900 | { t empty$ address empty$ and 901 | 'skip$ 902 | { ", " * } 903 | if$ 904 | year "year" bibinfo.check 905 | * 906 | } 907 | if$ 908 | } 909 | if$ 910 | } 911 | FUNCTION {format.publisher.address} 912 | { publisher "publisher" bibinfo.warn format.org.or.pub 913 | } 914 | 915 | FUNCTION {format.organization.address} 916 | { organization "organization" bibinfo.check format.org.or.pub 917 | } 918 | 919 | FUNCTION {article} 920 | { output.bibitem 921 | format.authors "author" output.check 922 | new.block 923 | format.title "[J]" * "title" output.check 924 | new.block 925 | crossref missing$ 926 | { 927 | journal 928 | remove.dots 929 | "journal" bibinfo.check 930 | "journal" output.check 931 | new.block 932 | format.date "year" output.check 933 | %date.block 934 | format.vol.num.pages output 935 | } 936 | { format.article.crossref output.nonnull 937 | } 938 | if$ 939 | eid empty$ 940 | { format.journal.pages } 941 | { format.journal.eid } 942 | if$ 943 | new.block 944 | format.note output 945 | format.eprint output 946 | % format.url output 947 | fin.entry 948 | } 949 | FUNCTION {book} 950 | { output.bibitem 951 | author empty$ 952 | { format.editors "author and editor" output.check 953 | add.blank 954 | } 955 | { format.authors output.nonnull 956 | crossref missing$ 957 | { "author and editor" editor either.or.check } 958 | 'skip$ 959 | if$ 960 | } 961 | if$ 962 | new.block 963 | format.btitle "[M]" * "title" output.check 964 | format.edition output 965 | crossref missing$ 966 | { format.bvolume output 967 | new.block 968 | new.sentence 969 | format.number.series output 970 | format.publisher.address output 971 | } 972 | { 973 | new.block 974 | format.book.crossref output.nonnull 975 | format.date "year" output.check 976 | } 977 | if$ 978 | new.block 979 | format.note output 980 | format.eprint output 981 | % format.url output 982 | fin.entry 983 | } 984 | FUNCTION {booklet} 985 | { output.bibitem 986 | format.authors output 987 | new.block 988 | format.title "[M]" * "title" output.check 989 | new.block 990 | howpublished "howpublished" bibinfo.check output 991 | address "address" bibinfo.check output 992 | format.date output 993 | new.block 994 | format.note output 995 | format.eprint output 996 | format.url output 997 | fin.entry 998 | } 999 | 1000 | FUNCTION {inbook} 1001 | { output.bibitem 1002 | author empty$ 1003 | { format.editors "author and editor" output.check 1004 | } 1005 | { format.authors output.nonnull 1006 | crossref missing$ 1007 | { "author and editor" editor either.or.check } 1008 | 'skip$ 1009 | if$ 1010 | } 1011 | if$ 1012 | new.block 1013 | format.btitle "[M]" * "title" output.check 1014 | crossref missing$ 1015 | { 1016 | format.number.series output 1017 | format.publisher.address output 1018 | format.bvolume output 1019 | new.block 1020 | new.sentence 1021 | } 1022 | { 1023 | new.block 1024 | format.book.crossref output.nonnull 1025 | } 1026 | if$ 1027 | format.edition output 1028 | format.pages "pages" output.check 1029 | new.block 1030 | format.note output 1031 | format.eprint output 1032 | format.url output 1033 | fin.entry 1034 | } 1035 | 1036 | FUNCTION {incollection} 1037 | { output.bibitem 1038 | format.authors "author" output.check 1039 | new.block 1040 | format.title "title" output.check 1041 | new.block 1042 | crossref missing$ 1043 | { format.in.ed.booktitle "booktitle" output.check 1044 | format.number.series output 1045 | format.publisher.address output 1046 | format.bvolume output 1047 | new.sentence 1048 | format.edition output 1049 | } 1050 | { format.incoll.inproc.crossref output.nonnull 1051 | } 1052 | if$ 1053 | format.pages "pages" output.check 1054 | new.block 1055 | format.note output 1056 | format.eprint output 1057 | format.url output 1058 | fin.entry 1059 | } 1060 | FUNCTION {inproceedings} 1061 | { output.bibitem 1062 | format.authors "author" output.check 1063 | new.block 1064 | format.title "[C]" * "title" output.check 1065 | new.block 1066 | crossref missing$ 1067 | { format.in.ed.booktitle "booktitle" output.check 1068 | new.sentence 1069 | format.number.series output 1070 | publisher empty$ 1071 | { format.organization.address output } 1072 | { organization "organization" bibinfo.check output 1073 | format.publisher.address output 1074 | } 1075 | if$ 1076 | format.bvolume output 1077 | } 1078 | { format.incoll.inproc.crossref output.nonnull 1079 | } 1080 | if$ 1081 | format.pages "pages" output.check 1082 | new.block 1083 | format.note output 1084 | format.eprint output 1085 | format.url output 1086 | fin.entry 1087 | } 1088 | FUNCTION {conference} { inproceedings } 1089 | FUNCTION {manual} 1090 | { output.bibitem 1091 | author empty$ 1092 | { organization "organization" bibinfo.check 1093 | duplicate$ empty$ 'pop$ 1094 | { output 1095 | address "address" bibinfo.check output 1096 | } 1097 | if$ 1098 | } 1099 | { format.authors output.nonnull } 1100 | if$ 1101 | new.block 1102 | format.btitle "[C]" * "title" output.check 1103 | author empty$ 1104 | { organization empty$ 1105 | { 1106 | address new.block.checka 1107 | address "address" bibinfo.check output 1108 | } 1109 | 'skip$ 1110 | if$ 1111 | } 1112 | { 1113 | organization address new.block.checkb 1114 | organization "organization" bibinfo.check output 1115 | address "address" bibinfo.check output 1116 | } 1117 | if$ 1118 | format.edition output 1119 | format.date output 1120 | new.block 1121 | format.note output 1122 | format.eprint output 1123 | format.url output 1124 | fin.entry 1125 | } 1126 | 1127 | FUNCTION {mastersthesis} 1128 | { output.bibitem 1129 | format.authors "author" output.check 1130 | new.block 1131 | format.btitle "[D]" * 1132 | "title" output.check 1133 | new.block 1134 | bbl.mthesis format.thesis.type output.nonnull 1135 | school "school" bibinfo.warn output 1136 | address "address" bibinfo.check output 1137 | format.date "year" output.check 1138 | new.block 1139 | format.note output 1140 | format.eprint output 1141 | format.url output 1142 | fin.entry 1143 | } 1144 | 1145 | FUNCTION {misc} 1146 | { output.bibitem 1147 | format.authors output 1148 | title howpublished new.block.checkb 1149 | format.title "[Z]" * output 1150 | howpublished new.block.checka 1151 | howpublished "howpublished" bibinfo.check output 1152 | format.date output 1153 | new.block 1154 | format.note output 1155 | format.eprint output 1156 | format.url output 1157 | fin.entry 1158 | empty.misc.check 1159 | } 1160 | FUNCTION {phdthesis} 1161 | { output.bibitem 1162 | format.authors "author" output.check 1163 | new.block 1164 | format.btitle "[D]" * 1165 | "title" output.check 1166 | new.block 1167 | bbl.phdthesis format.thesis.type output.nonnull 1168 | school "school" bibinfo.warn output 1169 | address "address" bibinfo.check output 1170 | format.date "year" output.check 1171 | new.block 1172 | format.note output 1173 | format.eprint output 1174 | format.url output 1175 | fin.entry 1176 | } 1177 | 1178 | FUNCTION {proceedings} 1179 | { output.bibitem 1180 | editor empty$ 1181 | { organization "organization" bibinfo.check output 1182 | } 1183 | { format.editors output.nonnull } 1184 | if$ 1185 | new.block 1186 | format.btitle "[C]" * "title" output.check 1187 | format.bvolume output 1188 | editor empty$ 1189 | { publisher empty$ 1190 | 'skip$ 1191 | { 1192 | new.sentence 1193 | format.number.series output 1194 | format.publisher.address output 1195 | } 1196 | if$ 1197 | } 1198 | { publisher empty$ 1199 | { 1200 | new.sentence 1201 | format.organization.address output } 1202 | { 1203 | new.sentence 1204 | organization "organization" bibinfo.check output 1205 | format.publisher.address output 1206 | } 1207 | if$ 1208 | } 1209 | if$ 1210 | new.block 1211 | format.note output 1212 | format.eprint output 1213 | format.url output 1214 | fin.entry 1215 | } 1216 | 1217 | FUNCTION {techreport} 1218 | { output.bibitem 1219 | format.authors "author" output.check 1220 | new.block 1221 | format.title "[R]" * 1222 | "title" output.check 1223 | new.block 1224 | format.tr.number output.nonnull 1225 | institution "institution" bibinfo.warn output 1226 | address "address" bibinfo.check output 1227 | format.date "year" output.check 1228 | new.block 1229 | format.note output 1230 | format.eprint output 1231 | format.url output 1232 | fin.entry 1233 | } 1234 | 1235 | FUNCTION {unpublished} 1236 | { output.bibitem 1237 | format.authors "author" output.check 1238 | new.block 1239 | format.title "[Z]" * "title" output.check 1240 | format.date output 1241 | new.block 1242 | format.note "note" output.check 1243 | format.eprint output 1244 | format.url output 1245 | fin.entry 1246 | } 1247 | 1248 | FUNCTION {default.type} { misc } 1249 | READ 1250 | STRINGS { longest.label } 1251 | INTEGERS { number.label longest.label.width } 1252 | FUNCTION {initialize.longest.label} 1253 | { "" 'longest.label := 1254 | #1 'number.label := 1255 | #0 'longest.label.width := 1256 | } 1257 | FUNCTION {longest.label.pass} 1258 | { number.label int.to.str$ 'label := 1259 | number.label #1 + 'number.label := 1260 | label width$ longest.label.width > 1261 | { label 'longest.label := 1262 | label width$ 'longest.label.width := 1263 | } 1264 | 'skip$ 1265 | if$ 1266 | } 1267 | EXECUTE {initialize.longest.label} 1268 | ITERATE {longest.label.pass} 1269 | FUNCTION {begin.bib} 1270 | { preamble$ empty$ 1271 | 'skip$ 1272 | { preamble$ write$ newline$ } 1273 | if$ 1274 | "\begin{thebibliography}{" longest.label * "}" * 1275 | write$ newline$ 1276 | "\expandafter\ifx\csname url\endcsname\relax" 1277 | write$ newline$ 1278 | " \def\url#1{{\tt #1}}\fi" 1279 | write$ newline$ 1280 | "\expandafter\ifx\csname urlprefix\endcsname\relax\def\urlprefix{URL }\fi" 1281 | write$ newline$ 1282 | "\providecommand{\bibAnnoteFile}[1]{%" 1283 | write$ newline$ 1284 | " \IfFileExists{#1}{\begin{quotation}\noindent\textsc{Key:} #1\\" 1285 | write$ newline$ 1286 | " \textsc{Annotation:}\ \input{#1}\end{quotation}}{}}" 1287 | write$ newline$ 1288 | "\providecommand{\bibAnnote}[2]{%" 1289 | write$ newline$ 1290 | " \begin{quotation}\noindent\textsc{Key:} #1\\" 1291 | write$ newline$ 1292 | " \textsc{Annotation:}\ #2\end{quotation}}" 1293 | write$ newline$ 1294 | "\providecommand{\eprint}[2][]{\url{#2}}" 1295 | write$ newline$ 1296 | } 1297 | EXECUTE {begin.bib} 1298 | EXECUTE {init.state.consts} 1299 | ITERATE {call.type$} 1300 | FUNCTION {end.bib} 1301 | { newline$ 1302 | "\end{thebibliography}" write$ newline$ 1303 | } 1304 | EXECUTE {end.bib} 1305 | %% End of customized bst file 1306 | %% 1307 | %% End of file `chinabst.bst'. 1308 | --------------------------------------------------------------------------------