summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pkuthss/gbkcrlf/pkuthss.tex
blob: 3dfb34496d4217ed2973cd502f1bc72364db9d92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
% vim:ts=4:sw=4
%
% Copyright (c) 2008-2009 solvethis
% Copyright (c) 2010-2012 Casper Ti. Vector
% Public domain.
%
% ʹÓÃÇ°ÇëÏÈ×ÐϸÔĶÁ pkuthss ºÍ biblatex-caspervector µÄÎĵµ£¬
% ÌرðÊÇÆäÖÐµÄ FAQ ²¿·ÖºÍÓúìÉ«Ç¿µ÷µÄ²¿·Ö¡£
% Á½Õß¿ÉÔÚÖÕ¶Ë/ÃüÁîÌáʾ·ûÖÐÓÃ
%   texdoc pkuthss
%   texdoc biblatex-caspervector
% µ÷³ö¡£

% ÔÚºÚ°×´òӡʱ²ÊÉ«Á´½Ó¿ÉÄܱä³Édz»ÒÉ«£¬´Ëʱ¿É½«¡°colorlinks¡±¸ÄΪ¡°nocolorlinks¡±¡£
\documentclass[GBK, colorlinks, notocbibind]{pkuthss}

% ʹÓà biblatex ÅÅ°æ²Î¿¼ÎÄÏ×£¬²¢¹æ¶¨Æä¸ñʽ¡£
\usepackage[backend = biber, style = caspervector, gbk]{biblatex}
% ʹµÃ´ò×Ö»ú´ÖÌå¿ÉÒÔ±»Ê¹Óá£
\usepackage{lmodern}
% ²úÉú originauth.tex ÀïµÄ \square¡£
\usepackage{amssymb}
% Ìṩ Verbatim »·¾³ºÍ \VerbatimInput ÃüÁî¡£
\usepackage{fancyvrb}
% Ìṩ¸÷ÖÖ TeX logo£¬ÌرðÊÇ XeTeX ϵµÄ¹îÒì logo¡£
\usepackage{hologo}

% ʹ±»Ç¿µ÷µÄÄÚÈÝΪºìÉ«¡£
\newcommand{\myemph}[1]{\emph{\textcolor{red}{#1}}}

% pkuthss ÎĵµÄ£°æµÄ°æ±¾¡£
\newcommand{\docversion}{v1.4 beta2}
% É趨ÎĵµµÄ»ù±¾ÐÅÏ¢¡£
\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 = {¾Ý˵ Casper ×Ô¼ºÒ²²»ÖªµÀ},
	cmentor = {XX ½ÌÊÚ}, ementor = {Prof.\ XX},
	ckeywords = {\LaTeX2e{}£¬ÅŰ棬ÎĵµÀ࣬\CTeX{}},
	ekeywords = {\LaTeX2e{}, typesetting, document class, \CTeX{}}
}
% µ¼Èë²Î¿¼ÎÄÏ×Êý¾Ý¿â£¨×¢ÒⲻҪʡÂÔ¡°.bib¡±£©¡£
\addbibresource{pkuthss.bib}

\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
	% ÅÅ°æ²Î¿¼ÎÄÏ×ÁÐ±í£¬²¢Ê¹Æä³öÏÖÔÚĿ¼ÖС£
	% Èç¹ûͬʱҪʹ²Î¿¼ÎÄÏ×Áбí²ÎÓëÕ½ڱàºÅ£¬¿É½«¡°bibintoc¡±¸ÄΪ¡°bibnumbered¡±¡£
	\printbibliography[heading = bibintoc]
	% ¸÷¸½Â¼¡£
	\include{chap/encl1}
	\include{chap/encl2}

	% ÒÔÏÂΪÕýÎÄÖ®ºóµÄ²¿·Ö¡£
	\backmatter

	% ÖÂл¡£
	\include{chap/acknowledge}
	% Ô­´´ÐÔÉùÃ÷ºÍʹÓÃÊÚȨ˵Ã÷¡£
	\include{chap/originauth}
\end{document}