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-2014 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, gbk, sorting = none]{biblatex}
% ²úÉú originauth.tex ÀïµÄ \square¡£
\usepackage{amssymb}
% É趨ÎĵµµÄ»ù±¾ÐÅÏ¢¡£
\pkuthssinfo{
cthesisname = {±¾¿ÆÉú±ÏÒµÂÛÎÄ}, ethesisname = {Undergraduate Thesis},
ctitle = {²âÊÔÎĵµ}, etitle = {Test Document},
cauthor = {ijij},
eauthor = {Test},
studentid = {0123456789},
date = {ijÄêijÔÂ},
school = {ijijѧԺ},
cmajor = {ijijרҵ}, emajor = {Some major},
direction = {ijij·½Ïò},
cmentor = {ijij½ÌÊÚ}, ementor = {Prof.\ Somebody},
ckeywords = {ijij}, ekeywords = {Something}
}
% µ¼Èë²Î¿¼ÎÄÏ×Êý¾Ý¿â£¨×¢ÒⲻҪʡÂÔ¡°.bib¡±£©¡£
\addbibresource{thesis.bib}
\begin{document}
% ÒÔÏÂΪÕýÎÄ֮ǰµÄ²¿·Ö¡£
\frontmatter
% ×Ô¶¯Éú³É±êÌâÒ³¡£
\maketitle
% °æȨÉùÃ÷¡£
\include{chap/copyright}
% ÖÐÓ¢ÎÄÕªÒª¡£
\include{chap/abstract}
% ×Ô¶¯Éú³ÉĿ¼¡£
\tableofcontents
% ÒÔÏÂΪÕýÎÄ¡£
\mainmatter
% Ð÷ÑÔ¡£
\include{chap/introduction}
% ¸÷Õ½ڡ£
\include{chap/chap1}
% ½áÂÛ¡£
\include{chap/conclusion}
% ÕýÎÄÖеĸ½Â¼²¿·Ö¡£
\appendix
% ÅÅ°æ²Î¿¼ÎÄÏ×ÁÐ±í¡£
\printbibliography[
% ʹ¡°²Î¿¼ÎÄÏס±³öÏÖÔÚĿ¼ÖУ»Èç¹ûͬʱҪʹ²Î¿¼ÎÄÏ×Áбí²ÎÓëÕ½ڱàºÅ£¬
% ¿É½«¡°bibintoc¡±¸ÄΪ¡°bibnumbered¡±¡£
heading = bibintoc,
% µ¥¶ÀÉ趨ÅÅÐò·½°¸¡£´ËÉ趨»á¾Ö²¿¸²¸Ç֮ǰµÄÈ«¾ÖÉèÖá£
% ×¢£ºÖ»ÓÐͬʱʹÓà 2.x »òÖ®ºó°æ±¾µÄ biblatex ºÍÏàÓ¦¼æÈÝ°æ±¾µÄ biber£¬
% ²ÅÄܶÔÿ¸ö \printbibliography ÃüÁî²ÉÓò»Í¬µÄÅÅÐò·½°¸£¬
% ·ñÔòÖ»ÄÜÔÚµ¼Èë biblatex ºê°üʱ¾Í£¨È«¾Ö£©Ö¸¶¨ÅÅÐò·½°¸¡£
% ÔÚÕâÑùµÄÇé¿öÏ£¬ÇëÈ¥µôËùÓÐµÄ sorting Ñ¡Ï·ñÔò¿ÉÄܳö´í¡£
sorting = ecnty
]
% ¸÷¸½Â¼¡£
\include{chap/encl1}
% ÒÔÏÂΪÕýÎÄÖ®ºóµÄ²¿·Ö¡£
\backmatter
% ÖÂл¡£
\include{chap/acknowledge}
% Ô´´ÐÔÉùÃ÷ºÍʹÓÃÊÚȨ˵Ã÷¡£
\include{chap/originauth}
\end{document}
|