From 4a831c7965c49963c69ac193d14032cb2104b3a3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 24 Feb 2020 14:30:58 +0000 Subject: thuthesis (23feb20) git-svn-id: svn://tug.org/texlive/trunk@53892 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls') diff --git a/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls b/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls index cccee9621d1..d7bbd86e601 100644 --- a/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls +++ b/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls @@ -23,12 +23,12 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesClass{thuthesis} -[2020/02/03 6.0.1 Tsinghua University Thesis Template] +[2020/02/23 6.0.2 Tsinghua University Thesis Template] \RequirePackage{ifxetex} \RequireXeTeX \hyphenation{Thu-Thesis} \def\thuthesis{ThuThesis} -\def\version{6.0.1} +\def\version{6.0.2} \RequirePackage{kvdefinekeys} \RequirePackage{kvsetkeys} \RequirePackage{kvoptions} @@ -164,7 +164,7 @@ \else \RequirePackage[perpage,hang]{footmisc} \fi -\RequirePackage{CJKfntef} +\RequirePackage{xeCJKfntef} \RequirePackage{array} \RequirePackage{booktabs} \RequirePackage[sort&compress]{natbib} @@ -494,6 +494,9 @@ \newcommand\bm{\symbf} \renewcommand\boldsymbol{\symbf} \newcommand\square{\mdlgwhtsquare} +\AtBeginDocument{% + \renewcommand\checkmark{\ensuremath{✓}}% +} \allowdisplaybreaks[4] \renewcommand\theequation{\ifnum \c@chapter>\z@ \thechapter-\fi\@arabic\c@equation} \def\make@df@tag{\@ifstar\thu@make@df@tag@@\make@df@tag@@@} @@ -1361,6 +1364,7 @@ \@starttoc{\csname ext@#1\endcsname} \let\numberline\oldnumberline} \def\thu@listof#1{% #1: float type + \setcounter{tocdepth}{2} % restore tocdepth in case being modified \@ifstar {\thu@chapter*[]{\csname list#1name\endcsname}\thu@starttoc{#1}} {\thu@chapter*{\csname list#1name\endcsname}\thu@starttoc{#1}}} @@ -1510,6 +1514,7 @@ psdextra = true, breaklinks = true, plainpages = false, + pdfdisplaydoctitle = true, hidelinks, }% \newcounter{thu@bookmark} @@ -1535,6 +1540,7 @@ pdfauthor = \thu@author, pdfsubject = \thu@degree@name, pdfkeywords = \thu@keywords, + pdflang = zh-CN, }% \else \hypersetup{ @@ -1542,6 +1548,7 @@ pdfauthor = \thu@author@en, pdfsubject = \thu@degree@name@en, pdfkeywords = \thu@keywords@en, + pdflang = en-US, }% \fi \hypersetup{ -- cgit v1.2.3