diff options
Diffstat (limited to 'macros/latex/contrib/pkuthss/tex')
-rw-r--r-- | macros/latex/contrib/pkuthss/tex/pkulogo.eps | 1 | ||||
-rw-r--r-- | macros/latex/contrib/pkuthss/tex/pkulogo.pdf | bin | 3530 -> 3530 bytes | |||
-rw-r--r-- | macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def | 9 | ||||
-rw-r--r-- | macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def | 9 | ||||
-rw-r--r-- | macros/latex/contrib/pkuthss/tex/pkuthss.cls | 23 | ||||
-rw-r--r-- | macros/latex/contrib/pkuthss/tex/pkuthss.def | 57 | ||||
-rw-r--r-- | macros/latex/contrib/pkuthss/tex/pkuword.eps | 1 | ||||
-rw-r--r-- | macros/latex/contrib/pkuthss/tex/pkuword.pdf | bin | 6280 -> 6280 bytes |
8 files changed, 69 insertions, 31 deletions
diff --git a/macros/latex/contrib/pkuthss/tex/pkulogo.eps b/macros/latex/contrib/pkuthss/tex/pkulogo.eps index 35c1a90dfb..e5b6fd6c54 100644 --- a/macros/latex/contrib/pkuthss/tex/pkulogo.eps +++ b/macros/latex/contrib/pkuthss/tex/pkulogo.eps @@ -21,6 +21,7 @@ % % This work consists of the following files: % pkuthss.cls +% pkuthss.def % pkuthss-gbk.def % pkuthss-utf8.def % pkulogo.eps diff --git a/macros/latex/contrib/pkuthss/tex/pkulogo.pdf b/macros/latex/contrib/pkuthss/tex/pkulogo.pdf Binary files differindex bf9659a692..9d539c707d 100644 --- a/macros/latex/contrib/pkuthss/tex/pkulogo.pdf +++ b/macros/latex/contrib/pkuthss/tex/pkulogo.pdf diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def b/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def index 28eb1ade7e..500b3bb4cb 100644 --- a/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def +++ b/macros/latex/contrib/pkuthss/tex/pkuthss-gbk.def @@ -17,13 +17,14 @@ % % This work consists of the following files: % pkuthss.cls +% pkuthss.def % pkuthss-gbk.def % pkuthss-utf8.def % pkulogo.eps % pkuword.eps \ProvidesFile{pkuthss-gbk.def} - [2021/03/29 v1.9.0 Labels and captions in GBK encoding + [2021/10/16 v1.9.1 Labels and captions in GBK encoding for the pkuthss document class] \def\label@ctitle{题目:} @@ -33,9 +34,7 @@ \def\label@cmajor{专\hphantom{汉字}业:} \def\label@direction{研究方向:} \def\label@cmentor{导\hphantom{汉字}师:} -\def\label@ementor{Directed by\ } \def\label@ckeywords{关键词:} -\def\label@ekeywords{KEYWORDS:\ } \def\label@blindcover{(匿名评阅论文封面)} \def\label@blindctitle{中文题目:} \def\label@blindetitle{英文题目:} @@ -45,12 +44,8 @@ \def\titlepagename{封面} \def\cuniversity{北京大学} -\def\euniversity{Peking University} \def\cthesisname{博士学位论文} -\def\ethesisname{Doctor Thesis} -\def\thesiscover{} \def\cabstractname{摘要} -\def\eabstractname{ABSTRACT} \endinput % vim:ft=tex:ts=2:sw=2 diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def b/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def index 6ab9dc0ec8..e1d9566ed6 100644 --- a/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def +++ b/macros/latex/contrib/pkuthss/tex/pkuthss-utf8.def @@ -17,13 +17,14 @@ % % This work consists of the following files: % pkuthss.cls +% pkuthss.def % pkuthss-gbk.def % pkuthss-utf8.def % pkulogo.eps % pkuword.eps \ProvidesFile{pkuthss-utf8.def} - [2021/03/29 v1.9.0 Labels and captions in UTF-8 encoding + [2021/10/16 v1.9.1 Labels and captions in UTF-8 encoding for the pkuthss document class] \def\label@ctitle{棰樼洰锛殅 @@ -33,9 +34,7 @@ \def\label@cmajor{涓揬hphantom{姹夊瓧}涓氾細} \def\label@direction{鐮旂┒鏂瑰悜锛殅 \def\label@cmentor{瀵糪hphantom{姹夊瓧}甯堬細} -\def\label@ementor{Directed by\ } \def\label@ckeywords{鍏抽敭璇嶏細} -\def\label@ekeywords{KEYWORDS:\ } \def\label@blindcover{锛堝尶鍚嶈瘎闃呰鏂囧皝闈級} \def\label@blindctitle{涓枃棰樼洰锛殅 \def\label@blindetitle{鑻辨枃棰樼洰锛殅 @@ -45,12 +44,8 @@ \def\titlepagename{灏侀潰} \def\cuniversity{鍖椾含澶у} -\def\euniversity{Peking University} \def\cthesisname{鍗氬+瀛︿綅璁烘枃} -\def\ethesisname{Doctor Thesis} -\def\thesiscover{} \def\cabstractname{鎽樿} -\def\eabstractname{ABSTRACT} \endinput % vim:ft=tex:ts=2:sw=2 diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss.cls b/macros/latex/contrib/pkuthss/tex/pkuthss.cls index 2abf2d72fb..e03a7bd4e4 100644 --- a/macros/latex/contrib/pkuthss/tex/pkuthss.cls +++ b/macros/latex/contrib/pkuthss/tex/pkuthss.cls @@ -17,6 +17,7 @@ % % This work consists of the following files: % pkuthss.cls +% pkuthss.def % pkuthss-gbk.def % pkuthss-utf8.def % pkulogo.eps @@ -24,7 +25,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{pkuthss} - [2021/03/29 v1.9.0 Peking University dissertation document class] + [2021/10/16 v1.9.1 Peking University dissertation document class] % eg. `\thss@int@boolopt{spacing}{true}' will expand to: % \newif\ifthss@opt@spacing \thss@opt@spacingtrue @@ -85,21 +86,7 @@ \RequirePackage[normalem]{ulem} % `\AtEndOfClass' used to avoid `PDF destination not defined' with setspace. \AtEndOfClass{\RequirePackage{hyperref}} - -\ifthss@opt@gbk - \input{pkuthss-gbk.def} - \ifxetex - % No support for XeLaTeX compilation in non-unicode encoding, i.e. GBK. - \ClassError{pkuthss}% - {XeLaTeX compilation is not supported without UTF-8}% - {% - XeLaTeX compilation without UTF-8 is very problematic.\MessageBreak - Therefore please use UTF-8 encoding for the LaTeX code.% - } - \fi -\else - \input{pkuthss-utf8.def} -\fi +\input{pkuthss.def} \ifthss@opt@pkufont % Use Times New Roman / Arial according to school regulation. @@ -248,6 +235,7 @@ \thss@int@infoitemb{cthesisname} \thss@int@infoitemb{ethesisname} \thss@int@infoitemb{thesiscover} +\thss@int@infoitemb{mentorlines} \thss@int@infoitemb{cabstractname} \thss@int@infoitemb{eabstractname} % Set up document information using the `key = value' grammar. @@ -394,7 +382,8 @@ {\bfseries\label@direction} & \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@direction} \\ {\bfseries\label@cmentor} & - \thss@int@fillinblank{1}{\thss@tmp@len}{\fangsong\@cmentor} \\ + \thss@int@fillinblank{\mentorlines}% + {\thss@tmp@len}{\fangsong\@cmentor} \\ \end{tabular}% } \vfill diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss.def b/macros/latex/contrib/pkuthss/tex/pkuthss.def new file mode 100644 index 0000000000..3ffe3008ad --- /dev/null +++ b/macros/latex/contrib/pkuthss/tex/pkuthss.def @@ -0,0 +1,57 @@ +% Peking University dissertation document class +% +% Copyright (c) 2008-2009 solvethis +% 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 +% your option) any later version. +% The latest version of this license is in +% https://www.latex-project.org/lppl.txt +% and version 1.3 or later is part of all distributions of LaTeX version +% 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% The current maintainer of this work is Casper Ti. Vector. +% +% This work consists of the following files: +% pkuthss.cls +% pkuthss.def +% pkuthss-gbk.def +% pkuthss-utf8.def +% pkulogo.eps +% pkuword.eps + +\ProvidesFile{pkuthss.def} + [2021/10/16 v1.9.1 Labels and captions for the pkuthss document class] + +\def\label@ementor{Directed by\ } +\def\euniversity{Peking University} +\def\ethesisname{Doctor Thesis} +\def\thesiscover{} +\def\mentorlines{1} +\def\eabstractname{ABSTRACT} + +\ifthss@opt@ugly + \def\label@ekeywords{KEY WORDS:\ } +\else + \def\label@ekeywords{KEYWORDS:\ } +\fi + +\ifthss@opt@gbk + \input{pkuthss-gbk.def} + \ifxetex + % No support for XeLaTeX compilation in non-unicode encoding, i.e. GBK. + \ClassError{pkuthss}% + {XeLaTeX compilation is not supported without UTF-8}% + {% + XeLaTeX compilation without UTF-8 is very problematic.\MessageBreak + Therefore please use UTF-8 encoding for the LaTeX code.% + } + \fi +\else + \input{pkuthss-utf8.def} +\fi + +\endinput +% vim:ft=tex:ts=2:sw=2 diff --git a/macros/latex/contrib/pkuthss/tex/pkuword.eps b/macros/latex/contrib/pkuthss/tex/pkuword.eps index 88bbca5d12..0d6cc95a1e 100644 --- a/macros/latex/contrib/pkuthss/tex/pkuword.eps +++ b/macros/latex/contrib/pkuthss/tex/pkuword.eps @@ -21,6 +21,7 @@ % % This work consists of the following files: % pkuthss.cls +% pkuthss.def % pkuthss-gbk.def % pkuthss-utf8.def % pkulogo.eps diff --git a/macros/latex/contrib/pkuthss/tex/pkuword.pdf b/macros/latex/contrib/pkuthss/tex/pkuword.pdf Binary files differindex 58b5193f46..919d1faf40 100644 --- a/macros/latex/contrib/pkuthss/tex/pkuword.pdf +++ b/macros/latex/contrib/pkuthss/tex/pkuword.pdf |