| 1 |
% Documentation for pkuthss. |
| 2 |
% |
| 3 |
% Copyright (c) 2008-2009 solvethis |
| 4 |
% Copyright (c) 2010-2016,2018-2019,2021,2024 Casper Ti. Vector |
| 5 |
% |
| 6 |
% This work may be distributed and/or modified under the conditions of the |
| 7 |
% LaTeX Project Public License, either version 1.3 of this license or (at |
| 8 |
% your option) any later version. |
| 9 |
% The latest version of this license is in |
| 10 |
% https://www.latex-project.org/lppl.txt |
| 11 |
% and version 1.3 or later is part of all distributions of LaTeX version |
| 12 |
% 2005/12/01 or later. |
| 13 |
% |
| 14 |
% This work has the LPPL maintenance status `maintained'. |
| 15 |
% The current maintainer of this work is Casper Ti. Vector. |
| 16 |
% |
| 17 |
% This work consists of the following files: |
| 18 |
% pkuthss.tex |
| 19 |
% pkuthss.bib |
| 20 |
% chap/pkuthss-copy.tex |
| 21 |
% chap/pkuthss-abs.tex |
| 22 |
% chap/pkuthss-intro.tex |
| 23 |
% chap/pkuthss-chap1.tex |
| 24 |
% chap/pkuthss-chap2.tex |
| 25 |
% chap/pkuthss-chap3.tex |
| 26 |
% chap/pkuthss-concl.tex |
| 27 |
% chap/pkuthss-encl1.tex |
| 28 |
% chap/pkuthss-ack.tex |
| 29 |
|
| 30 |
\documentclass[UTF8]{pkuthss} |
| 31 |
\usepackage[ |
| 32 |
backend = biber, style = caspervector, utf8, |
| 33 |
sorting = ecnyt, giveninits = true, sortgiveninits = true |
| 34 |
]{biblatex} |
| 35 |
\usepackage{iftex, fancyvrb, hologo} |
| 36 |
|
| 37 |
\hypersetup{colorlinks = true, allcolors = blue} |
| 38 |
\ctexset{linestretch = 2\ccwd} |
| 39 |
\setlength{\hfuzz}{3pt} |
| 40 |
\setlength{\bibitemsep}{3bp} |
| 41 |
\renewcommand*{\bibfont}{\zihao{5}\linespread{1.27}\selectfont} |
| 42 |
|
| 43 |
\newcommand*{\cupercite}[1]{\supercite{#1}\mbox{}} |
| 44 |
\newcommand{\myemph}[1]{\emph{\textcolor{red}{#1}}} |
| 45 |
\newcommand{\unemph}[1]{\textup{\textcolor{black}{#1}}} |
| 46 |
\RecustomVerbatimEnvironment{Verbatim}{Verbatim}% |
| 47 |
{frame = single, tabsize = 4, formatcom = {\ifXeTeX\xeCJKVerbAddon\fi}} |
| 48 |
\RecustomVerbatimCommand{\VerbatimInput}{VerbatimInput}{ |
| 49 |
fontsize = {\small}, baselinestretch = 1, |
| 50 |
tabsize = 4, formatcom = {\ifXeTeX\xeCJKVerbAddon\fi} |
| 51 |
} |
| 52 |
|
| 53 |
\newif\ifblind\blindfalse |
| 54 |
\newcommand*{\docversion}{v1.9.4} |
| 55 |
\pkuthssinfo{ |
| 56 |
cthesisname = {本科生毕业论文}, ethesisname = {Undergraduate Thesis}, |
| 57 |
ctitle = {北京大学学位论文模版{\thssnl}pkuthss \docversion}, |
| 58 |
etitle = {% |
| 59 |
PKU dissertation document class% |
| 60 |
\texorpdfstring{\thssnl}{: }pkuthss \docversion% |
| 61 |
}, |
| 62 |
cauthor = {盖茨波·钛·维克托}, eauthor = {Casper Ti.\ Vector}, |
| 63 |
date = {\zhdigits{2024}年\zhnumber{3}月}, |
| 64 |
studentid = {00910???}, school = {化学与分子工程学院}, |
| 65 |
cmajor = {应用化学}, emajor = {Applied Chemistry}, |
| 66 |
direction = {据说 Casper 自己也不知道}, mentorlines = {2}, |
| 67 |
cmentor = {XX 教授\\YY 教授}, |
| 68 |
ementor = {Prof.\ XX and Prof.\ YY}, |
| 69 |
ckeywords = {\hologo{LaTeX},排版,文档类,\CTeX{}}, |
| 70 |
ekeywords = {\hologo{LaTeX}, Typesetting, Document class, \CTeX{}}, |
| 71 |
degreetype = {0}, blindid = {???01900}, discipline = {化学} |
| 72 |
} |
| 73 |
\addbibresource{pkuthss.bib} |
| 74 |
|
| 75 |
\begin{document} |
| 76 |
\frontmatter |
| 77 |
\pagestyle{empty} |
| 78 |
\ifblind\makeblind\else\maketitle\fi |
| 79 |
\cleardoublepage |
| 80 |
\include{chap/pkuthss-copy} |
| 81 |
|
| 82 |
\cleardoublepage |
| 83 |
\pagestyle{plain} |
| 84 |
\setcounter{page}{0} |
| 85 |
\pagenumbering{Roman} |
| 86 |
\include{chap/pkuthss-abs} |
| 87 |
\tableofcontents |
| 88 |
|
| 89 |
\mainmatter |
| 90 |
\include{chap/pkuthss-intro} |
| 91 |
\include{chap/pkuthss-chap1} |
| 92 |
\include{chap/pkuthss-chap2} |
| 93 |
\include{chap/pkuthss-chap3} |
| 94 |
\include{chap/pkuthss-concl} |
| 95 |
|
| 96 |
\appendix |
| 97 |
\printbibliography[heading = bibintoc] |
| 98 |
\include{chap/pkuthss-encl1} |
| 99 |
|
| 100 |
\backmatter |
| 101 |
\ifblind\else\include{chap/pkuthss-ack}\fi |
| 102 |
\include{chap/origin} |
| 103 |
\end{document} |
| 104 |
|
| 105 |
% vim:ts=4:sw=4 |