Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 169 lines (132 sloc) 4.52 KB
%%==================================================
%% diss.tex for SJTU Master Thesis
%% based on CASthesis
%% modified by wei.jianwen@gmail.com
%% version: 0.3a
%% Encoding: UTF-8
%% last update: Dec 5th, 2010
%%==================================================
% 字号选项: c5size 五号(默认)
% 字号选项: cs4size 小四
% 双面打印(注意字号设置)
\documentclass[cs4size, a4paper, cs4size, twoside]{sjtumaster-xetex}
% 单面打印(注意字号设置)
% \documentclass[cs4size, a4paer, cs4size, oneside, openany]{sjtumaster-xetex}
% \usepackage[sectionbib]{chapterbib}%每章都用参考文献
\newboolean{DOIT}
\setboolean{DOIT}{false}%编译某些只想自己看的内容,编译true,否则false
%% 行距缩放因子(x倍字号)
\renewcommand{\baselinestretch}{1.3}
% 设置图形文件的搜索路径
\graphicspath{{figure/}{figures/}{logo/}{logos/}{graph/}{graphs}}
%%========================================
%% 在sjtumaster-xetex.cls中定义的有用命令
%%========================================
% \cndash 中文破折号
% 数学常量
% \me 对数常数e
% \mi 虚数单位i
% \mj 虚数单位j
% \dif 直立的微分算符d为直立体。
% 可伸长的数学箭头、等号
% \myRightarrow{}{}
% \myLeftarrow{}{}
% \myBioarrow{}{}
% \myLongEqual{}{}
% 参考文献
% \upcite{} 上标引用
%%========================================
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 封面
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 中文封面内容(关注内容而不是形式)
\title{上海交通大学硕士学位论文~\XeTeX/\LaTeX~模板~\version}
\author{李\quad{}四}
\advisor{张三教授}
\degree{硕士}
\defenddate{2010年1月16日}
\school{上海交通大学}
\institute{物理系}
\studentnumber{0010900990}
\major{专业名称}
% 英文封面内容(关注内容而不是表现形式)
\englishtitle{\XeTeX/\LaTeX\, Template for SJTU Mater Degree Thesis \version}
\englishauthor{\textsc{Si Li}}
\englishadvisor{Prof. \textsc{San Zhang}}
\englishschool{Shanghai Jiao Tong University}
\englishinstitute{\textsc{Depart of XXX, School of XXX} \\
\textsc{Shanghai Jiao Tong University} \\
\textsc{Shanghai, P.R.China}}
\englishdegree{Master}
\englishmajor{Physics}
\englishdate{Jan. 16th, 2010}
% 封面
\maketitle
% 英文封面
\makeenglishtitle
% 论文原创性声明和使用授权
\makeDeclareOriginal
\makeDeclareAuthorization
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 前言
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\frontmatter
% 摘要
\include{body/abstract}
% 目录
\tableofcontents
% 表格索引
\listoftables
% 插图索引
\listoffigures
\addcontentsline{toc}{chapter}{\listfigurename} %将表格索引加入全文目录
\addcontentsline{toc}{chapter}{\listtablename} %将图索引加入全文目录
% 主要符号、缩略词对照表
\include{body/symbol}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 正文
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mainmatter
\fancypagestyle{plain}{% 设置开章页页眉页脚风格
\fancyhf{}%
\fancyhead[LO,RE]{\small {\it 上海交通大学硕士学位论文}} % 奇数页左页眉
\fancyhead[RO]{\small {\it \leftmark}} % 奇数页左页眉
\fancyhead[LE]{\small {\it \CAST@value@titlemark}} % 偶数页左页眉
\fancyhead[RE]{\small {\it 上海交通大学硕士学位论文}} % 偶数页右页眉
\fancyfoot[C]{\small ~---~{\bf\thepage}~---~} %页脚格式
}
%% 各章正文内容
\include{body/chapter01}
\include{body/chapter02}
\include{body/chapter03}
\include{body/chapter04}
\include{body/conclusion} %% 全文总结
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 附录(章节编号重新计算,使用字母进行编号)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\appendix
% 附录中编号形式是"A-1"的样子
\renewcommand\theequation{\Alph{chapter}--\arabic{equation}}
\renewcommand\thefigure{\Alph{chapter}--\arabic{figure}}
\renewcommand\thetable{\Alph{chapter}--\arabic{table}}
\include{body/app1} % 更新记录
\include{body/app2} % 麦克斯韦方程
% \include{body/app3}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% 文后(无章节编号)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\backmatter
% 参考文献
% 使用 BibTeX
% 包含参考文献文件.bib
\bibliography{reference/chap1,reference/chap2}
%% 个人简历(硕士学位论文没有个人简历要求)
% \include{body/resume}
% 致谢
\include{body/thanks}
% 发表文章目录
\include{body/pub}
% 参与项目列表
\include{body/projects}
\end{document}
Something went wrong with that request. Please try again.