diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hitszthesis')
-rw-r--r-- | Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls | 40 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.sty | 8 |
2 files changed, 28 insertions, 20 deletions
diff --git a/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls b/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls index a5d294c7424..fd6406490dc 100644 --- a/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls +++ b/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls @@ -8,24 +8,24 @@ %% %% This is a generated file. %% -%% Copyright (C) 2019-2020 by Jingxuan Yang <yanglatex2e@gmail.com> +%% Copyright (C) 2019-2021 by Jingxuan Yang <yanglatex2e@gmail.com> %% %% This file may be distributed and/or modified under the -%% conditions of the LaTeX Project Public License, either version 1.3c +%% conditions of the LaTeX Project Public License, either version 1.3a %% of this license or (at your option) any later version. %% The latest version of this license is in: %% %% http://www.latex-project.org/lppl.txt %% -%% and version 1.3c or later is part of all distributions of LaTeX -%% version 2008/05/04 or later. +%% and version 1.3a or later is part of all distributions of LaTeX +%% version 2004/10/01 or later. %% %% To produce the documentation run the original source files ending with `.dtx' %% through LaTeX. %% \NeedsTeXFormat{LaTeX2e}[1999/12/01] \ProvidesClass{hitszthesis} -[2020/06/23 3.2 Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)] +[2021/11/15 3.2.1 Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)] \RequirePackage{ifthen} \RequirePackage{kvoptions} \SetupKeyvalOptions{ @@ -176,9 +176,10 @@ \ifhitsz@pifootnote \RequirePackage{pifont} \fi -\RequirePackage{CJKfntef} +\RequirePackage{xeCJKfntef} \RequirePackage{longtable} \RequirePackage{booktabs} +\RequirePackage{gbt7714} \RequirePackage[sort&compress]{natbib} \RequirePackage{subeqnarray} \RequirePackage{hyperref} @@ -482,7 +483,7 @@ \newcommand{\ltfontsize}[1]{\def\LT@array{#1\hitsz@LT@array}} \renewcommand{\thesubtable}{(\alph{subtable})} \renewcommand{\thefigure}{\arabic{chapter}-\arabic{figure}}%使图编号为 7-1 的格式 %\protect{~} -\renewcommand{\thesubfigure}{\alph{subfigure})}%使子图编号为 a)的格式 +\renewcommand{\thesubfigure}{(\alph{subfigure})}%使子图编号为 a)的格式 \renewcommand{\p@subfigure}{\thefigure~} %使子图引用为 7-1 a) 的格式,母图编号和子图编号之间用~加一个空格 \renewcommand{\thetable}{\arabic{chapter}-\arabic{table}}%使表编号为 7-1 的格式 \newcommand\figref[1]{图\ref{#1}} @@ -498,10 +499,10 @@ \setlength{\belowcaptionskip}{0pt} \newcounter{pubctr} %自定义新计数器 \newenvironment{publist}{%%%%%定义新环境 -\begin{list}{[\arabic{pubctr}]} %%标签格式 +\begin{list}{[\arabic{pubctr}]} %%标签格式 { \usecounter{pubctr} - \setlength{\leftmargin}{1.7em} % 左边界 \leftmargin =\itemindent + \labelwidth + \labelsep + \setlength{\leftmargin}{2.2em} % 左边界 \leftmargin =\itemindent + \labelwidth + \labelsep \setlength{\itemindent}{0em} % 标号缩进量 \setlength{\labelsep}{0.5em} % 标号和列表项之间的距离,默认0.5em \setlength{\rightmargin}{0em} % 右边界 @@ -754,6 +755,7 @@ \hitsz@def@term{ctitle} % 中文标题 \hitsz@def@term{csubtitle} % 中文副标题 \hitsz@def@term{cxueke} % 中文学科 +\hitsz@def@term{cpostgraduatetype} % 中文学位类型:学术,专业 \hitsz@def@term{cauthor} % 中文作者 \hitsz@def@term{csupervisor} % 中文导师 \hitsz@def@term{cassosupervisor} % 中文副导师 @@ -949,13 +951,15 @@ \vspace*{1.2cm} \begin{center} \begin{center}\xiaoyi[1]\songti\textbf{\hitsz@cxuewei\hitsz@cthesisname}\end{center} - \ifhitsz@fulltime\vspace{1.4cm}\else% + \vspace{1cm} + \begin{center}\xiaoer[1]\songti\textbf{(\hitsz@cpostgraduatetype\hitsz@cthesisname)}\end{center} + \ifhitsz@fulltime\vspace{1cm}\else% \begin{center} \xiaoyi[1]\songti \textbf{\hitsz@cbraceleft\hitsz@cstudenttype\hitsz@cbraceright} \end{center} \fi% - \parbox[t][7.8cm][t]{\textwidth}{% + \parbox[t][7.3cm][t]{\textwidth}{% \begin{center}\erhao\heiti\hitsz@ctitlecover\end{center} \ifhitsz@subtitle% \begin{center} @@ -971,10 +975,12 @@ \hitsz@title@esep\MakeUppercase{\hitsz@esubtitle} \fi}\end{center}} - \parbox[t][7.4cm][t]{\textwidth}{ - \begin{center}\xiaoer\songti\textbf{\hitsz@cauthor}\end{center}} - \parbox[t][1.4cm][t]{\textwidth}{ - \begin{center}\kaishu\xiaoer\textbf{\hitsz@cschoolname}\end{center}} + \parbox[t][5.4cm][t]{\textwidth}{% + \begin{center}\xiaoer\songti\textbf{\hitsz@cauthor}\end{center} + } + \parbox[t][1.4cm][t]{\textwidth}{% + \begin{center}\kaishu\xiaoer\textbf{\hitsz@cschoolname}\end{center} + } {\songti\xiaoer\textbf{\hitsz@cdate}} \end{center} } @@ -1282,7 +1288,7 @@ \bfseries\xiaosi #1 \end{center}} \newlist{translationbib}{enumerate}{1} -\setlist[translationbib]{label=[\arabic*],align=left,nosep,itemsep=6bp, +\setlist[translationbib]{label=[\arabic*],align=left,nosep,itemsep=6bp, leftmargin=10mm,labelsep=!,before=\vspace{0.5\baselineskip}\wuhao[1.3] } \newenvironment{conclusions}{% @@ -1388,6 +1394,7 @@ \DeclareRobustCommand\inlinecite{\@inlinecite} \def\@inlinecite#1{\begingroup\citestyle{inline}\let\@cite\NAT@citenum\citep{#1}\endgroup} \let\onlinecite\inlinecite +\def\@biblabel#1{[#1]} \renewenvironment{thebibliography}[1]{% \ifhitsz@openright\cleardoublepage\else\clearpage\fi\phantomsection% \hitsz@appendix@chapter*{\bibname}[\hitsz@bibname@etitle] @@ -1395,6 +1402,7 @@ \list{\@biblabel{\@arabic\c@enumiv}}% {\renewcommand{\makelabel}[1]{##1\hfill} \settowidth{\labelwidth}{\@biblabel{#1}} + \addtolength{\labelwidth}{0.5em} \setlength{\labelsep}{0.5em} \setlength{\itemindent}{0pt} \setlength{\leftmargin}{\labelsep+\labelwidth} diff --git a/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.sty b/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.sty index 137d01e2722..568a01b14f9 100644 --- a/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.sty +++ b/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.sty @@ -1,5 +1,5 @@ % -% Copyright (C) 2019-2020 by Jingxuan Yang <yanglatex2e@gmail.com> +% Copyright (C) 2019-2021 by Jingxuan Yang <yanglatex2e@gmail.com> % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3c @@ -7,7 +7,7 @@ % The latest version of this license is in % http://www.latex-project.org/lppl.txt % and version 1.3c or later is part of all distributions of LaTeX -% version 2008/05/04 or later. +% version 2005/12/01 or later. % % This work has the LPPL1.3c maintenance status `maintained'. % @@ -61,9 +61,9 @@ \SetAlgoSkip{1pt} \renewcommand{\algocf@captiontext}[2]{\wuhao#1\algocf@typo~\AlCapFnt{}#2} % text of caption \expandafter\ifx\csname algocf@within\endcsname\relax% if \algocf@within doesn't exist - \renewcommand\thealgocf{\@arabic\c@algocf} % and the way it is printed +\renewcommand\thealgocf{\@arabic\c@algocf} % and the way it is printed \else% else - \renewcommand\thealgocf{\csname the\algocf@within\endcsname-\@arabic\c@algocf} +\renewcommand\thealgocf{\csname the\algocf@within\endcsname-\@arabic\c@algocf} \fi \renewcommand{\algocf@makecaption}[2]{%中英文双标题一定多于一行,因此去掉单行时的判断,并将\parbox中标题设置为居中 \addtolength{\hsize}{\algomargin}% |