Add `\thesiscover' for possibly different thesis name on the cover.
This commit is contained in:
parent
3b9f74603c
commit
ed84206b8d
@ -27,7 +27,8 @@
|
||||
|
||||
% 设定文档的基本信息。
|
||||
\pkuthssinfo{
|
||||
cthesisname = {博士研究生学位论文}, ethesisname = {Doctor Thesis},
|
||||
cthesisname = {博士学位论文}, ethesisname = {Doctor Thesis},
|
||||
thesiscover = {博士研究生学位论文},
|
||||
ctitle = {测试文档},
|
||||
etitle = {Test Document},
|
||||
cauthor = {某某}, eauthor = {Test}, date = {某年某月},
|
||||
|
||||
@ -195,16 +195,20 @@
|
||||
\item \texttt{\bfseries\string\euniversity}:大学的西文名。
|
||||
\item \texttt{\bfseries\string\cthesisname}:论文类别的中文名。
|
||||
\item \texttt{\bfseries\string\ethesisname}:论文类别的西文名。
|
||||
\item \texttt{\bfseries\string\thesiscover}:封面显示的论文类别\footnote{%
|
||||
出于兼容性的考虑,如果 \texttt{\string\thesiscover} 为空,
|
||||
那么封面将显示 \texttt{\string\cthesisname}。%
|
||||
}。
|
||||
\item \texttt{\bfseries\string\cabstractname}:摘要的中文标题。
|
||||
\item \texttt{\bfseries\string\eabstractname}:摘要的西文标题。
|
||||
\end{itemize}
|
||||
|
||||
例如,
|
||||
如果要设定论文的类别为“本科生毕业论文”(“Undergraduate Thesis”),
|
||||
则可以使用以下命令:
|
||||
例如,如果要设定论文的类别为“博士学位论文”(“Doctor Thesis”),
|
||||
但封面要显示“博士研究生学位论文”,则可以使用以下命令:
|
||||
\begin{Verbatim}
|
||||
\renewcommand{\cthesisname}{本科生毕业论文}
|
||||
\renewcommand{\ethesisname}{Undergraduate Thesis}
|
||||
\renewcommand{\cthesisname}{博士学位论文}
|
||||
\renewcommand{\ethesisname}{Doctor Thesis}
|
||||
\renewcommand{\thesiscover}{博士研究生学位论文}
|
||||
\end{Verbatim}
|
||||
|
||||
\subsection{以“key = value”格式设置文档信息}
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
% Peking University dissertation document class
|
||||
%
|
||||
% Copyright (c) 2008-2009 solvethis
|
||||
% Copyright (c) 2010-2013,2015 Casper Ti. Vector
|
||||
% Copyright (c) 2010-2013,2015,2021 Casper Ti. Vector
|
||||
%
|
||||
% This work may be distributed and/or modified under the conditions of the
|
||||
% LaTeX Project Public License, either version 1.3 of this license or (at
|
||||
@ -39,8 +39,9 @@
|
||||
\def\titlepagename{封面}
|
||||
\def\cuniversity{北京大学}
|
||||
\def\euniversity{Peking University}
|
||||
\def\cthesisname{博士研究生学位论文}
|
||||
\def\cthesisname{博士学位论文}
|
||||
\def\ethesisname{Doctor Thesis}
|
||||
\def\thesiscover{}
|
||||
\def\cabstractname{摘要}
|
||||
\def\eabstractname{ABSTRACT}
|
||||
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
% Peking University dissertation document class
|
||||
%
|
||||
% Copyright (c) 2008-2009 solvethis
|
||||
% Copyright (c) 2010-2013,2015 Casper Ti. Vector
|
||||
% Copyright (c) 2010-2013,2015,2021 Casper Ti. Vector
|
||||
%
|
||||
% This work may be distributed and/or modified under the conditions of the
|
||||
% LaTeX Project Public License, either version 1.3 of this license or (at
|
||||
@ -39,8 +39,9 @@
|
||||
\def\titlepagename{封面}
|
||||
\def\cuniversity{北京大学}
|
||||
\def\euniversity{Peking University}
|
||||
\def\cthesisname{博士研究生学位论文}
|
||||
\def\cthesisname{博士学位论文}
|
||||
\def\ethesisname{Doctor Thesis}
|
||||
\def\thesiscover{}
|
||||
\def\cabstractname{摘要}
|
||||
\def\eabstractname{ABSTRACT}
|
||||
|
||||
|
||||
@ -239,6 +239,7 @@
|
||||
\thss@int@infoitemb{euniversity}
|
||||
\thss@int@infoitemb{cthesisname}
|
||||
\thss@int@infoitemb{ethesisname}
|
||||
\thss@int@infoitemb{thesiscover}
|
||||
\thss@int@infoitemb{cabstractname}
|
||||
\thss@int@infoitemb{eabstractname}
|
||||
% Set up document information using the `key = value' grammar.
|
||||
@ -350,7 +351,7 @@
|
||||
\zihao{1}%
|
||||
\includegraphics[height = 2.4em]{pkulogo}\hspace{0.4em}%
|
||||
\raisebox{0.4em}{\includegraphics[height = 1.6em]{pkuword}}\\[0.8em]
|
||||
{\bfseries{\cthesisname}}%
|
||||
{\bfseries\ifx\thesiscover\empty{\cthesisname}\else{\thesiscover}\fi}%
|
||||
}
|
||||
\vfill
|
||||
% Title of the thesis.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user