diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-25 21:11:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-25 21:11:58 +0000 |
commit | 68218acf993770c592e4f8dcafcb739bb1245b3b (patch) | |
tree | 3209a32ba32e2e78d911ce54f6d4359ba3ef4976 /Master/texmf-dist/tex | |
parent | 21d4905152277092f61802441a6fea00547ee13b (diff) |
hitszthesis (25may20)
git-svn-id: svn://tug.org/texlive/trunk@55272 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls | 55 |
1 files changed, 36 insertions, 19 deletions
diff --git a/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls b/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls index 7a5e204b370..954f215456e 100644 --- a/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls +++ b/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls @@ -25,7 +25,7 @@ %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{hitszthesis} -[2020/03/13 3.0.4 Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)] +[2020/05/25 3.1 Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)] \RequirePackage{ifthen} \RequirePackage{kvoptions} \SetupKeyvalOptions{ @@ -76,6 +76,7 @@ \DeclareBoolOption[true]{capcenterlast} \DeclareBoolOption[true]{subcapcenterlast} \DeclareBoolOption[true]{absupper} +\DeclareBoolOption[true]{alphappendix} \DeclareBoolOption[true]{bsmainpagenumberline} \DeclareBoolOption[true]{bsfrontpagenumberline} \DeclareBoolOption[true]{bsheadrule} @@ -746,17 +747,18 @@ \hitsz@def@term{natclassifiedindex} %国内图书分类号 \hitsz@def@term{intclassifiedindex} %国际图书分类号 -\hitsz@def@term{ctitlecover} %中文标题封面 -\hitsz@def@term{ctitle} %中文标题 -\hitsz@def@term{csubtitle} %中文副标题 -\hitsz@def@term{cxueke} %中文学科 -\hitsz@def@term{cauthor} %中文作者 -\hitsz@def@term{csupervisor} %中文导师 -\hitsz@def@term{cassosupervisor} %中文副导师 -\hitsz@def@term{ccosupervisor}%中文联合导师 -\hitsz@def@term{caffil}%中文院系 -\hitsz@def@term{csubject}%中文专业 -\hitsz@def@term{cdate} +\hitsz@def@term{ctitlecover} % 中文标题封面 +\hitsz@def@term{ctitle} % 中文标题 +\hitsz@def@term{csubtitle} % 中文副标题 +\hitsz@def@term{cxueke} % 中文学科 +\hitsz@def@term{cauthor} % 中文作者 +\hitsz@def@term{csupervisor} % 中文导师 +\hitsz@def@term{cassosupervisor} % 中文副导师 +\hitsz@def@term{ccosupervisor} % 中文联合导师 +\hitsz@def@term{caffil} % 中文院系 +\hitsz@def@term{csubject} % 中文专业 +\hitsz@def@term{cdate} % 封面日期指定 +\hitsz@def@term{cdatesecond} % 第二页日期指定 \hitsz@def@term{cstudentid}% \hitsz@def@term{cstudenttype}% @@ -909,7 +911,7 @@ {\hitsz@put@title{\hitsz@bachelor@csupervisortitle}} & \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\hitsz@csupervisor}}}\\ {\hitsz@put@title{\hitsz@cdatetitle}} & - \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\CJK@todaysmall}}} + \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\hitsz@cdatesecond}}} \end{tabular} \else \begin{tabular}{l@{\ \ }c} @@ -926,7 +928,7 @@ {\hitsz@put@title{\hitsz@bachelor@csupervisortitle}} & \underline{\makebox[\infowidth]{\songti\textbf{\hitsz@csupervisor}}}\\ {\hitsz@put@title{\hitsz@cdatetitle}} & - \underline{\makebox[\infowidth]{\songti\textbf{\CJK@todaysmall}}} + \underline{\makebox[\infowidth]{\songti\textbf{\hitsz@cdatesecond}}} \end{tabular} \fi \renewcommand{\arraystretch}{1} @@ -1233,15 +1235,30 @@ \if@restonecol\twocolumn\fi} \def\@dotsep{0.75} % 定义英文目录的点间距 \ctexset{% - appendix/number=\ifhitsz@bachelor\arabic{chapter}\else\Alph{chapter}\fi, + appendix/number=\ifhitsz@bachelor% + \ifhitsz@alphappendix% + \Alph{chapter}% + \else% + \arabic{chapter}% + \fi% + \else% + \Alph{chapter}% + \fi,% } \let\hitsz@appendix\appendix \renewenvironment{appendix}{% - \let\title\hitsz@appendix@title - \hitsz@appendix - \ifhitsz@bachelor\renewcommand{\thechapter}{\arabic{chapter}}\fi + \let\title\hitsz@appendix@title% + \hitsz@appendix% + \ifhitsz@bachelor% + \ifhitsz@alphappendix% + \renewcommand{\thechapter}{\Alph{chapter}}% + \else% + \renewcommand{\thechapter}{\arabic{chapter}}% + \fi% + \fi% }{% - \let\title\@gobble} + \let\title\@gobble% +} \let\title\@gobble \newcommand{\hitsz@appendix@title}[1]{% \begin{center} |