THE SEUTHESIS CLASS (VERSION 2.1.2)
— THE LaTEX TEMPLATE FOR THESIS OF
SOUTHEAST UNIVERSITY
A Thesis submitted to
Southeast University
For the Academic Degree of Master of Engineering
BY
XU Yuan
Supervised by:
Prof. Advisor’s Name
and
Associate Prof. Co-advisor’s Name
School of Automation
Southeast University
东南大学硕士学位论文
Abstract
TEXis a typesetting system, it can make article as good as published book. Therefore, TEXis very suitable for writing academic papers and books. SEUThesis is designed and implemented as a LaTEXtemplate to help studnets writing degree thesis in a professional typesetting, according to the requirements of Southeast University.
This paper is SEUThesis user manual and also the sample document, it is better to be read before using SEUThesis .
东南大学硕士学位论文
东南大学硕士学位论文
东南大学硕士学位论文
0.1 2007/12/22,增加文档和示例。
0.0 2007/12/02,初始版本。
第二章 下载和安装
2.1 发布版本
各个发布的版本可以到本项目在 Google 的 project 中找到,或者直接访问
http:
//code.google.com/p/seuthesis/downloads/list
下载。
2.2 开发版本
最新的正在开发中的版本可以通过 svn 下载,使用如下命令:
svn checkout http://seuthesis.googlecode.com/svn/trunk/
seuthesis-read-only
详细信息请参考 Google 给出的 svn 访问方法
1。
2.3 安装
将宏包中的文件与 TEX 主文件放在同一目录下即可,当然也可以安装到 TEX 系统
中,不过需要注意是参考文献样式文件 .bst 必须置于 TEXMF/bibtex/bst 目录或子目
录下。
本模板在 TEXLive 2010 和 MiKTex2.7 下使用 X E LaTEX 编译通过。如有您在使用中
有任何问题,欢迎与我联系。
东南大学硕士学位论文
第三章
使用说明
~学位论文应包括:
1) 中文封面;
2) 中文页面;
3) 英文页面;
4) 论文独创性声明和使用授权声明;
5) 中文内容提要及关键词;
6) 英文内容提要及关键词;
7) 目录;
8) 正文;
9) 致谢;
10) 参考文献
等 7 大要素并按此顺序排列。其他可以选择添加的内容有:
� 位于目录之后的内容:符号、变量、缩略词等本论文专用术语的注释表;
� 参考文献后按序排列的内容:
1) 附录;
2) 索引(中、英文);
3) 作者简介(包括在学期间发表的论文和取得的学术成果清单);
4) 后记。
首 先 要 在 你 的 TEX 文 件 中 使 用 本 宏 包: \documentclass[
选项
]{seuthesis}
其 中 选 项 请 参 考
3.2 节
。 然 后 在 导 言 区 中 加 入 自 己 需 要 的 宏 包 等, 接 着 使
用 \begin{document} 开始写论文,主要还要在最有用 \end{document} 结尾。
在论文的一开始需要通过宏包的命令设置论文的题目、作者等,具体命令和参数参
考
3.3 节
、
3.4 节
。这些都设置好了之后使用 \maketitle 来生成封面、目录等,所以这
东南大学硕士学位论文
3.1 例子
例子最能说明问题,下面通过一个简要的例子来说明怎样使用本宏包。这个例子就
是宏包中的 sample.tex 文件,可以使用 make sample 或者 xelatex sample 命令来
编译这个例子。
\documentclass[bachelor]{seuthesis} % 本科
% \documentclass[master]{seuthesis} % 硕士
% \documentclass[doctor]{seuthesis} % 博士
% \documentclass[engineering]{seuthesis} % 工程硕士
% 这里是导言区
\begin{document}
\categorynumber{000} % 分类采用《中国图书资料分类法》
\UDC{000}
%《国际十进分类法 UDC》的类号
\secretlevel{公开}
% 学位论文密级分为" 公开"、" 内部"、" 秘密" 和" 机密"
四种
\studentid{050962}
% 学号要完整,前面的零不能省略。
\title{论文中文标题}{中文副标题}{Thesis Title}{subtitle}
\author{姓 \quad{} 名}{Author's Name}
\advisor{导师姓名}{教授}{Advisor's Name}{Prof.}
东南大学硕士学位论文
\printindex % 索引
\begin{Resume}
作者简介
\end{Resume}
\end{document}
3.2 选项
3.2.1 学位选项
bachelor 学士学位;
master 硕士学位(默认);
engineering 工程硕士;
doctor 博士学位。
3.2.2 打印相关选项
nocolorlinks 所有链接文字不使用彩色标识,全部黑色,并由框线表示 (打印时框线
不会被打印出来) (默认关闭);
doublecover 中文封面和英文封面各占两页以使得封面皆打印在奇数页 (默认关闭);
printedition 作为 nocolorlinks 和 doublecover 选项的综合,即使该两个选项同时
第三章 使用说明
3.3.2 UDC 类号
\UDC{《国际十进分类法 UDC》的类号}
3.3.3 论文保密等级
\secretlevel{学位论文密级} ,分 为“公 开”、
“内 部”、
“秘 密”和“机 密”四
种。
3.3.4 学号
\studentid{学号} ,研究生院要求学号要完整,前面的零不能省略。
3.3.5 论文标题
\title{论文中文标题}{中文副标题}{论文英文标题}{英文副标题}
~论文的主标题(第一行)。论文题目是论文全貌的集中体现,应能概括整个论文
最重要的内容,命题必须确切、简明,题目应力求简单,也不应宽泛笼统,应能看出论
文的实质性内容和工作重心。中文题名一般不超过 20 个汉字,必要时可加副题名。副
题名可另起一行,用破折号与主题名隔开。题名中应避免使用非公知公用的缩略语、字
符、代号以及结构式和公式。
3.3.6 作者
\author{作者中文姓名}{作者英文姓名} 。
~中国姓名译为英文时用汉语拼音,按照姓前名后的原则,姓、名均用全名,
不宜用缩写。姓全用大写,名的第一个字母大写,名用双中文字时两个字的拼音之
间可以不用短划线,但容易引起歧义时必须用短划线。例如“冯长根”译为“FENG
Changgen”或“FENG Chang-gen”,而“冯长安”则必须译为“FENG Chang-an”。
东南大学硕士学位论文
节及子节写法与正文类似。
3.11 作者简介
在 \printindex 命令之后可以使用 \begin{Resume} 环境进入作者简介的编写。
第四章
模板实现代码
4.1 本宏包的选项
bachelor/master/doctor
默 认 为 申 请 硕 士 学 位 (master), 博 士 (doctor)、 本 科 学 位 (bachelor)、 工 程 硕 士
(engineering) 作为可选项。
h∗clsi \newif\ifbachelordegree\bachelordegreefalse \newif\ifmasterdegree\masterdegreetrue \newif\ifengineering\engineeringfalse \DeclareOption{bachelor}{\bachelordegreetrue} \DeclareOption{master}{\masterdegreetrue} \DeclareOption{engineering}{\engineeringtrue\masterdegreetrue} \DeclareOption{doctor}{\masterdegreefalse} nocolorlinks默认使用彩色标识各类链接,包括文档内跳转、URL、引用、外部文件链接等。如果不
希望使用彩色标识 (要打印时),利用该选项可关闭。
\newif\ifnocolorlinks\nocolorlinksfalse \DeclareOption{nocolorlinks}{\nocolorlinkstrue} doublecover中英文封面各占两页。
\newif\ifdoublecover\doublecoverfalse \DeclareOption{doublecover}{\doublecovertrue}printedition
生成打印版本,是 nocolorlinks 和 doublecover 两个选项的综合。
东南大学硕士学位论文 \let\todayeng\today
4.2 依赖的其它宏包
\RequirePackage{doc} \RequirePackage{keyval} \RequirePackage{ifthen} \RequirePackage{xltxtra} \RequirePackage{graphicx} \RequirePackage[dvipsnames]{xcolor} \RequirePackage{indentfirst} \RequirePackage{makeidx} % 索引 \RequirePackage[nottoc]{tocbibind} % 将参考文献、索引、表格目录和图形 % 目录等标题及其所在页码自动地添加到标 % 题目录,可以断行(用 \protect\\) \RequirePackage[numbers,sort&compress]{natbib} % 修改引用参考文献格式\RequirePackage{array} % 了 array 和 tabular 环境 能
\RequirePackage{caption} % 定义图的标题格式:居中. 使用 caption3.0 \captionsetup{% format=plain,% labelformat=simple,% justification=centering,% singlelinecheck=off} \RequirePackage{paralist}% 修改列表格式 \setdefaultenum{1)}{a)}{i.}{A.}% 设置列表模式 \setdefaultleftmargin{4ex}{}{}{}{}{} \RequirePackage[CJKnumber,slantfont,boldfont]{xeCJK} \RequirePackage{CJKulem} \newlength\CJK@twochars \def\CJK@spaceChar{\Unicode{48}{7}} \def\CJKindent{% \settowidth\CJK@twochars{\CJK@spaceChar\CJK@spaceChar}% \parindent\CJK@twochars} \RequirePackage{hyperref} \AtBeginDocument{\CJKindent{}% \InputIfFileExists{seuthesis-utf8.cfg}% 引入配置文件
{\typeout{[seuthesis]: Load seuthesis-utf8.cfg successfully!}}% {\typeout{[seuthesis]: Load seuthesis-utf8.cfg failed!}}% \makeindex%
\wuhao%
\linespacing{\mainlineskip} }
第四章 模板实现代码 \AtEndDocument{\backcover}
4.3 页面设置
~A4 纸张,四周页边距 2cm,带连续页码(阿拉伯数字页码,底部居中)。双面
印刷。若根据装订需要,左、右两侧的页边距也可以选 2.5cm。
4.3.1 页边距
\RequirePackage[top=2.5cm,bottom=2.5cm,left=2.5cm,right=2.5cm]{geometry}4.3.2 标题与目录
\RequirePackage[pagestyles, rm]{titlesec} \RequirePackage{titletoc} % 设置目录 \hypersetup{bookmarksnumbered=true}% 书签中章节编号4.3.3 字体
\defaultfontfeatures{Mapping=tex-text} % --- as em-dash \setCJKmainfont{SimSun} \setCJKfamilyfont{zhsong}{SimSun} \newcommand{\song}{\CJKfamily{zhsong}} \setCJKfamilyfont{zhhei}{SimHei} \newcommand{\hei}{\CJKfamily{zhhei}} \setCJKfamilyfont{zhkai}{KaiTi} \newcommand{\kai}{\CJKfamily{zhkai}} \setCJKfamilyfont{zhfs}{FangSong} \newcommand{\fs}{\CJKfamily{zhfs}}\setmainfont{Times New Roman}% 英文默认 Time New Roman
东南大学硕士学位论文
\newcommand{\qihao}{\fontsize{5.5pt}{6.5pt}\selectfont}
\setlength{\parskip}{0pt}% 段距
\newcommand{\mainlineskip}{1.3}% 主行距 1.3
\titlespacing{\section}{0pt}{3.5ex plus .05ex minus .01ex}{2.9ex plus .04ex} % 标题间
距
东南大学硕士学位论文 \newcommand{\@readerA}{} \newcommand{\@readerB}{} \newcommand{\reader}[2]{ \renewcommand{\@readerA}{#1} \renewcommand{\@readerB}{#2} } \duration \newcommand{\@duration}{} \newcommand{\duration}[1]{\renewcommand{\@duration}{#1}} \address \newcommand{\@address}{} \newcommand{\address}[1]{\renewcommand{\@address}{#1}} \thanks \newif\ifseuthesisthanks\seuthesisthanksfalse \newcommand{\seuthesis@thanks}{} \renewcommand{\thanks}[1]{\seuthesisthankstrue\renewcommand{\seuthesis@thanks}{#1}}
4.4.2 封面
\maketitle \renewcommand{\maketitle}{ % % 设置书签% Note: The `CJKbookmarks' option should only be used for bookmarks % *not* in Unicode.
\GetFileInfo{seuthesis.cls} % get the correct fileversion \hypersetup{
pdfauthor={\@author},
pdftitle={\universityname{}\@academicdegree}, % 文件标题
pdfsubject={\@title \@subtitle}, % 文件主题
pdfcreator={The \seuthesis{} class (v \fileversion)} % 应用程序
第四章 模板实现代码
Dissertation \fi
submitted to}\\
{\universitynameeng}\\
{For the Academic Degree of \academicdegreeeng}\\ {\vspace{0.5in}}% {BY}\\ {\@authoreng}\\ {\vspace{0.5in}}% {Supervised by:}\\ {\@advisortitleeng\ \@advisornameeng}\\ \ifbcoadvisor {and}\\ {\@coadvisortitleeng\ \@coadvisornameeng}\\ \else \fi {\vspace{0.5in}}% {\vfill} {\@departmenteng}\\ {\universitynameeng}\\ {\todayeng} \par }% \end{center}% \stcleardp% }
4.4.3 摘要和关键词
abstract \newenvironment{abstract}[1] { \newcommand{\@keywords}{#1} \hypersetup{pdfkeywords={\@keywords}} \stcleardp \phantomsection \addcontentsline{toc}{chapter}{\@abstracttitletoc} \ifbachelordegree \renewcommand{\newtitleline}{\\} \chapter*{\@title} \begin{flushright} \begin{tabular}[h]{ll}东南大学硕士学位论文 \end{tabular} \end{flushright} \begin{center} \Large \hei\@abstracttitle \end{center} \par \else \chapter*{\@abstracttitle} \fi \song \ifbachelordegree \xiaosihao \else \wuhao \fi }{ \par \begin{description} \item[关键词:] \@keywords \end{description} } englishabstract \newenvironment{englishabstract}[1] { \newcommand{\@keywords}{#1} \stcleardp \phantomsection \addcontentsline{toc}{chapter}{Abstract} \ifbachelordegree \chapter*{\@titleeng} \begin{flushright} \begin{tabular}[h]{l}
东南大学硕士学位论文
4.5 正文
Main \newenvironment{Main} { \pagestyle{seustyle} \mainmatter % 开始正文部分 \song\xiaosihao % 小四号宋体 }{ \par \backmatter % 开始正文之后的部分 }4.5.1 图、表浮动设置
放宽松浮动的比例参数
\renewcommand{\textfraction}{0.07} \renewcommand{\topfraction}{0.9} \renewcommand{\bottomfraction}{0.8} \renewcommand{\floatpagefraction}{0.85} \setcounter{totalnumber}{6}4.6 参考文献
引用参考文献,上标形式
\cite \let\originalcite=\cite \renewcommand{\cite}[1]{\textsuperscript{\originalcite{#1}}}普通形式
\citet \renewcommand{\citet}[1]{\originalcite{#1}}定义参考文献样式
\bibliographystyle{seuthesis}\renewcommand\@biblabel[1]{#1} % Reference list option change from [1] to 1
东南大学硕士学位论文 \clearpage \begin{picture}(0,0)(20,650) {\includegraphics[width=\textwidth,bb=0 0 2424 3508]{figures/back-cover.png}} \end{picture} } \ifbachelordegree \renewcommand{\backcover}{} \fi h/clsi
4.8 中文关键字映射
将包含中文的代码放在 seuthesis-*.cfg 中,可以直接转换成不同版本的编码,
可以只要一份代码实现两种编码格式。
4.8.1 正文之前部分
h∗cfgi \ProvidesFile{seuthesis.cfg} \makeatletter \newcommand{\universityname}{东南大学} \newcommand{\universitynameeng}{Southeast University} \newcommand{\schoolcodepre}{学校代码} \newcommand{\schoolcode}{10286} \newcommand{\secretlevelpre}{密级} \newcommand{\categorynumberpre}{分类号} \newcommand{\studentidpre}{学号} \newcommand{\authorpre}{研究生姓名:} \newcommand{\advisorpre}{导 ~~ 师 ~~ 姓 ~~ 名:} \newcommand{\appdegreepre}{申请学位类别} \newcommand{\majorpre}{一级学科名称} \newcommand{\submajorpre}{二级学科名称} \newcommand{\defenddatepre}{论文答辩日期} \newcommand{\authorizeorganizationpre}{学位授予单位} \newcommand{\@authorizeorganization}{~~ 东 ~ 南 ~ 大 ~ 学 ~~} \newcommand{\authorizedatepre}{学位授予日期} \newcommand{\committeechairpre}{答辩委员会主席} \newcommand{\readerpre}{评 ~~~~~~~~~ 阅 ~~~~~~~~~ 人} \newcommand{\@abstracttitle}{摘 \quad 要} \newcommand{\@abstracttitletoc}{摘要} \newcommand{\@terminologytitle}{本论文专用术语的注释表}\renewcommand{\today}{\the\year~ 年 ~\the\month~ 月 ~\the\day~ 日}
% 本科论文需要
\newcommand{\addresspre}{设计地点}
东南大学硕士学位论文 \begin{flushright} 研究生签名:\signline 日 ~ 期:\signline \end{flushright} \vspace{1.5in} \begin{center} {\hei\sanhao 东南大学学位论文使用授权声明} \end{center} \vspace{0.5in} { \linespacing{1.5} 东南大学、中国科学技术信息研究所、国家图书馆有权保留本人所送交学位 论文的复印件和电子文档,可以采用影印、缩印或其他复制手段保存论文。 本人电子文档的内容和纸质论文的内容相一致。除在保密期内的保密论文 外,允许论文被查阅和借阅,可以公布(包括刊登)论文的全部或部分内容。 论文的公布(包括刊登)授权东南大学研究生院办理。\par} \vspace{0.3in} \begin{flushright}
东南大学硕士学位论文
参考文献
1 东 南 大 学 研 究 生 院. 东 南 大 学 研 究 生 学 位 论 文 的 格 式 规 定 (试 行) [EB/OL]. 2011. http: //seugs.seu.edu.cn/s/97/t/1707/aa/64/info43620.htm. 2 中华人民共和国国家质量监督检验检疫总局,中国国家标准化管理委员会. 中华任命共和国国家 标准-文后参考文献著录规则 [M]. GB/T 7714-2005. 北京: 中国标准出版社, 2005. 3 吴凯. GBT7714-2005.bst:利用 BibTEX 生成符合 GB/T 7714-2005 的参考文献 [EB/OL]. 2006. 4 hbsjzzxgssb. 东南大学学位论文封面 [EB/OL]. 2007.5 wloo. 用 LaTeX 写 漂 亮 学 位 论 文 [EB/OL]. 2005. http://ymei.freeshell.org/WebWiki/ Computer/ThesisWithLaTeX.html.
6 薛瑞尼. ThuThesis: 清华大学学位论文模板 [EB/OL]. 2005.
东南大学硕士学位论文
附录 A 常见问题
A.1 为什么 sample.tex 文件打开是乱码?
SEUThesis 使用 utf-8 编码。如果您是 windows 用户,请使用支持 utf-8 编码的编辑器。
东南大学硕士学位论文
附录 B 文件
附录 B 文件
• 源文件:
seuthesis.dtx 包含类或宏包及其说明文件的文件,需用同名.ins 文件或 docstrip 工具分解。 seuthesis.ins 同名.dtx 的安装文件,用 LaTEX 编译,可得到 sty 或 cls 等类型文件。
seuthesis.bib 文献数据库,包含了本文的参考文献。 seuthesis.bst 文献格式文件,定义了参考文献的格式。
Makefile make 编译规则,使用 make 命令由源文件得到目标文件。 figures/seu-badge-logo.eps/pdf 东南大学校徽图案。
figures/seu-text-logo.eps/png 东南大学文字图案。 • 目标文件:
seuthesis.pdf 东南大学 LaTEX 学位论文模板说明文档,也是学位论文模板生成的范例。
seuthesis.cls 东南大学 LaTEX 学位论文稿件类型文件,可用命令 \documentclass{sethesis} 调用。