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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
|
% vim:ts=4:sw=4
%
% Copyright (c) 2008-2009 solvethis
% Copyright (c) 2010-2013 Casper Ti. Vector
% Public domain.
%
% ʹÓÃÇ°ÇëÏÈ×ÐϸÔĶÁ pkuthss ºÍ biblatex-caspervector µÄÎĵµ£¬
% ÌرðÊÇÆäÖÐµÄ FAQ ²¿·ÖºÍÓúìÉ«Ç¿µ÷µÄ²¿·Ö¡£
% Á½Õß¿ÉÔÚÖÕ¶Ë/ÃüÁîÌáʾ·ûÖÐÓÃ
% texdoc pkuthss
% texdoc biblatex-caspervector
% µ÷³ö¡£
% ÔÚºÚ°×´òӡʱ²ÊÉ«Á´½Ó¿ÉÄܱä³Édz»ÒÉ«£¬´Ëʱ¿É½«¡°colorlinks¡±¸ÄΪ¡°nocolorlinks¡±¡£
% ±±´óͼÊé¹ÝÒªÇóÉÏ´«µÄµç×Ó°æÂÛÎÄÖÐĿ¼²ÉÓúÚÉ«×ÖÌ壬¿ÉÒÔÓÃͬÑùµÄ·½·¨´¦Àí¡£
%
% ²ÉÓÃÁË×Ô¶¨ÒåµÄ£¨°üÀ¨´óСд²»Í¬ÓÚÔÎļþµÄ£©×ÖÌåÎļþÃû£¬
% ²¢¸Ä¶¯ ctex.cfg µÈÅäÖÃÎļþµÄÓû§Çë×ÔÐмÓÈë nofonts Ñ¡Ï
% ÆäËüÓû§²»ÓüÓÈë nofonts Ñ¡Ï¼ÓÈëÖ®ºó·´¶ø»á²úÉú´íÎó¡£
\documentclass[GBK, colorlinks]{pkuthss}
% ʹÓà biblatex ÅÅ°æ²Î¿¼ÎÄÏ×£¬²¢¹æ¶¨Æä¸ñʽ¡£
%
% Èç¹ûÎÞ·¨Ê¹Óà biber£¬¿ÉÒÔ°Ñ¡°backend = biber¡±¸ÄΪ¡°backend = bibtex¡±£¬
% ²¢¸ÄÓà bibtex ²úÉú²Î¿¼ÎÄÏ×£¬Ïê¼û pkuthss µÄÎĵµ¡£
% ʹÓà biber ʱ£¬ÇëÈ¥µôËùÓÐµÄ sorting Ñ¡Ï·ñÔò»á³ö´í¡£
%
% ĬÈÏ°´ÕÕÒýÓÃ˳ÐòÅÅÐò£¨¡°sorting = none¡±£©£¬Ïê¼û biblatex-caspervector µÄÎĵµ
% £¨ÒòΪÊÇĬÈÏÉèÖÃËùÒÔÆäʵ²»ÓÃд£¬²»¹ý³öÓÚÍ걸ÐԵĿ¼ÂÇÈÔÈ»ÔÚÕâÀïÁгö£©¡£
% ÈôÐèÒª°´ÕÕÓ¢ÎÄÎÄÏ×ÔÚÇ°£¬ÖÐÎÄÎÄÏ×ÔÚºóÅÅÐò£¬ÇëÉèÖá°sorting = ecnty¡±£»
% ÈôÐèÒª°´ÕÕÖÐÎÄÎÄÏ×ÔÚÇ°£¬Ó¢ÎÄÎÄÏ×ÔÚºóÅÅÐò£¬ÇëÉèÖá°sorting = centy¡±¡£
\usepackage[backend = biber, style = caspervector, utf8, sorting = none]{biblatex}
% ʹµÃ´ò×Ö»ú´ÖÌå¿ÉÒÔ±»Ê¹Óá£
\usepackage{lmodern}
% ²úÉú originauth.tex ÀïµÄ \square¡£
\usepackage{amssymb}
% Ìṩ Verbatim »·¾³ºÍ \VerbatimInput ÃüÁî¡£
\usepackage{fancyvrb}
% ʹ±»Ç¿µ÷µÄÄÚÈÝΪºìÉ«¡£hyperref ºê°üÔÚÉèÖÃÁË colorlinks ʱ»áÒýÈë xcolor ºê°ü£¬
% ºóÕ߶¨ÒåÁË \textcolor ÃüÁ¹Ê²»Óõ¥¶ÀÒýÈëºê°ü¡£
\newcommand{\myemph}[1]{\emph{\textcolor{red}{#1}}}
% pkuthss ÎĵµÄ£°æµÄ°æ±¾¡£
\newcommand{\docversion}{v1.4 rc4}
% É趨ÎĵµµÄ»ù±¾ÐÅÏ¢¡£
\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
% ÅÅ°æ²Î¿¼ÎÄÏ×ÁÐ±í¡£
\printbibliography[
% ʹ¡°²Î¿¼ÎÄÏס±³öÏÖÔÚĿ¼ÖУ»Èç¹ûͬʱҪʹ²Î¿¼ÎÄÏ×Áбí²ÎÓëÕ½ڱàºÅ£¬
% ¿É½«¡°bibintoc¡±¸ÄΪ¡°bibnumbered¡±¡£
heading = bibintoc,
% µ¥¶ÀÉ趨ÅÅÐò·½°¸¡£´ËÉ趨»á¾Ö²¿¸²¸Ç֮ǰµÄÈ«¾ÖÉèÖá£
% ×¢£ºÖ»ÓÐͬʱʹÓà 2.x »òÖ®ºó°æ±¾µÄ biblatex ºÍÏàÓ¦¼æÈÝ°æ±¾µÄ biber£¬
% ²ÅÄܶÔÿ¸ö \printbibliography ÃüÁî²ÉÓò»Í¬µÄÅÅÐò·½°¸£¬
% ·ñÔòÖ»ÄÜÔÚµ¼Èë biblatex ºê°üʱ¾Í£¨È«¾Ö£©Ö¸¶¨ÅÅÐò·½°¸¡£
% ÔÚÕâÑùµÄÇé¿öÏ£¬ÇëÈ¥µôËùÓÐµÄ sorting Ñ¡Ï·ñÔò¿ÉÄܳö´í¡£
sorting = ecnty
]
% ¸÷¸½Â¼¡£
\include{chap/encl1}
\include{chap/encl2}
% ÒÔÏÂΪÕýÎÄÖ®ºóµÄ²¿·Ö¡£
\backmatter
% ÖÂл¡£
\include{chap/acknowledge}
% Ô´´ÐÔÉùÃ÷ºÍʹÓÃÊÚȨ˵Ã÷¡£
\include{chap/originauth}
\end{document}
|