summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hitszthesis
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-05-26 03:01:29 +0000
committerNorbert Preining <norbert@preining.info>2020-05-26 03:01:29 +0000
commit49c3c37495ff518f26a6e6652e5eb12e6f50fe30 (patch)
tree487c9e21c956f02283adb852dd19139249488b3f /macros/latex/contrib/hitszthesis
parent1ed056a1ecb5c859904424ba0829c19d410f5138 (diff)
CTAN sync 202005260301
Diffstat (limited to 'macros/latex/contrib/hitszthesis')
-rw-r--r--macros/latex/contrib/hitszthesis/README.md14
-rw-r--r--macros/latex/contrib/hitszthesis/front/coverinformation.tex8
-rw-r--r--macros/latex/contrib/hitszthesis/hitszthesis-bachelor.pdf (renamed from macros/latex/contrib/hitszthesis/main-bachelor.pdf)bin391962 -> 391775 bytes
-rw-r--r--macros/latex/contrib/hitszthesis/hitszthesis-doctor.pdf (renamed from macros/latex/contrib/hitszthesis/main-doctor.pdf)bin349110 -> 349110 bytes
-rw-r--r--macros/latex/contrib/hitszthesis/hitszthesis-example.tex (renamed from macros/latex/contrib/hitszthesis/main.tex)88
-rw-r--r--macros/latex/contrib/hitszthesis/hitszthesis-master.pdf (renamed from macros/latex/contrib/hitszthesis/main-master.pdf)bin341891 -> 341891 bytes
-rw-r--r--macros/latex/contrib/hitszthesis/hitszthesis.dtx62
-rw-r--r--macros/latex/contrib/hitszthesis/hitszthesis.pdfbin605076 -> 607425 bytes
8 files changed, 101 insertions, 71 deletions
diff --git a/macros/latex/contrib/hitszthesis/README.md b/macros/latex/contrib/hitszthesis/README.md
index 2b403e82ae..ee047e546b 100644
--- a/macros/latex/contrib/hitszthesis/README.md
+++ b/macros/latex/contrib/hitszthesis/README.md
@@ -3,18 +3,18 @@
# hitszthesis: Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)
-# hitszthesis:哈尔滨工业大学(深圳)本硕博学位论文$\LaTeX$模板
+# hitszthesis:哈尔滨工业大学(深圳)本硕博学位论文LaTeX模板
![CTAN Version](https://img.shields.io/ctan/v/hitszthesis.svg)
-![Github Version](https://img.shields.io/github/release/YangLaTeX/hitszthesis.svg)
+![GitHub Version](https://img.shields.io/github/release/YangLaTeX/hitszthesis.svg)
![Repo Size](https://img.shields.io/github/repo-size/YangLaTeX/hitszthesis.svg)
![License](https://img.shields.io/ctan/l/hitszthesis.svg)
-[Github](https://github.com/YangLaTeX/hitszthesis) | [Download](https://github.com/YangLaTeX/hitszthesis/releases) | [Wiki](https://github.com/YangLaTeX/hitszthesis/wiki) | [CTAN](https://www.ctan.org/pkg/hitszthesis)
+[GitHub](https://github.com/YangLaTeX/hitszthesis) | [Gitee](https://gitee.com/jingxuanyang/hitszthesis) | [GitLab](https://gitlab.com/jingxuanyang/hitszthesis) | [Wiki](https://github.com/YangLaTeX/hitszthesis/wiki) | [CTAN](https://www.ctan.org/pkg/hitszthesis)
# Introduction to hitszthesis
-HITSZThesis is a **dissertation** LaTeX template for **Harbin Institute of Technology, ShenZhen** (HITSZ), including bachelor, master and doctor dissertations. Current version is 3.0.4, updated on 2020/03/13. Note that 3.x version is not compatible with 2.x version. Please join QQ group: 1039392552 to report issues.
+HITSZThesis is a **dissertation** LaTeX template for **Harbin Institute of Technology, ShenZhen** (HITSZ), including bachelor, master and doctor dissertations. Current version is 3.1, updated on 2020/05/25. Note that 3.x version is not compatible with 2.x version. Please join QQ group: 1039392552 to report issues.
```latex
|- front
@@ -61,7 +61,7 @@ HITSZThesis is a **dissertation** LaTeX template for **Harbin Institute of Techn
# hitszthesis 模板简介
-hitszthesis 是哈尔滨工业大学(深圳)本硕博学位论文模板,当前版本为3.0.4,更新于2020年3月13日。注意3.x版本不兼容2.x版本。请加入QQ群:1039392552反馈模板使用过程中遇到的问题。
+hitszthesis 是哈尔滨工业大学(深圳)本硕博学位论文模板,当前版本为3.1,更新于2020年5月25日。注意3.x版本不兼容2.x版本。请加入QQ群:1039392552反馈模板使用过程中遇到的问题。
# Documentation
@@ -95,11 +95,15 @@ Typesetting examples:
* Published version: [CTAN](https://www.ctan.org/pkg/hitszthesis)
* Developer version: [GitHub](https://github.com/YangLaTeX/hitszthesis)
+* Developer version: [Gitee](https://gitee.com/jingxuanyang/hitszthesis)
+* Developer version: [GitLab](https://gitlab.com/jingxuanyang/hitszthesis)
# 下载
* 发布版本:[CTAN](https://www.ctan.org/pkg/hitszthesis)
* 开发版本:[GitHub](https://github.com/YangLaTeX/hitszthesis)
+* 开发版本:[Gitee](https://gitee.com/jingxuanyang/hitszthesis)
+* 开发版本:[GitLab](https://gitlab.com/jingxuanyang/hitszthesis)
# Updates(更新)
diff --git a/macros/latex/contrib/hitszthesis/front/coverinformation.tex b/macros/latex/contrib/hitszthesis/front/coverinformation.tex
index 93da0ba036..cca578358f 100644
--- a/macros/latex/contrib/hitszthesis/front/coverinformation.tex
+++ b/macros/latex/contrib/hitszthesis/front/coverinformation.tex
@@ -23,8 +23,8 @@
ctitle={基于神经网络的机器人智能抓取研究},%放在原创性声明中使用
csubtitle={一条副标题}, %一般情况没有,可以注释掉
cxueke={工学},
- % csubject={机械设计制造及其自动化},
- csubject={机械工程},
+ csubject={机械设计制造及其自动化},
+ % csubject={机械工程},
% caffil={机电工程与自动化学院},
caffil={哈尔滨工业大学(深圳)},
cauthor={杨敬轩},
@@ -32,7 +32,9 @@
cassosupervisor={某某某 教授}, % 副指导老师
% ccosupervisor={某某某 教授}, % 联合指导老师
% 日期自动使用当前时间,若需指定按如下方式修改:
- %cdate={超新星纪元},
+ cdate={2020年6月},
+ % 指定第二页封面的日期,即答辩日期
+ cdatesecond={2020年06月09日},
cstudentid={SZ160310217},
cstudenttype={同等学力人员}, %非全日制教育申请学位者
%(同等学力人员)、(工程硕士)、(工商管理硕士)、
diff --git a/macros/latex/contrib/hitszthesis/main-bachelor.pdf b/macros/latex/contrib/hitszthesis/hitszthesis-bachelor.pdf
index f0840a8f8e..daa58b6795 100644
--- a/macros/latex/contrib/hitszthesis/main-bachelor.pdf
+++ b/macros/latex/contrib/hitszthesis/hitszthesis-bachelor.pdf
Binary files differ
diff --git a/macros/latex/contrib/hitszthesis/main-doctor.pdf b/macros/latex/contrib/hitszthesis/hitszthesis-doctor.pdf
index ac53374d4f..ac53374d4f 100644
--- a/macros/latex/contrib/hitszthesis/main-doctor.pdf
+++ b/macros/latex/contrib/hitszthesis/hitszthesis-doctor.pdf
Binary files differ
diff --git a/macros/latex/contrib/hitszthesis/main.tex b/macros/latex/contrib/hitszthesis/hitszthesis-example.tex
index a069993400..205cf33e01 100644
--- a/macros/latex/contrib/hitszthesis/main.tex
+++ b/macros/latex/contrib/hitszthesis/hitszthesis-example.tex
@@ -3,7 +3,7 @@
% !TEX program = XeLaTeX
%%=============================================
% 模板名称:hitszthesis
-% 模板版本:V3.0.4
+% 模板版本:V3.1
% 模板作者:杨敬轩(Jingxuan Yang)
% 联系作者:yangjingxuan@stu.hit.edu.cn & yanglatex2e@gmail.com
% 模板交流:QQ群:1039392552,加群请备注LaTeX、hitszthesis相关说明
@@ -12,7 +12,7 @@
% GNU make 工具:make thesis
% Windows批处理脚本:双击 compile.bat 自动编译论文
% 更多编译细节详见说明文档:hitszthesis.pdf
-% 更新时间:2020/03/12
+% 更新时间:2020/05/25
% 模板帮助:请**务必务必务必**阅读 hitszthesis.pdf 说明文档,文档查看方法:
% cmd 命令行:texdoc hitszthesis
% 推荐前往模板的 GitHub 仓库获取最新文件,地址:
@@ -20,9 +20,9 @@
%%=============================================
% 设置文档类别为 <hitszthesis>
-\documentclass[type=doctor]{hitszthesis}
+% \documentclass[type=doctor]{hitszthesis}
% \documentclass[type=master]{hitszthesis}
-% \documentclass[type=bachelor,infoleft=true]{hitszthesis}
+\documentclass[type=bachelor,infoleft=true]{hitszthesis}
% 模板提供以下选项,各个选项之间不要有空格
% 1. type=bachelor|master|doctor
@@ -48,6 +48,8 @@
% 含义:博士论文是否要求章节首页必须在奇数页,默认否(false)
% 10. library=true|false
% 含义:是否为提交到图书馆的电子版,默认否(false)
+% 11. alphappendix=true|false
+% 含义:本科毕业设计附录章节编号是否为大写字母,默认是(true)
% 自定义设置与额外加载的宏包请写在 \file{hitszthesis.sty} 里
\usepackage{hitszthesis}
@@ -107,64 +109,64 @@
%%%% \begin{本科书序} %%%% 这是一个假的环境,本科请用这里的内容
-% % 结论
-% \input{back/conclusion}
+% 结论
+\input{back/conclusion}
-% % 参考文献
-% \bibliographystyle{hitszthesis}
-% \bibliography{reference}
+% 参考文献
+\bibliographystyle{hitszthesis}
+\bibliography{reference}
-% % 授权
-% \authorization
+% 授权
+\authorization
-% % 授权页为扫描的PDF文件(scan.pdf),与上面的命令互斥
-% % \authorization[scan.pdf]
+% 授权页为扫描的PDF文件(scan.pdf),与上面的命令互斥
+% \authorization[scan.pdf]
-% % 致谢
-% \input{back/acknowledgements}
+% 致谢
+\input{back/acknowledgements}
-% % 附录
-% \begin{appendix}
-% \input{back/appendix01}
-% \input{back/appendix02}
-% \input{back/appendix03}
-% \end{appendix}
+% 附录
+\begin{appendix}
+ \input{back/appendix01}
+ \input{back/appendix02}
+ \input{back/appendix03}
+\end{appendix}
%%%% \end{本科书序}
%%%% \begin{硕博书序} %%%% 这是一个假的环境,硕、博请用这里的内容
-% 结论
-\input{back/conclusion}
+% % 结论
+% \input{back/conclusion}
-% 参考文献
-\bibliographystyle{hitszthesis}
-\bibliography{reference}
+% % 参考文献
+% \bibliographystyle{hitszthesis}
+% \bibliography{reference}
-% 附录
-\begin{appendix}
- \input{back/appendixA.tex}
- \input{back/appendixB.tex}
-\end{appendix}
+% % 附录
+% \begin{appendix}
+% \input{back/appendixA.tex}
+% \input{back/appendixB.tex}
+% \end{appendix}
-% 发表文章
-\input{back/publications}
+% % 发表文章
+% \input{back/publications}
-% 索引
-% \input{back/ceindex}
+% % 索引
+% % \input{back/ceindex}
-% 授权
-\authorization
+% % 授权
+% \authorization
-% 授权页为扫描的PDF文件(scan.pdf),与上面的命令互斥
-% \authorization[scan.pdf]
+% % 授权页为扫描的PDF文件(scan.pdf),与上面的命令互斥
+% % \authorization[scan.pdf]
-% 致谢
-\input{back/acknowledgements}
+% % 致谢
+% \input{back/acknowledgements}
-% 个人简介
-\input{back/resume}
+% % 个人简介
+% \input{back/resume}
%%%% \end{硕博书序}
diff --git a/macros/latex/contrib/hitszthesis/main-master.pdf b/macros/latex/contrib/hitszthesis/hitszthesis-master.pdf
index fad23a367a..fad23a367a 100644
--- a/macros/latex/contrib/hitszthesis/main-master.pdf
+++ b/macros/latex/contrib/hitszthesis/hitszthesis-master.pdf
Binary files differ
diff --git a/macros/latex/contrib/hitszthesis/hitszthesis.dtx b/macros/latex/contrib/hitszthesis/hitszthesis.dtx
index 0d615ac584..918854628b 100644
--- a/macros/latex/contrib/hitszthesis/hitszthesis.dtx
+++ b/macros/latex/contrib/hitszthesis/hitszthesis.dtx
@@ -16,7 +16,7 @@
%
% \iffalse
%<*driver>
-\ProvidesFile{hitszthesis.dtx}[2020/03/13 3.0.4 Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)]
+\ProvidesFile{hitszthesis.dtx}[2020/05/25 3.1 Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)]
\documentclass{ltxdoc}
\usepackage{dtx-style}
@@ -932,7 +932,7 @@
%<cls>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<cls>\ProvidesClass{hitszthesis}
%<cfg>\ProvidesFile{hitszthesis.cfg}
-%<cls|cfg>[2020/03/13 3.0.4 Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)]
+%<cls|cfg>[2020/05/25 3.1 Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ)]
% \end{macrocode}
%
% \subsection{定义选项}
@@ -1072,6 +1072,11 @@
\DeclareBoolOption[true]{absupper}
% \end{macrocode}
%
+% 本科附录章节编号是否为大写字母
+% \begin{macrocode}
+\DeclareBoolOption[true]{alphappendix}
+% \end{macrocode}
+%
% 此处添加控制本科论文的页码横线选项
% \begin{macrocode}
\DeclareBoolOption[true]{bsmainpagenumberline}
@@ -2327,17 +2332,18 @@ delim_1 "\\hspace*{\\fill}"
\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}%
@@ -2646,7 +2652,7 @@ delim_1 "\\hspace*{\\fill}"
{\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}
@@ -2663,7 +2669,7 @@ delim_1 "\\hspace*{\\fill}"
{\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}
@@ -3033,19 +3039,35 @@ delim_1 "\\hspace*{\\fill}"
% 目录中附录的章号格式。
% \begin{macrocode}
\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,%
}
% \end{macrocode}
%
% 设置附录、结论、参考文献等格式。
+% \changes{v3.1}{2020/05/25}{Add support to Alph abstract title for bachelor thesis}
% \begin{macrocode}
\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}
diff --git a/macros/latex/contrib/hitszthesis/hitszthesis.pdf b/macros/latex/contrib/hitszthesis/hitszthesis.pdf
index 89626c38e4..6d507c2540 100644
--- a/macros/latex/contrib/hitszthesis/hitszthesis.pdf
+++ b/macros/latex/contrib/hitszthesis/hitszthesis.pdf
Binary files differ