pkuthss/doc/pkuthss.tex
Casper Ti. Vector 7a89e0ae03 Load the etoolbox package in order to use `\AtEndPreamble' correctly.
Bump version number to `1.3 beta3'.
2011-06-25 18:08:24 +00:00

83 lines
2.2 KiB
TeX

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