summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-02-24 14:30:58 +0000
committerKarl Berry <karl@freefriends.org>2020-02-24 14:30:58 +0000
commit4a831c7965c49963c69ac193d14032cb2104b3a3 (patch)
tree57473f8dae8ef550cc87f2425cbf0eb9fe778370 /Master/texmf-dist/tex
parent8cb86b92e75e61955391d16d4aea7ca5a1964007 (diff)
thuthesis (23feb20)
git-svn-id: svn://tug.org/texlive/trunk@53892 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls13
1 files changed, 10 insertions, 3 deletions
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{