summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pkuthss/tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-11-16 03:00:48 +0000
committerNorbert Preining <norbert@preining.info>2019-11-16 03:00:48 +0000
commitbad81a00a2943d1fb7ff2de3d0ae48c049dac302 (patch)
treeca23b6ca941037d20dce638d0859309f3c48c66d /macros/latex/contrib/pkuthss/tex
parent0e223aaa93c5ee0c0e937c23f75535269324d217 (diff)
CTAN sync 201911160300
Diffstat (limited to 'macros/latex/contrib/pkuthss/tex')
-rw-r--r--macros/latex/contrib/pkuthss/tex/pkulogo.pdfbin3641 -> 3641 bytes
-rw-r--r--macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def2
-rw-r--r--macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def2
-rw-r--r--macros/latex/contrib/pkuthss/tex/pkuthss.cls25
-rw-r--r--macros/latex/contrib/pkuthss/tex/pkuword.pdfbin6392 -> 6392 bytes
5 files changed, 16 insertions, 13 deletions
diff --git a/macros/latex/contrib/pkuthss/tex/pkulogo.pdf b/macros/latex/contrib/pkuthss/tex/pkulogo.pdf
index 4d4fd3a58a..629fab21e0 100644
--- a/macros/latex/contrib/pkuthss/tex/pkulogo.pdf
+++ b/macros/latex/contrib/pkuthss/tex/pkulogo.pdf
Binary files differ
diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def b/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def
index 8c39301e69..8ebb0f6ea2 100644
--- a/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def
+++ b/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def
@@ -22,7 +22,7 @@
% pkuword.eps
\ProvidesFile{pkuthss-gbk.def}
- [2018/07/02 v1.8.0 Labels and captions in GBK encoding
+ [2019/11/15 v1.8.1 Labels and captions in GBK encoding
for the pkuthss document class]
\def\label@ctitle{ÌâÄ¿£º}
diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def b/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def
index b6996850e4..64cbcf129b 100644
--- a/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def
+++ b/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def
@@ -22,7 +22,7 @@
% pkuword.eps
\ProvidesFile{pkuthss-utf8.def}
- [2018/07/02 v1.8.0 Labels and captions in UTF-8 encoding
+ [2019/11/15 v1.8.1 Labels and captions in UTF-8 encoding
for the pkuthss document class]
\def\label@ctitle{题目:}
diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss.cls b/macros/latex/contrib/pkuthss/tex/pkuthss.cls
index 9e68dc3585..0e0c766eec 100644
--- a/macros/latex/contrib/pkuthss/tex/pkuthss.cls
+++ b/macros/latex/contrib/pkuthss/tex/pkuthss.cls
@@ -1,7 +1,7 @@
% Peking University dissertation document class
%
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2018 Casper Ti. Vector
+% Copyright (c) 2010-2019 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
@@ -23,7 +23,7 @@
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{pkuthss}
- [2018/07/02 v1.8.0 Peking University dissertation document class]
+ [2019/11/15 v1.8.1 Peking University dissertation document class]
% eg. `\thss@int@boolopt{spacing}{true}' will expand to:
% \newif\ifthss@opt@spacing \thss@opt@spacingtrue
@@ -65,6 +65,9 @@
% Prevent fontspec (loaded by xeCJK) from interfering with newtxmath.
\ifthss@opt@pkufont\PassOptionsToPackage{no-math}{fontspec}\fi
+% Work around the `\lvert already defined' error.
+% cf. <https://github.com/CTeX-org/ctex-kit/issues/454>.
+\ifthss@opt@pkufont\RequirePackage{amsmath}\fi
% pkuthss is based on ctexbook; we use `xiao 4' as default font size.
\LoadClass[zihao = -4]{ctexbook}[2014/03/06]
% ctex 2.x no longer loads ifpdf and ifxetex by itself.
@@ -123,7 +126,7 @@
}
% Use circled numbers as footnote symbols. Does not affect title page, but
% footnote is rarely used in dissertation covers ;)
- \renewcommand\thefootnote%
+ \renewcommand*{\thefootnote}%
{\protect\thss@int@circled{\arabic{footnote}}}
% Provides utility to modify footnote spacing.
% Option used to make sure it does not render interleaf pages totally blank.
@@ -167,7 +170,7 @@
\ifthss@opt@spechap
% This command is used to start a chapter without numbering, and correctly set
% up the headers and footers in the chapter.
- \newcommand\specialchap[1]{%
+ \newcommand{\specialchap}[1]{%
\chapter*{#1}\addcontentsline{toc}{chapter}{#1}
\markboth{#1}{}\phantomsection%
}
@@ -201,7 +204,7 @@
\let\thss@tmp@maketitle\maketitle
% NOTE: `\hypersetup' must appear before `\maketitle', otherwise it might
% not act as expected.
- \renewcommand\maketitle{\setpdfproperties\thss@tmp@maketitle}
+ \renewcommand{\maketitle}{\setpdfproperties\thss@tmp@maketitle}
\fi
}
@@ -244,7 +247,7 @@
% Set up page layout.
\geometry{
a4paper, hmargin = 2.6cm, top = 2.92cm, bottom = 3.03cm,
- headheight = 0.45cm, headsep = 0.55cm, footskip = 1.05cm
+ headheight = 0.45cm, headsep = 0.59cm, footskip = 1.05cm
}
% Set up chapter/section/... captions.
@@ -259,11 +262,11 @@
beforeskip = {0bp}, afterskip = {18bp plus 0.2ex},
nameformat = {}, titleformat = {}
}, section =
- {beforeskip = {20bp plus 1ex minus 0.2ex}, afterskip = {6bp plus 0.2ex}},
+ {beforeskip = {20bp plus 1ex minus 0.2ex}, afterskip = {5bp plus 0.2ex}},
subsection =
- {beforeskip = {12bp plus 1ex minus 0.2ex}, afterskip = {6bp plus 0.2ex}},
+ {beforeskip = {12bp plus 1ex minus 0.2ex}, afterskip = {5bp plus 0.2ex}},
subsubsection =
- {beforeskip = {12bp plus 1ex minus 0.2ex}, afterskip = {6bp plus 0.2ex}}
+ {beforeskip = {12bp plus 1ex minus 0.2ex}, afterskip = {5bp plus 0.2ex}}
}
\ifthss@opt@ugly
\ctexset{
@@ -341,7 +344,7 @@
\renewcommand{\maketitle}{%
\thss@int@pdfmark{\titlepagename}{titlepage}
% Make the title page centered.
- \begin{titlepage}\begin{center}
+ \begin{titlepage}\begingroup\centering
% Emblem and inscription of the university, and type of thesis.
{%
\zihao{1}%
@@ -379,7 +382,7 @@
\vfill
% Date.
{\zihao{-2}\@date}
- \end{center}\end{titlepage}%
+ \par\endgroup\end{titlepage}%
}
% Typeset the Chinese abstract.
diff --git a/macros/latex/contrib/pkuthss/tex/pkuword.pdf b/macros/latex/contrib/pkuthss/tex/pkuword.pdf
index d8bfa5fd17..e38fdcef3e 100644
--- a/macros/latex/contrib/pkuthss/tex/pkuword.pdf
+++ b/macros/latex/contrib/pkuthss/tex/pkuword.pdf
Binary files differ