summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/shtthesis/shtthesis.cls
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-03-05 03:00:46 +0000
committerNorbert Preining <norbert@preining.info>2022-03-05 03:00:46 +0000
commit19a90b19f6ec33aec1291be08fecfece45735a22 (patch)
tree5280534c654589edee14cba9c39981c452a7a0e3 /macros/latex/contrib/shtthesis/shtthesis.cls
parent575ab7d0e7534edd510bbc89a2ef4b04582af591 (diff)
CTAN sync 202203050300
Diffstat (limited to 'macros/latex/contrib/shtthesis/shtthesis.cls')
-rw-r--r--macros/latex/contrib/shtthesis/shtthesis.cls27
1 files changed, 21 insertions, 6 deletions
diff --git a/macros/latex/contrib/shtthesis/shtthesis.cls b/macros/latex/contrib/shtthesis/shtthesis.cls
index d1bcc8fcdc..566c383999 100644
--- a/macros/latex/contrib/shtthesis/shtthesis.cls
+++ b/macros/latex/contrib/shtthesis/shtthesis.cls
@@ -1,5 +1,5 @@
% shtthesis, an unofficial LaTeX thesis template for ShanghaiTech University.
-% Copyright (C) 2021 Li Rundong <rundong.001@gmail.com>
+% Copyright (C) 2022 Li Rundong <rundong.001@gmail.com>
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
@@ -17,8 +17,8 @@
% Identification
% ==============================================================================
\NeedsTeXFormat{LaTeX2e}
-\newcommand\version{0.3.2}
-\newcommand\versiondate{2021/01/23}
+\newcommand\version{0.3.3}
+\newcommand\versiondate{2022/03/03}
\ProvidesClass{shtthesis}[%
\versiondate\space%
v\version\space%
@@ -299,6 +299,7 @@
backend = biber,
gbpub = false,
gbcitelocal = chinese,
+ sortcites = false,
}{biblatex}
\LoadClass{ctexbook}
\RequirePackage{expl3}
@@ -372,7 +373,7 @@
\def\figurename{图}
\definecolor{ShtRed}{RGB}{146,46,23}
\def\school@logo@missing{%
- 校徽文件缺失,请至\href{https://github.com/lirundong/shtthesis/raw/master/%
+ 校徽文件缺失,请至\href{https://github.com/lirundong/shtthesis/raw/v0.3/%
shanghaitech-emblem.pdf}{项目主页}下载!%
}
% ------------------------------------------------------------------------------
@@ -980,6 +981,15 @@
beforeskip = {12pt},
afterskip = {6pt},
},
+ subsubsection = {
+ format = \heiti\normalsize\linespread{1.0}\raggedright,
+ nameformat = {},
+ numberformat = \rmfamily,
+ titleformat = {},
+ aftername = \hspace{0.75\ccwd},
+ beforeskip = {12pt},
+ afterskip = {6pt},
+ },
paragraph = {
indent = 2\ccwd,
beforeskip = {0pt},
@@ -1018,6 +1028,11 @@
format = \sht@subsection@fmt,
numberformat = {},
indent = \sht@section@indent,
+ },
+ subsubsection = {
+ format = \sht@subsection@fmt,
+ numberformat = {},
+ indent = \sht@section@indent,
}
}
\fi
@@ -1741,7 +1756,7 @@
\endcomment
}{}
}
-\renewenvironment{patterns}{%
+\newenvironment{patents}{%
\sht@check@resume@title
\ifsht@anonymous
\comment
@@ -1752,7 +1767,7 @@
\endcomment
\fi
}
-\newenvironment{patterns*}{%
+\newenvironment{patents*}{%
\sht@check@resume@title
\ifthenelse{\not \boolean{sht@anonymous}}{
\comment