diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hitszthesis')
-rw-r--r-- | Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls | 145 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.sty | 7 |
2 files changed, 99 insertions, 53 deletions
diff --git a/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls b/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls index 52c8f4018c0..7a5e204b370 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/10 3.0 Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)] +[2020/03/13 3.0.4 Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)] \RequirePackage{ifthen} \RequirePackage{kvoptions} \SetupKeyvalOptions{ @@ -548,7 +548,7 @@ chapter={ afterindent=true, pagestyle={hitsz@headings}, - beforeskip={24.74658bp},%一个空行 1.57481 × 18 + beforeskip={18.74658bp},%一个空行 1.57481 × 18 afterskip={24.74658bp},%0.8应该不计算间距 0.8 × 18 + 0.57481×18 aftername=\enspace, format={\centering\hitsz@title@font\xiaoer[1.57481]},%\center 会影响之后全局 @@ -837,7 +837,7 @@ \setlength{\hitsz@title@width}{4em} \heiti\xiaosi \ifhitsz@shenzhen% - \begin{tabular}{rl}% + \begin{tabular}{@{}r@{}@{}l@{\qquad}}% \else% \begin{tabular}{rc}% \fi% @@ -857,7 +857,7 @@ {\hitsz@put@title{\hitsz@bachelor@cstudentidtitle}\hitsz@title@csep} & \hitsz@cstudentid \end{tabular} \ifhitsz@shenzhen% - \begin{tabular}{rl}% + \begin{tabular}{@{}r@{}@{}l@{}}% \else% \begin{tabular}{rc}% \fi% @@ -897,36 +897,36 @@ \ifhitsz@infoleft \begin{tabular}{l@{\ \ }l} {\xiaoer \hitsz@put@title{\hitsz@bachelor@cthesistitle}} & - \underline{\makebox[\infowidth][l]{\hspace*{1em}\xiaoer \hitsz@ctitleone}}\\ - & \underline{\makebox[\infowidth][l]{\hspace*{1em}\xiaoer \hitsz@ctitletwo}}\\ + \underline{\makebox[\infowidth][l]{\hspace*{1em}\xiaoer\songti\textbf{\hitsz@ctitleone}}}\\ + & \underline{\makebox[\infowidth][l]{\hspace*{1em}\xiaoer\songti\textbf{\hitsz@ctitletwo}}}\\ & \\ {\hitsz@put@title{\hitsz@bachelor@cmajortitle}} & - \underline{\makebox[\infowidth][l]{\hspace*{1em}\hitsz@csubject}}\\ + \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\hitsz@csubject}}}\\ {\hitsz@put@title{\hitsz@bachelor@cstudentidtitle}} & - \underline{\makebox[\infowidth][l]{\hspace*{1em}\hitsz@cstudentid}}\\ + \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\hitsz@cstudentid}}}\\ {\hitsz@put@title{\hitsz@bachelor@cstudenttitle}} & - \underline{\makebox[\infowidth][l]{\hspace*{1em}\hitsz@cauthor}}\\ + \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\hitsz@cauthor}}}\\ {\hitsz@put@title{\hitsz@bachelor@csupervisortitle}} & - \underline{\makebox[\infowidth][l]{\hspace*{1em}\hitsz@csupervisor}}\\ + \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\hitsz@csupervisor}}}\\ {\hitsz@put@title{\hitsz@cdatetitle}} & - \underline{\makebox[\infowidth][l]{\hspace*{1em}\CJK@todaysmall}} + \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\CJK@todaysmall}}} \end{tabular} \else \begin{tabular}{l@{\ \ }c} {\xiaoer \hitsz@put@title{\hitsz@bachelor@cthesistitle}} & - \underline{\makebox[\infowidth]{\xiaoer \hitsz@ctitleone}}\\ - & \underline{\makebox[\infowidth]{\xiaoer \hitsz@ctitletwo}}\\ + \underline{\makebox[\infowidth]{\xiaoer\songti\textbf{\hitsz@ctitleone}}}\\ + & \underline{\makebox[\infowidth]{\xiaoer\songti\textbf{\hitsz@ctitletwo}}}\\ & \\ {\hitsz@put@title{\hitsz@bachelor@cmajortitle}} & - \underline{\makebox[\infowidth]{\hitsz@csubject}}\\ + \underline{\makebox[\infowidth]{\songti\textbf{\hitsz@csubject}}}\\ {\hitsz@put@title{\hitsz@bachelor@cstudentidtitle}} & - \underline{\makebox[\infowidth]{\hitsz@cstudentid}}\\ + \underline{\makebox[\infowidth]{\songti\textbf{\hitsz@cstudentid}}}\\ {\hitsz@put@title{\hitsz@bachelor@cstudenttitle}} & - \underline{\makebox[\infowidth]{\hitsz@cauthor}}\\ + \underline{\makebox[\infowidth]{\songti\textbf{\hitsz@cauthor}}}\\ {\hitsz@put@title{\hitsz@bachelor@csupervisortitle}} & - \underline{\makebox[\infowidth]{\hitsz@csupervisor}}\\ + \underline{\makebox[\infowidth]{\songti\textbf{\hitsz@csupervisor}}}\\ {\hitsz@put@title{\hitsz@cdatetitle}} & - \underline{\makebox[\infowidth]{\CJK@todaysmall}} + \underline{\makebox[\infowidth]{\songti\textbf{\CJK@todaysmall}}} \end{tabular} \fi \renewcommand{\arraystretch}{1} @@ -1026,52 +1026,87 @@ \end{center} } \newcommand{\emultiline}[2][c]{% - \renewcommand{\arraystretch}{1} + \renewcommand{\arraystretch}{1}% \begin{tabular}[#1]{@{}l@{}}#2\end{tabular} \renewcommand{\arraystretch}{1.3} } \newcommand{\hitsz@engcover}{ { \xiaosi[1.667]\noindent Classified Index: \hitsz@natclassifiedindex \\[8pt] - U.D.C: \hitsz@intclassifiedindex } + U.D.C: \hitsz@intclassifiedindex + } \vspace*{1em} \begin{center} - \parbox[t][1.6cm][t]{\textwidth}{\begin{center} \end{center} } - \parbox[t][3.5cm][t]{\textwidth}{\xiaoer[1] - \begin{center}Dissertation for the {\hitsz@exueweier} Degree in \hitsz@exueke\end{center} - \ifhitsz@fulltime\relax - \else% - \begin{center} - \hitsz@ebraceleft\hitsz@estudenttype\hitsz@ebraceright + \ifhitsz@doctor%博士封面 + \parbox[t][1.6cm][t]{\textwidth}{\begin{center} \end{center}} + \parbox[t][3.5cm][t]{\textwidth}{\xiaoer[1]% + \begin{center}% + Dissertation for the {\hitsz@exueweier} Degree in \hitsz@exueke \end{center} - \fi} %与中文保持一致,删除in {\hitsz@exueke} + \ifhitsz@fulltime + \relax + \else% + \begin{center}% + \hitsz@ebraceleft\hitsz@estudenttype\hitsz@ebraceright% + \end{center} + \fi + } + \else%硕士封面 + \vspace*{1em} + \parbox[t][4.5cm][t]{\textwidth}{\xiaoer[1]% + \begin{center}% + A dissertation submitted in partial fulfillment of \\[2pt] + the requirements for the academic degree of \\[2pt] + Master of \hitsz@exueke + \end{center} + \ifhitsz@fulltime + \relax + \else% + \begin{center}% + \hitsz@ebraceleft\hitsz@estudenttype\hitsz@ebraceright% + \end{center} + \fi + } + \fi \parbox[t][7cm][t]{\textwidth}{% - \begin{center}% - \settowidth{\hitsz@etitlelength}{% - \erhao\hitsz@etitle\ifhitsz@subtitle\hitsz@title@esep\hitsz@esubtitle\fi}% - \ifdim\hitsz@etitlelength>450mm\xiaoer\else\erhao\fi% - \textbf{\MakeUppercase{\hitsz@etitle}% -\ifhitsz@subtitle\hitsz@title@esep\MakeUppercase{\hitsz@esubtitle}\fi}\end{center}} - %★★★★若信息内容不太长,不会引起信息内容分行时,使用tabular环境,否则使用下面的tabularx环境。 + \begin{center}% + \settowidth{\hitsz@etitlelength}{% + \erhao\hitsz@etitle% + \ifhitsz@subtitle + \hitsz@title@esep\hitsz@esubtitle% + \fi + }% + \ifdim\hitsz@etitlelength>450mm\xiaoer\else\erhao\fi% + \textbf{\MakeUppercase{\hitsz@etitle}% + \ifhitsz@subtitle% + \hitsz@title@esep\MakeUppercase{\hitsz@esubtitle}% + \fi + } + \end{center} + } + % 表格 {\sihao\renewcommand{\arraystretch}{1.3} \begin{tabular}{@{}l@{~}l@{}} -\textbf{\hitsz@eauthortitle\hitsz@title@esep} & \hitsz@eauthor\\ -\textbf{\hitsz@esupervisortitle\hitsz@title@esep} & \hitsz@esupervisor\\ - \ifx\hitsz@eassosupervisor\@empty\else% -\textbf{\hitsz@eassosupervisortitle\hitsz@title@esep} & \hitsz@eassosupervisor\\ - \fi - \ifx\hitsz@ecosupervisor\@empty\else% -\textbf{\hitsz@ecosupervisortitle\hitsz@title@esep} & \hitsz@ecosupervisor\\ - \fi -\textbf{\hitsz@edegreetitle\hitsz@title@esep} & \hitsz@edegree\\ - \textbf{\hitsz@esubjecttitle\hitsz@title@esep} &\hitsz@esubject\\ -\textbf{\hitsz@eaffiltitle\hitsz@title@esep} &\hitsz@eaffil\\ -\textbf{\hitsz@edatetitle\hitsz@title@esep} & \hitsz@edate\\ -\textbf{\hitsz@eschoolnametitle\hitsz@title@esep} & \hitsz@eschoolname - \end{tabular}\renewcommand{\arraystretch}{1}} + \textbf{\hitsz@eauthortitle\hitsz@title@esep} & \hitsz@eauthor\\ + \textbf{\hitsz@esupervisortitle\hitsz@title@esep} & \hitsz@esupervisor\\ + \ifx\hitsz@eassosupervisor\@empty% + \else% + \textbf{\hitsz@eassosupervisortitle\hitsz@title@esep} & \hitsz@eassosupervisor\\ + \fi + \ifx\hitsz@ecosupervisor\@empty% + \else% + \textbf{\hitsz@ecosupervisortitle\hitsz@title@esep} & \hitsz@ecosupervisor\\ + \fi + \textbf{\hitsz@edegreetitle\hitsz@title@esep} & \hitsz@edegree\\ + \textbf{\hitsz@esubjecttitle\hitsz@title@esep} &\hitsz@esubject\\ + \textbf{\hitsz@eaffiltitle\hitsz@title@esep} &\hitsz@eaffil\\ + \textbf{\hitsz@edatetitle\hitsz@title@esep} & \hitsz@edate\\ + \textbf{\hitsz@eschoolnametitle\hitsz@title@esep} & \hitsz@eschoolname + \end{tabular} + \renewcommand{\arraystretch}{1} + } \end{center} } - \def\makecover{ \phantomsection \pdfbookmark[0]{\hitsz@ctitle}{ctitle} @@ -1281,7 +1316,15 @@ \ifhitsz@openright\cleardoublepage\else\clearpage\fi \chapter*{\ifhitsz@harbin\relax\else\sanhao\fi\hitsz@declarename@bachelor} \addcontentsline{toc}{chapter}{\hitsz@authorization@bachelor@toc} - \hitsz@authorizationtext@bachelor + \ifhitsz@shenzhen% + \hitsz@authorizationtext@bachelor@shenzhen + \else% + \ifhitsz@weihai + \hitsz@authorizationtext@bachelor@weihai + \else + \hitsz@authorizationtext@bachelor + \fi + \fi \vspace{2\baselineskip} \par\hspace{6em}\hitsz@authorsig\hfill\hitsz@frontdate\hitsz@datefill } diff --git a/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.sty b/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.sty index 2d787274f6a..1eac06471b2 100644 --- a/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.sty +++ b/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.sty @@ -11,7 +11,7 @@ % % This work has the LPPL1.3c maintenance status `maintained'. % -\ProvidesPackage{hitszthesis}[2020/03/10 2.4 Style Collection of Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)] +\ProvidesPackage{hitszthesis}[2020/03/12 3.0.3 Style Collection of Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)] % 此文件声明不在规范中要求的格式所使用的宏包 @@ -38,6 +38,9 @@ % 图形和表格的控制旋转 \RequirePackage{rotating} +% 输出无意义文字 +\RequirePackage{lipsum} + % 算法的宏包,注意宏包兼容性,先后顺序为 float、hyperref、algorithm(2e),否则无法 % 生成算法列表。我工算法混乱问题详见hithesis文档。各个实验室设置具体方法详见 % hithesis文档或者示例中给出的地址。 @@ -127,7 +130,7 @@ \renewcommand*{\genacrfullformat}[2]{% \glsentrylong{#1}% } -\makeglossaries +% \makeglossaries % 添加术语举例 \newacronym{tssbp}{树结构折筷过程}{树结构折筷过程(Tree-structured Stick-breaking process)} |