summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls')
-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{