diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf | bin | 3530 -> 3530 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/pkuthss/pkuthss-gbk.def | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pkuthss/pkuthss-utf8.def | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pkuthss/pkuthss.cls | 43 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pkuthss/pkuthss.def | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf | bin | 6280 -> 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 Binary files differindex 9d539c707d0..7789b318aa6 100644 --- a/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf +++ b/Master/texmf-dist/tex/latex/pkuthss/pkulogo.pdf 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 Binary files differindex 919d1faf404..8021172ab7c 100644 --- a/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf +++ b/Master/texmf-dist/tex/latex/pkuthss/pkuword.pdf |