From 2ad95c41928d17d2b5061e4ea0a24f300fdf84c0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 12 Jun 2016 16:10:58 +0000 Subject: pkuthss (24may16) git-svn-id: svn://tug.org/texlive/trunk@41407 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf | Bin 3641 -> 3641 bytes .../texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def | 2 +- .../texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def | 2 +- Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls | 27 +++++++++++++++------ Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf | Bin 6392 -> 6392 bytes 5 files changed, 21 insertions(+), 10 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf b/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf index 8992cd90fee..66d19bf67ba 100644 Binary files a/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf and b/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf differ diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def index aafa45b2da1..9c792297518 100644 --- a/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def +++ b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def @@ -22,7 +22,7 @@ % pkuword.eps \ProvidesFile{pkuthss-gbk.def} - [2016/03/22 v1.7.2 Labels and captions in GBK encoding + [2016/05/24 v1.7.3 Labels and captions in GBK encoding for the pkuthss document class] \def\label@ctitle{ÌâÄ¿£º} diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def index 370d0e21a4a..593e5b345e0 100644 --- a/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def +++ b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def @@ -22,7 +22,7 @@ % pkuword.eps \ProvidesFile{pkuthss-utf8.def} - [2016/03/22 v1.7.2 Labels and captions in UTF-8 encoding + [2016/05/24 v1.7.3 Labels and captions in UTF-8 encoding for the pkuthss document class] \def\label@ctitle{题目:} diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls b/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls index de448e91a81..6d2789cac3f 100644 --- a/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls +++ b/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls @@ -23,7 +23,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{pkuthss} - [2016/03/22 v1.7.2 Peking University dissertation document class] + [2016/05/24 v1.7.3 Peking University dissertation document class] % eg. `\pkuthss@int@boolopt{spacing}{true}' will expand to: % \newif\ifpkuthss@opt@spacing \pkuthss@opt@spacingtrue @@ -78,7 +78,8 @@ % `hyperref', `fntef', `fancyhdr' and `cs4size' are deprecated in ctex 2.x. % hyperref now does not make citation hyperlinks if not explicitly loaded. % All compatibility support for ctex 1.x is scheduled for removal in 2017. -\RequirePackage{hyperref} +% `\AtEndOfClass' used to avoid `PDF destination not defined' with setspace. +\AtEndOfClass{\RequirePackage{hyperref}} \ifpkuthss@opt@gbk \input{pkuthss-gbk.def} @@ -139,17 +140,17 @@ \ifpkuthss@opt@pkuspace % lineskip / baselineskip = 20 bp / (12 bp * (6 / 5)). \linespread{1.39}\selectfont - % Quite harmless and frequently used package. Loaded together with `tocloft' - % plus a compatibility option to avoid package clash. - \RequirePackage{subfig} % Provides utilities for setting TOC format; `titles' applied to avoid % interfering with LaTeX's own title mechanism. - \RequirePackage[subfigure, titles]{tocloft} + \RequirePackage[titles]{tocloft} \setlength{\cftbeforechapskip}{6bp plus 1bp} \setlength{\cftsecindent}{\ccwd} \setlength{\cftsubsecindent}{2\ccwd} - % Modify font size and separator of captions. - \RequirePackage{caption} + % `caption' modifies font size and separator of captions. `subcaption' + % provides functions similar to `subfigure'/`subfig' but does not clash with + % `tocloft'; it clashes with `subfigure'/`subfig', but the error message will + % say they cannot be used simultaneously. + \RequirePackage{caption, subcaption} \DeclareCaptionFont{cfive}{\zihao{5}} \DeclareCaptionLabelSeparator{quad}{\quad} \captionsetup{font = cfive, labelsep = quad} @@ -266,23 +267,33 @@ \setlength{\belowdisplayskip}{6bp plus 1.5bp minus 3.5bp} % Set up chapter/section/... captions. +% The alternative settings in comments can be used in case the infractions +% (intended to make the style less ugly) get caught; note that the `*skip' +% values are not supposed to be modified: the actual style of the school's +% guide and Word template seem to be different from the written specification +% (when applied verbatim in LaTeX), and here the actual style is used. \CTEXsetup[ nameformat = {\zihao{-2}\bfseries}, titleformat = {\zihao{-2}\bfseries}, + %nameformat = {\zihao{3}\bfseries}, + %titleformat = {\zihao{3}\bfseries}, beforeskip = {0bp}, afterskip = {18bp} ]{chapter} \CTEXsetup[ format = {\zihao{-3}\bfseries}, + %format = {\zihao{4}\bfseries}, beforeskip = {20bp plus 1ex minus 0.2ex}, afterskip = {6bp plus 0.2ex} ]{section} \CTEXsetup[ format = {\zihao{4}\bfseries}, + %format = {\fontsize{13bp}{15.6bp}\selectfont\bfseries}, beforeskip = {12bp plus 1ex minus 0.2ex}, afterskip = {6bp plus 0.2ex} ]{subsection} \CTEXsetup[ format = {\bfseries}, + %format = {\zihao{-4}\bfseries}, beforeskip = {12bp plus 1ex minus 0.2ex}, afterskip = {6bp plus 0.2ex} ]{subsubsection} diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf b/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf index ec3da41bc45..603efdc2ab5 100644 Binary files a/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf and b/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf differ -- cgit v1.2.3