diff options
Diffstat (limited to 'macros/latex/contrib/pkuthss/tex/pkuthss.cls')
-rw-r--r-- | macros/latex/contrib/pkuthss/tex/pkuthss.cls | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/macros/latex/contrib/pkuthss/tex/pkuthss.cls b/macros/latex/contrib/pkuthss/tex/pkuthss.cls index 22bdde1209..ad3945afba 100644 --- a/macros/latex/contrib/pkuthss/tex/pkuthss.cls +++ b/macros/latex/contrib/pkuthss/tex/pkuthss.cls @@ -25,7 +25,7 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{pkuthss} - [2022/05/05 v1.9.2 Peking University dissertation document class] + [2022/10/30 v1.9.3 Peking University dissertation document class] % eg. `\thss@int@boolopt{spacing}{true}' will expand to: % \newif\ifthss@opt@spacing \thss@opt@spacingtrue @@ -112,16 +112,15 @@ UprightFont = *-regular, BoldFont = *-bold, ItalicFont = *-italic, - BoldItalicFont = *-bolditalic + BoldItalicFont = *-bolditalic, + Scale = 0.95 ]{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} + \RequirePackage{textcomp, mathptmx, latexsym} + \RequirePackage[scaled = 0.95]{helvet} \fi \else - % Provides `\Box' for originauth.tex if XITSMath/newtx is absent. + % Provides `\Box' for originauth.tex if unicode-math is absent. \RequirePackage{latexsym} \fi @@ -133,9 +132,9 @@ % Circled text, cf. <https://tex.stackexchange.com/questions/7032/>. \RequirePackage{tikz} \newcommand*{\thss@int@circled}[1]{% - \scalebox{0.8}{\tikz[baseline = (char.base)]{ + \scalebox{0.8}{\tikz[baseline = {([yshift = -0.1\ccwd] char.base)}]{ \node[ - shape = circle, draw = black, minimum size = 1.25em, inner sep = 0pt + shape = circle, draw = black, minimum size = 1.25\ccwd, inner sep = 0pt ] (char) {#1}; }}% } @@ -144,10 +143,9 @@ \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. - \RequirePackage[cleardoublepage = current]{scrextend} - % Set up footnote spacing: whole paragraph indent 2 ccwd, 0.5 ccwd after mark. - \deffootnote{2\ccwd}{0pt}{\thefootnotemark\hspace{0.5\ccwd}} + \RequirePackage{scrextend} + % Set up footnote spacing: whole paragraph indent 1.5 ccwd, 0.5 ccwd after mark. + \deffootnote{1.5\ccwd}{0pt}{\thefootnotemark\hspace{0.5\ccwd}} \fi \ifthss@opt@pkuspace |