summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/pkuthss
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-05-04 20:50:11 +0000
committerKarl Berry <karl@freefriends.org>2022-05-04 20:50:11 +0000
commitf09c55f24ebafbc8d9d1a7e053774a4ecb070ca5 (patch)
tree87d6d6be3fa15cb56e15135c2fc43c1dcdf7c351 /Master/texmf-dist/tex/latex/pkuthss
parent2753bb759be14523fd794eb733d6b06649d35c5e (diff)
pkuthss (4may22)
git-svn-id: svn://tug.org/texlive/trunk@63225 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/pkuthss')
-rw-r--r--Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdfbin3530 -> 3530 bytes
-rw-r--r--Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def2
-rw-r--r--Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def2
-rw-r--r--Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls43
-rw-r--r--Master/texmf-dist/tex/latex/pkuthss/pkuthss.def2
-rw-r--r--Master/texmf-dist/tex/latex/pkuthss/pkuword.pdfbin6280 -> 6280 bytes
6 files changed, 38 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf b/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf
index 9d539c707d0..7789b318aa6 100644
--- a/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf
+++ b/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def
index 500b3bb4cb5..0633806021a 100644
--- a/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def
+++ b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def
@@ -24,7 +24,7 @@
% pkuword.eps
\ProvidesFile{pkuthss-gbk.def}
- [2021/10/16 v1.9.1 Labels and captions in GBK encoding
+ [2022/05/05 v1.9.2 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 e1d9566ed69..5d0e25905ea 100644
--- a/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def
+++ b/Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def
@@ -24,7 +24,7 @@
% pkuword.eps
\ProvidesFile{pkuthss-utf8.def}
- [2021/10/16 v1.9.1 Labels and captions in UTF-8 encoding
+ [2022/05/05 v1.9.2 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 e03a7bd4e41..22bdde1209e 100644
--- a/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls
+++ b/Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls
@@ -1,7 +1,7 @@
% Peking University dissertation document class
%
% Copyright (c) 2008-2009 solvethis
-% Copyright (c) 2010-2021 Casper Ti. Vector
+% Copyright (c) 2010-2022 Casper Ti. Vector
% Copyright (c) 2021 Kurapica
%
% This work may be distributed and/or modified under the conditions of the
@@ -25,7 +25,7 @@
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{pkuthss}
- [2021/10/16 v1.9.1 Peking University dissertation document class]
+ [2022/05/05 v1.9.2 Peking University dissertation document class]
% eg. `\thss@int@boolopt{spacing}{true}' will expand to:
% \newif\ifthss@opt@spacing \thss@opt@spacingtrue
@@ -65,8 +65,6 @@
% Process all class options now.
\ProcessOptions\relax
-% 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
@@ -90,11 +88,40 @@
\ifthss@opt@pkufont
% Use Times New Roman / Arial according to school regulation.
- % Option used to prevent newtxtext from manipulating footnote marks.
- \RequirePackage[defaultsups]{newtxtext}
- \RequirePackage[cmintegrals, varg]{newtxmath}
+ \ifxetex
+ \RequirePackage{unicode-math}
+ \setmathfont[
+ Extension = .otf,
+ BoldFont = XITSMath-Bold
+ ]{XITSMath-Regular}
+ \DeclareSymbolFont{CMlargesymbols}{OMX}{cmex}{m}{n}
+ \let\sumop\relax\let\prodop\relax
+ \DeclareMathSymbol{\sumop}{\mathop}{CMlargesymbols}{"50}
+ \DeclareMathSymbol{\prodop}{\mathop}{CMlargesymbols}{"51}
+ \renewcommand{\Box}{\mdlgwhtsquare}
+
+ \setmainfont[
+ Extension = .otf,
+ UprightFont = *-Regular,
+ BoldFont = *-Bold,
+ ItalicFont = *-Italic,
+ BoldItalicFont = *-BoldItalic
+ ]{XITS}
+ \setsansfont[
+ Extension = .otf,
+ UprightFont = *-regular,
+ BoldFont = *-bold,
+ ItalicFont = *-italic,
+ BoldItalicFont = *-bolditalic
+ ]{texgyreheros}
+ \else
+ % `nofontspec' avoids errors like `The font "FangSong" cannot be found'.
+ % `defaultsups' prevents newtxtext from manipulating footnote marks.
+ \usepackage[nofontspec, defaultsups]{newtxtext}
+ \usepackage[varg]{newtxmath}
+ \fi
\else
- % Provides `\Box' for originauth.tex if newtx is absent.
+ % Provides `\Box' for originauth.tex if XITSMath/newtx is absent.
\RequirePackage{latexsym}
\fi
diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkuthss.def b/Master/texmf-dist/tex/latex/pkuthss/pkuthss.def
index 3ffe3008ad1..80239cf01cc 100644
--- a/Master/texmf-dist/tex/latex/pkuthss/pkuthss.def
+++ b/Master/texmf-dist/tex/latex/pkuthss/pkuthss.def
@@ -23,7 +23,7 @@
% pkuword.eps
\ProvidesFile{pkuthss.def}
- [2021/10/16 v1.9.1 Labels and captions for the pkuthss document class]
+ [2022/05/05 v1.9.2 Labels and captions for the pkuthss document class]
\def\label@ementor{Directed by\ }
\def\euniversity{Peking University}
diff --git a/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf b/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf
index 919d1faf404..8021172ab7c 100644
--- a/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf
+++ b/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf
Binary files differ