2011-06-26 02:08:21 +08:00
|
|
|
|
% Copyright (c) 2008-2009 solvethis
|
2012-04-13 22:10:22 +08:00
|
|
|
|
% Copyright (c) 2010-2012 Casper Ti. Vector
|
2011-06-26 02:08:21 +08:00
|
|
|
|
% Public domain.
|
|
|
|
|
|
|
2012-03-24 22:09:03 +08:00
|
|
|
|
% 在黑白打印时彩色链接可能变成浅灰色,此时可将“colorlinks”改为“nocolorlinks”。
|
|
|
|
|
|
\documentclass[UTF8,colorlinks]{pkuthss}
|
2011-06-26 02:08:15 +08:00
|
|
|
|
|
2011-06-26 02:08:21 +08:00
|
|
|
|
% 使得打字机粗体可以被使用。
|
|
|
|
|
|
\usepackage{lmodern}
|
|
|
|
|
|
% 产生 originauth.tex 里的 \square。
|
|
|
|
|
|
\usepackage{amssymb}
|
|
|
|
|
|
% 提供 Verbatim 环境和 \VerbatimInput 命令。
|
2011-06-26 02:08:20 +08:00
|
|
|
|
\usepackage{fancyvrb}
|
2011-06-26 02:08:21 +08:00
|
|
|
|
% pkuthss 文档模版的版本。
|
2012-05-12 20:55:26 +08:00
|
|
|
|
\newcommand{\docversion}{v1.4 alpha2}
|
2011-06-26 02:08:15 +08:00
|
|
|
|
|
2011-06-26 02:08:20 +08:00
|
|
|
|
% 参考文献格式。
|
2011-06-26 02:08:23 +08:00
|
|
|
|
\bibliographystyle{ref/chinesebst-mod}
|
2011-06-26 02:08:20 +08:00
|
|
|
|
% 设定文档的基本信息。
|
|
|
|
|
|
\pkuthssinfo{
|
2012-04-13 22:10:22 +08:00
|
|
|
|
cthesisname = {本科生毕业论文}, ethesisname = {Undergraduate Thesis},
|
|
|
|
|
|
ctitle = {北京大学论文文档模版\\pkuthss \docversion},
|
2012-03-24 16:18:29 +08:00
|
|
|
|
% “\\”在设定 pdf 属性时会被自动过滤掉,于是得到的 pdf 属性中标题为
|
2011-06-26 02:08:24 +08:00
|
|
|
|
% The PKU dissertation document classpkuthss [版本号]
|
|
|
|
|
|
% 此处指定其被替换为“: ”,以使之为
|
|
|
|
|
|
% The PKU dissertation document class: pkuthss [版本号]
|
2012-04-13 22:10:22 +08:00
|
|
|
|
etitle = {%
|
2011-06-26 02:08:24 +08:00
|
|
|
|
The PKU dissertation document class\texorpdfstring{\\}{: }%
|
|
|
|
|
|
pkuthss \docversion%
|
|
|
|
|
|
},
|
2012-04-13 22:10:22 +08:00
|
|
|
|
cauthor = {盖茨波 $\cdot$ 钛 $\cdot$ 维克托},
|
|
|
|
|
|
eauthor = {Casper Ti.\ Vector},
|
|
|
|
|
|
studentid = {00910???},
|
2012-05-12 20:55:26 +08:00
|
|
|
|
date = {二〇一二年五月},
|
2012-04-13 22:10:22 +08:00
|
|
|
|
school = {化学与分子工程学院},
|
|
|
|
|
|
cmajor = {化学}, emajor = {Chemistry}, direction = {XX 化学},
|
|
|
|
|
|
cmentor = {XX 教授}, ementor = {Prof.\ XX},
|
|
|
|
|
|
ckeywords = {\LaTeX2e{},排版,文档类,\CTeX{}},
|
|
|
|
|
|
ekeywords = {\LaTeX2e{}, typesetting, document class, \CTeX{}}
|
2011-06-26 02:08:20 +08:00
|
|
|
|
}
|
2011-06-26 02:08:21 +08:00
|
|
|
|
|
2011-06-26 02:08:15 +08:00
|
|
|
|
\begin{document}
|
2011-06-26 02:08:21 +08:00
|
|
|
|
% 以下为正文之前的部分。
|
2011-06-26 02:08:20 +08:00
|
|
|
|
\frontmatter
|
2011-06-26 02:08:21 +08:00
|
|
|
|
|
2011-06-26 02:08:15 +08:00
|
|
|
|
% 自动生成标题页。
|
|
|
|
|
|
\maketitle
|
|
|
|
|
|
% 版权声明。
|
|
|
|
|
|
\include{chap/copyright}
|
|
|
|
|
|
% 中英文摘要。
|
|
|
|
|
|
\include{chap/abstract}
|
|
|
|
|
|
% 自动生成目录。
|
|
|
|
|
|
\tableofcontents
|
|
|
|
|
|
|
2011-06-26 02:08:21 +08:00
|
|
|
|
% 以下为正文。
|
2011-06-26 02:08:20 +08:00
|
|
|
|
\mainmatter
|
2011-06-26 02:08:15 +08:00
|
|
|
|
|
|
|
|
|
|
% 绪言。
|
|
|
|
|
|
\include{chap/introduction}
|
|
|
|
|
|
% 各章节。
|
|
|
|
|
|
\include{chap/chap1}
|
|
|
|
|
|
\include{chap/chap2}
|
|
|
|
|
|
\include{chap/chap3}
|
|
|
|
|
|
% 结论。
|
|
|
|
|
|
\include{chap/conclusion}
|
2011-06-26 02:08:20 +08:00
|
|
|
|
|
2011-06-26 02:08:24 +08:00
|
|
|
|
% 正文中的附录部分。
|
|
|
|
|
|
\appendix
|
|
|
|
|
|
% 参考文献。
|
|
|
|
|
|
\bibliography{ref/pkuthss}
|
|
|
|
|
|
% 各附录。
|
|
|
|
|
|
\include{chap/encl1}
|
|
|
|
|
|
\include{chap/encl2}
|
2011-06-26 02:08:15 +08:00
|
|
|
|
|
2011-06-26 02:08:21 +08:00
|
|
|
|
% 以下为正文之后的部分。
|
2011-06-26 02:08:20 +08:00
|
|
|
|
\backmatter
|
2011-06-26 02:08:15 +08:00
|
|
|
|
|
|
|
|
|
|
% 致谢。
|
|
|
|
|
|
\include{chap/thanks}
|
2011-06-26 02:08:21 +08:00
|
|
|
|
% 原创性声明和使用授权说明。
|
2011-06-26 02:08:15 +08:00
|
|
|
|
\include{chap/originauth}
|
|
|
|
|
|
\end{document}
|
|
|
|
|
|
|