Greatly improve format compliance (thank @Kurapikov).
This commit is contained in:
parent
ed84206b8d
commit
0348131da5
@ -1,5 +1,6 @@
|
||||
% Copyright (c) 2008-2009 solvethis
|
||||
% Copyright (c) 2010-2017 Casper Ti. Vector
|
||||
% Copyright (c) 2010-2017,2021 Casper Ti. Vector
|
||||
% Copyright (c) 2021 Kurapica
|
||||
% All rights reserved.
|
||||
%
|
||||
% Redistribution and use in source and binary forms, with or without
|
||||
@ -31,10 +32,11 @@
|
||||
\ctexset{section = {
|
||||
format+ = {\centering}, beforeskip = {40bp}, afterskip = {15bp}
|
||||
}}
|
||||
|
||||
% 学校书面要求本页面不要页码,但在给出的 Word 模版中又有页码且编入了目录。
|
||||
% 此处以 Word 模版为实际标准进行设定。
|
||||
\specialchap{北京大学学位论文原创性声明和使用授权说明}
|
||||
|
||||
% 学校书面要求本页面不要页码,但在给出的 Word 模版中又有页码。
|
||||
% 此处以学校书面要求为准。
|
||||
\thispagestyle{empty}
|
||||
\mbox{}\vspace*{-3em}
|
||||
\section*{原创性声明}
|
||||
|
||||
|
||||
@ -9,6 +9,7 @@
|
||||
% texdoc biblatex-caspervector
|
||||
% 调出。
|
||||
|
||||
% 如果格式审查提示字号不严格符合标准,可以在 [] 中加入“ugly”选项。
|
||||
\documentclass[UTF8]{pkuthss}
|
||||
% 如果的确须要使脚注按页编号的话,可以去掉后面 footmisc 包的注释。
|
||||
%\usepackage[perpage]{footmisc}
|
||||
@ -18,6 +19,8 @@
|
||||
% 若须按照中文文献在前,西文文献在后排序,请设置“sorting = cenyt”;
|
||||
% 若须按照引用顺序排序,请设置“sorting = none”。
|
||||
% 若须在排序中实现更复杂的需求,请参考 biblatex-caspervector 的文档。
|
||||
% biblatex-caspervector 也有一个“ugly”选项,使其更像国标格式;此外也可考虑
|
||||
% 改用 style = gb7714-2015 并去掉后面两选项,详见 biblatex-gb7714 的文档。
|
||||
\usepackage[backend = biber, style = caspervector, utf8, sorting = ecnyt]{biblatex}
|
||||
|
||||
% 对于 linespread 值的计算过程有兴趣的同学可以参考 pkuthss.cls。
|
||||
|
||||
@ -33,6 +33,8 @@
|
||||
版权所有 \copyright\ 2008--2009 solvethis
|
||||
\par
|
||||
版权所有 \copyright\ 2010--2021 Casper Ti. Vector
|
||||
\par
|
||||
版权所有 \copyright\ 2021 Kurapica
|
||||
\vskip 1em
|
||||
|
||||
pkuthss 文档类及其说明文档均以 \hologo{LaTeX} Project Public License 发布。
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
%
|
||||
% Copyright (c) 2008-2009 solvethis
|
||||
% Copyright (c) 2010-2021 Casper Ti. Vector
|
||||
% Copyright (c) 2021 Kurapica
|
||||
%
|
||||
% 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
|
||||
@ -150,9 +151,14 @@
|
||||
% `tocloft'; it clashes with `subfigure'/`subfig', but the error message will
|
||||
% say they cannot be used simultaneously.
|
||||
\RequirePackage{caption, subcaption}
|
||||
\DeclareCaptionFont{cfive}{\zihao{5}}
|
||||
\ifthss@opt@ugly
|
||||
\DeclareCaptionFont{capfsize}{\fontsize{11bp}{13.2bp}}
|
||||
\else
|
||||
\DeclareCaptionFont{capfsize}{\zihao{5}}
|
||||
\fi
|
||||
\DeclareCaptionLabelSeparator{quad}{\quad}
|
||||
\captionsetup{font = cfive, labelsep = quad}
|
||||
\captionsetup{font = capfsize, labelsep = quad}
|
||||
\captionsetup[sub]{font = capfsize, labelsep = quad}
|
||||
\fi
|
||||
|
||||
\ifthss@opt@spacing
|
||||
@ -246,10 +252,12 @@
|
||||
\newcommand*{\pkuthssinfo}[1]{\setkeys{thss@info}{#1}}
|
||||
|
||||
% Set up page layout.
|
||||
\geometry{
|
||||
a4paper, hmargin = 2.6cm, top = 2.92cm, bottom = 3.03cm,
|
||||
headheight = 0.45cm, headsep = 0.59cm, footskip = 1.05cm
|
||||
}
|
||||
\geometry{a4paper, hmargin = 2.6cm, headheight = 0.5cm, headsep = 0.6cm}
|
||||
\ifthss@opt@ugly
|
||||
\geometry{top = 3.1cm, bottom = 3.0cm, footskip = 0.8cm}
|
||||
\else
|
||||
\geometry{top = 3.0cm, bottom = 3.1cm, footskip = 1.1cm}
|
||||
\fi
|
||||
|
||||
% Set up chapter/section/... captions.
|
||||
% The `*skip' values are not supposed to be modified by the `ugly' option:
|
||||
@ -259,29 +267,29 @@
|
||||
\setcounter{secnumdepth}{3}
|
||||
\setcounter{tocdepth}{2}
|
||||
\ctexset{
|
||||
chapter = {
|
||||
beforeskip = {0bp}, afterskip = {18bp plus 0.2ex},
|
||||
nameformat = {}, titleformat = {}
|
||||
}, section =
|
||||
chapter = {beforeskip = {0bp}, afterskip = {18bp plus 0.2ex}},
|
||||
section =
|
||||
{beforeskip = {20bp plus 1ex minus 0.2ex}, afterskip = {5bp plus 0.2ex}},
|
||||
subsection =
|
||||
{beforeskip = {12bp plus 1ex minus 0.2ex}, afterskip = {5bp plus 0.2ex}},
|
||||
subsubsection =
|
||||
{beforeskip = {12bp plus 1ex minus 0.2ex}, afterskip = {5bp plus 0.2ex}}
|
||||
}
|
||||
\ctexset{
|
||||
chapter = {nameformat = {}, titleformat = {}},
|
||||
subsubsection = {format = {\zihao{-4}\bfseries}}
|
||||
}
|
||||
\ifthss@opt@ugly
|
||||
\ctexset{
|
||||
chapter = {format = {\zihao{3}\bfseries\centering}},
|
||||
section = {format = {\zihao{4}\bfseries}},
|
||||
subsection = {format = {\fontsize{13bp}{15.6bp}\selectfont\bfseries}},
|
||||
subsubsection = {format = {\zihao{-4}\bfseries}}
|
||||
subsection = {format = {\fontsize{13bp}{15.6bp}\selectfont\bfseries}}
|
||||
}
|
||||
\else
|
||||
\ctexset{
|
||||
chapter = {format = {\zihao{-2}\bfseries\centering}},
|
||||
section = {format = {\zihao{-3}\bfseries}},
|
||||
subsection = {format = {\zihao{4}\bfseries}},
|
||||
subsubsection = {format = {\bfseries}}
|
||||
subsection = {format = {\zihao{4}\bfseries}}
|
||||
}
|
||||
\fi
|
||||
|
||||
@ -348,15 +356,20 @@
|
||||
\begin{titlepage}\begingroup\centering
|
||||
% Emblem and inscription of the university, and type of thesis.
|
||||
{%
|
||||
\zihao{1}%
|
||||
\includegraphics[height = 2.4em]{pkulogo}\hspace{0.4em}%
|
||||
\raisebox{0.4em}{\includegraphics[height = 1.6em]{pkuword}}\\[0.8em]
|
||||
\ifthss@opt@ugly%
|
||||
\zihao{-0}\includegraphics[height = 1.9em]{pkulogo}\hspace{0.3em}%
|
||||
\raisebox{0.32em}{\includegraphics[height = 1.3em]{pkuword}}\\[0.5em]
|
||||
\else%
|
||||
\zihao{1}\includegraphics[height = 2.4em]{pkulogo}\hspace{0.4em}%
|
||||
\raisebox{0.4em}{\includegraphics[height = 1.6em]{pkuword}}\\[0.8em]
|
||||
\fi%
|
||||
{\bfseries\ifx\thesiscover\empty{\cthesisname}\else{\thesiscover}\fi}%
|
||||
}
|
||||
\vfill
|
||||
% Title of the thesis.
|
||||
{%
|
||||
\zihao{2}\linespread{1.6}\selectfont{\label@ctitle}%
|
||||
\ifthss@opt@ugly\zihao{-1}\else\zihao{2}\fi%
|
||||
\linespread{1.6}\selectfont{\label@ctitle}%
|
||||
\thss@int@fillinblank{2}{0.64\textwidth}{\textbf{\@ctitle}}%
|
||||
}
|
||||
\vfill
|
||||
|
||||
Loading…
Reference in New Issue
Block a user