<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% Copyright (c) 2008-2009 solvethis
% Copyright (c) 2010-2016,2018-2019,2021-2022,2024 Casper Ti. Vector
% Copyright (c) 2021 Kurapica
% Public domain.
%
% ä½¿ç”¨å‰è¯·å…ˆä»”ç»†é˜…è¯» pkuthss å’Œ biblatex-caspervector çš„æ–‡æ¡£ï¼Œ
% ç‰¹åˆ«æ˜¯å…¶ä¸­çš„ FAQ éƒ¨åˆ†å’Œç”¨çº¢è‰²å¼ºè°ƒçš„éƒ¨åˆ†ã€‚
% ä¸¤è€…å¯åœ¨ç»ˆç«¯/å‘½ä»¤æç¤ºç¬¦ä¸­ç”¨
%   texdoc pkuthss
%   texdoc biblatex-caspervector
% è°ƒå‡ºã€‚

% å¦‚æžœæ&nbsp;¼å¼å®¡æŸ¥æç¤ºå­—å·ä¸ä¸¥æ&nbsp;¼ç¬¦åˆæ&nbsp;‡å‡†ï¼Œå¯ä»¥åœ¨ [] ä¸­åŠ&nbsp;å…¥â€œuglyâ€é€‰é¡¹ã€‚
\documentclass[UTF8]{pkuthss}
% å¦‚æžœçš„ç¡®é¡»è¦ä½¿è„šæ³¨æŒ‰é¡µç¼–å·çš„è¯ï¼Œå¯ä»¥åŽ»æŽ‰åŽé¢ footmisc åŒ…çš„æ³¨é‡Šã€‚
%\usepackage[perpage]{footmisc}

% ä½¿ç”¨ biblatex æŽ’ç‰ˆå‚è€ƒæ–‡çŒ®ï¼Œå¹¶è§„å®šå…¶æ&nbsp;¼å¼ï¼ˆè¯¦è§ biblatex-caspervector çš„æ–‡æ¡£ï¼‰ã€‚
% è¿™é‡ŒæŒ‰ç…§è¥¿æ–‡æ–‡çŒ®åœ¨å‰ï¼Œä¸­æ–‡æ–‡çŒ®åœ¨åŽæŽ’åºï¼ˆâ€œsorting = ecnytâ€ï¼‰ï¼›
% è‹¥é¡»æŒ‰ç…§ä¸­æ–‡æ–‡çŒ®åœ¨å‰ï¼Œè¥¿æ–‡æ–‡çŒ®åœ¨åŽæŽ’åºï¼Œè¯·è®¾ç½®â€œsorting = cenytâ€ï¼›
% è‹¥é¡»æŒ‰ç…§å¼•ç”¨é¡ºåºæŽ’åºï¼Œè¯·è®¾ç½®â€œsorting = noneâ€ã€‚
% è‹¥é¡»åœ¨æŽ’åºä¸­å®žçŽ°æ›´å¤æ‚çš„éœ€æ±‚ï¼Œè¯·å‚è€ƒ biblatex-caspervector çš„æ–‡æ¡£ã€‚
% biblatex-caspervector ä¹Ÿæœ‰ä¸€ä¸ªâ€œuglyâ€é€‰é¡¹ï¼Œä½¿å…¶æ›´åƒå›½æ&nbsp;‡æ&nbsp;¼å¼ï¼›æ­¤å¤–ä¹Ÿå¯è€ƒè™‘
% æ”¹ç”¨ style = gb7714-2015 å¹¶åŽ»æŽ‰ä¹‹åŽä¸¤é€‰é¡¹ï¼Œè¯¦è§ biblatex-gb7714-2015 çš„æ–‡æ¡£ã€‚
\usepackage[backend = biber, style = caspervector, utf8, sorting = ecnyt]{biblatex}

% å¯¹äºŽ linespread å€¼çš„è®¡ç®—è¿‡ç¨‹æœ‰å…´è¶£çš„åŒå­¦å¯ä»¥å‚è€ƒ pkuthss.clsã€‚
\renewcommand*{\bibfont}{\zihao{5}\linespread{1.27}\selectfont}
% æŒ‰å­¦æ&nbsp;¡è¦æ±‚è®¾å®šå‚è€ƒæ–‡çŒ®åˆ—è¡¨çš„æ®µé—´è·ã€‚
\setlength{\bibitemsep}{3bp}

% å¦‚æ˜¯åŒç›²ç‰ˆè®ºæ–‡ï¼Œå°† \blindfalse æ”¹ä¸º \blindtrueã€‚åŽé¢å¯ç”¨
% \ifblind æ&nbsp;¹æ®æ˜¯å¦åŒç›²æ¥æ¡ä»¶åœ°å¯ç”¨ä»£ç&nbsp;ï¼ˆå‚è§æœ¬æ–‡ä»¶åŽé¢éƒ¨åˆ†ï¼‰ã€‚
\newif\ifblind\blindfalse
% è®¾å®šæ–‡æ¡£çš„åŸºæœ¬ä¿¡æ¯ã€‚
\pkuthssinfo{
	cthesisname = {åšå£«å­¦ä½è®ºæ–‡}, ethesisname = {Doctor Thesis},
	thesiscover = {åšå£«ç&nbsp;”ç©¶ç”Ÿå­¦ä½è®ºæ–‡},
	% é•¿æ&nbsp;‡é¢˜å¯ç”¨ \thssnl å¼ºåˆ¶æ¢è¡Œï¼Œä¸èƒ½ç”¨â€œ\\â€ï¼ˆåŒç›²ç‰ˆä¼šå‡ºé”™ï¼‰ã€‚
	ctitle = {æµ‹è¯•æ–‡æ¡£},
	etitle = {Test Document},
	cauthor = {æŸæŸ}, eauthor = {Test}, date = {æŸå¹´æŸæœˆ},
	studentid = {0123456789}, school = {æŸæŸå­¦é™¢},
	cmajor = {æŸæŸä¸“ä¸š}, emajor = {Some Major},
	direction = {æŸæŸæ–¹å‘}, mentorlines = {2},
	cmentor = {æŸç”²æ•™æŽˆ\\æŸä¹™æ•™æŽˆ},
	ementor = {Prof.\ Somebody and Prof.\ Someone},
	ckeywords = {å…¶ä¸€ï¼Œå…¶äºŒ},
	ekeywords = {First, Second},
	% 1ï¼šå­¦æœ¯å­¦ä½ï¼Œ2ï¼šä¸“ä¸šå­¦ä½ï¼Œ0ï¼šä¸æ˜¾ç¤ºå­¦ä½ç±»åž‹ã€‚
	degreetype = {1},
	% ä»¥ä¸‹ä¸¤é¡¹æ—&nbsp;åŒç›²è¯„å®¡éœ€æ±‚çš„ç”¨æˆ·å¯ä¿æŒåŽŸçŠ¶ã€‚
	% æ³¨æ„ discipline/major åˆ†åˆ«æŒ‡ä¸€/äºŒçº§å­¦ç§‘ã€‚
	blindid = {9876543210}, discipline = {æŸæŸå­¦ç§‘}
}
% è½½å…¥å‚è€ƒæ–‡çŒ®æ•°æ®åº“ï¼ˆæ³¨æ„ä¸è¦çœç•¥â€œ.bibâ€ï¼‰ã€‚
\addbibresource{thesis.bib}

% æ™®é€šç”¨æˆ·å¯åˆ&nbsp;é™¤æ­¤æ®µï¼Œå¹¶ç›¸åº”åœ°åˆ&nbsp;é™¤ chap/*.tex ä¸­çš„
% â€œ\pkuthssffaq % ä¸­æ–‡æµ‹è¯•æ–‡å­—ã€‚â€ä¸€è¡Œã€‚
\usepackage{color}
\def\pkuthssffaq{%
	\emph{\textcolor{red}{pkuthss æ–‡æ¡£æ¨¡ç‰ˆæœ€å¸¸è§é—®é¢˜ï¼š}}

	\texttt{\string\cite}ã€\texttt{\string\parencite} %
	å’Œ \texttt{\string\supercite} ä¸‰ä¸ªå‘½ä»¤åˆ†åˆ«äº§ç”Ÿ%
	æœªæ&nbsp;¼å¼åŒ–çš„ã€å¸¦æ–¹æ‹¬å·çš„å’Œä¸Šæ&nbsp;‡ä¸”å¸¦æ–¹æ‹¬å·çš„å¼•ç”¨æ&nbsp;‡è®°ï¼š%
	\cite{test-en}ï¼Œ\parencite{test-zh}ã€\supercite{test-en, test-zh}ã€‚

	è‹¥æ&nbsp;¼å¼å®¡æŸ¥æ—¶æç¤ºå­—å·æˆ–å…¶å®ƒæ&nbsp;¼å¼ç»†èŠ‚é—®é¢˜ï¼Œè¯·å¯ç”¨ pkuthss çš„ \texttt{ugly}
	é€‰é¡¹ï¼ŒåŒæ—¶å¯ä»¥è€ƒè™‘å¯ç”¨ biblatex-caspervector çš„ \texttt{ugly} é€‰é¡¹
	æˆ–è€…æ¢ç”¨ biblatex-gb7714-2015ï¼Œè¯¦è§ \texttt{thesis.tex} ä¸­ç›¸å…³æ³¨é‡Šã€‚

	ç”Ÿæˆçš„ PDF æ–‡ä»¶ä¸­æ&nbsp;‡è®°é“¾æŽ¥çš„å½©è‰²æ¡†ä¸ä¼šå‡ºçŽ°åœ¨æ‰“å°ç‰ˆè®ºæ–‡ä¸­ã€‚
	å¦‚ä»é¡»åŽ»æŽ‰ï¼Œå¯åœ¨ \texttt{thesis.tex} å¯¼è¨€åŒºåŠ&nbsp;å…¥
	\texttt{\string\hypersetup\string{hidelinks\string}}ã€‚

	è‹¥è¦é¿å…ç«&nbsp;æœ«ç©ºç™½é¡µï¼Œè¯·åœ¨è°ƒç”¨ pkuthss æ–‡æ¡£ç±»æ—¶åŠ&nbsp;å…¥ \texttt{openany} é€‰é¡¹ã€‚

	å¦‚æžœç¼–è¯‘æ—¶ä¸å‡ºå‚è€ƒæ–‡çŒ®ï¼Œ
	è¯·å‚è€ƒ \texttt{texdoc pkuthss}â€œé—®é¢˜åŠå…¶è§£å†³â€ä¸€ç«&nbsp;
	â€œä¸Šæ¸¸å®åŒ…å¯èƒ½å¼•èµ·çš„é—®é¢˜â€ä¸€èŠ‚ä¸­å…³äºŽ biber çš„è¯´æ˜Žã€‚

	å›&nbsp;æ—&nbsp;æ³•å‡å®šç”¨æˆ·ä½¿ç”¨å“ªç§æ–¹å¼æŽ’ç‰ˆè¡¨æ&nbsp;¼ï¼Œç”¨æˆ·é¡»è‡ªè¡Œä¿è¯è¡¨æ&nbsp;¼å­—å·ç¬¦åˆå­¦æ&nbsp;¡è§„å®šã€‚%
}

\begin{document}
	% ä»¥ä¸‹ä¸ºæ­£æ–‡ä¹‹å‰çš„éƒ¨åˆ†ï¼Œé»˜è®¤ä¸è¿›è¡Œç«&nbsp;èŠ‚ç¼–å·ã€‚
	\frontmatter
	% æ­¤åŽåˆ°ä¸‹ä¸€ \pagestyle å‘½ä»¤ä¹‹å‰ä¸æŽ’ç‰ˆé¡µçœ‰æˆ–é¡µè„šã€‚
	\pagestyle{empty}
	% è‡ªåŠ¨ç”Ÿæˆå°é¢ã€‚
	\ifblind\makeblind\else\maketitle\fi
	% ç‰ˆæƒå£°æ˜Žã€‚å°é¢è¦æ±‚å•é¢æ‰“å°ï¼Œæ•…é¡»æ–°å¼€å³é¡µã€‚
	\cleardoublepage
	\include{chap/copy}

	% æ­¤åŽåˆ°ä¸‹ä¸€ \pagestyle å‘½ä»¤ä¹‹å‰æ­£å¸¸æŽ’ç‰ˆé¡µçœ‰å’Œé¡µè„šã€‚
	\cleardoublepage
	\pagestyle{plain}
	% é‡ç½®é¡µç&nbsp;è®¡æ•°å™¨ï¼Œç”¨å¤§å†™ç½—é©¬æ•°å­—æŽ’ç‰ˆæ­¤éƒ¨åˆ†é¡µç&nbsp;ã€‚
	\setcounter{page}{0}
	\pagenumbering{Roman}
	% ä¸­è¥¿æ–‡æ‘˜è¦ã€‚
	\include{chap/abs}
	% è‡ªåŠ¨ç”Ÿæˆç›®å½•ã€‚
	\tableofcontents

	% ä»¥ä¸‹ä¸ºæ­£æ–‡éƒ¨åˆ†ï¼Œé»˜è®¤è¦è¿›è¡Œç«&nbsp;èŠ‚ç¼–å·ã€‚
	\mainmatter
	% å„ç«&nbsp;èŠ‚ã€‚
	\include{chap/chap1}
	\include{chap/chap2}
	\include{chap/chap3}

	% æ­£æ–‡ä¸­çš„é™„å½•éƒ¨åˆ†ã€‚
	\appendix
	% æŽ’ç‰ˆå‚è€ƒæ–‡çŒ®åˆ—è¡¨ã€‚bibintoc é€‰é¡¹ä½¿â€œå‚è€ƒæ–‡çŒ®â€å‡ºçŽ°åœ¨ç›®å½•ä¸­ï¼›
	% å¦‚æžœåŒæ—¶è¦ä½¿å‚è€ƒæ–‡çŒ®åˆ—è¡¨å‚ä¸Žç«&nbsp;èŠ‚ç¼–å·ï¼Œå¯å°†â€œbibintocâ€æ”¹ä¸ºâ€œbibnumberedâ€ã€‚
	\printbibliography[heading = bibintoc, title = {å‚è€ƒæ–‡çŒ®}]
	% å„é™„å½•ã€‚
	\include{chap/encl1}

	% ä»¥ä¸‹ä¸ºæ­£æ–‡ä¹‹åŽçš„éƒ¨åˆ†ï¼Œé»˜è®¤ä¸è¿›è¡Œç«&nbsp;èŠ‚ç¼–å·ã€‚
	\backmatter
	% è‡´è°¢ã€‚
	\ifblind\else\include{chap/ack}\fi
	% åŽŸåˆ›æ€§å£°æ˜Žå’Œä½¿ç”¨æŽˆæƒè¯´æ˜Žã€‚
	\include{chap/origin}
\end{document}

% vim:ts=4:sw=4
</pre></body></html>