texlive[55272] Master/texmf-dist: hitszthesis (25may20)
commits+karl at tug.org
commits+karl at tug.org
Mon May 25 23:11:59 CEST 2020
Revision: 55272
http://tug.org/svn/texlive?view=revision&revision=55272
Author: karl
Date: 2020-05-25 23:11:58 +0200 (Mon, 25 May 2020)
Log Message:
-----------
hitszthesis (25may20)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/hitszthesis/README.md
trunk/Master/texmf-dist/doc/latex/hitszthesis/front/coverinformation.tex
trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis.cfg
trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis.pdf
trunk/Master/texmf-dist/source/latex/hitszthesis/hitszthesis.dtx
trunk/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-bachelor.pdf
trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-doctor.pdf
trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-example.tex
trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-master.pdf
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/hitszthesis/main-bachelor.pdf
trunk/Master/texmf-dist/doc/latex/hitszthesis/main-doctor.pdf
trunk/Master/texmf-dist/doc/latex/hitszthesis/main-master.pdf
trunk/Master/texmf-dist/doc/latex/hitszthesis/main.tex
Modified: trunk/Master/texmf-dist/doc/latex/hitszthesis/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hitszthesis/README.md 2020-05-25 21:11:36 UTC (rev 55271)
+++ trunk/Master/texmf-dist/doc/latex/hitszthesis/README.md 2020-05-25 21:11:58 UTC (rev 55272)
@@ -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 模板简介
-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 @@
* 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(更新)
Modified: trunk/Master/texmf-dist/doc/latex/hitszthesis/front/coverinformation.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hitszthesis/front/coverinformation.tex 2020-05-25 21:11:36 UTC (rev 55271)
+++ trunk/Master/texmf-dist/doc/latex/hitszthesis/front/coverinformation.tex 2020-05-25 21:11:58 UTC (rev 55272)
@@ -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={同等学力人员}, %非全日制教育申请学位者
%(同等学力人员)、(工程硕士)、(工商管理硕士)、
Added: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-bachelor.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-bachelor.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-bachelor.pdf 2020-05-25 21:11:36 UTC (rev 55271)
+++ trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-bachelor.pdf 2020-05-25 21:11:58 UTC (rev 55272)
Property changes on: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-bachelor.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-doctor.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-doctor.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-doctor.pdf 2020-05-25 21:11:36 UTC (rev 55271)
+++ trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-doctor.pdf 2020-05-25 21:11:58 UTC (rev 55272)
Property changes on: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-doctor.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-example.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-example.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-example.tex 2020-05-25 21:11:58 UTC (rev 55272)
@@ -0,0 +1,180 @@
+%%=============================================
+% !Mode:: "TeX:UTF-8"
+% !TEX program = XeLaTeX
+%%=============================================
+% 模板名称:hitszthesis
+% 模板版本:V3.1
+% 模板作者:杨敬轩(Jingxuan Yang)
+% 联系作者:yangjingxuan at stu.hit.edu.cn & yanglatex2e at gmail.com
+% 模板交流:QQ群:1039392552,加群请备注LaTeX、hitszthesis相关说明
+% 模板适用:哈尔滨工业大学(深圳)本、硕、博学位论文
+% 模板编译:手动编译方法参看 README.md 或 hitszthesis.pdf
+% GNU make 工具:make thesis
+% Windows批处理脚本:双击 compile.bat 自动编译论文
+% 更多编译细节详见说明文档:hitszthesis.pdf
+% 更新时间:2020/05/25
+% 模板帮助:请**务必务必务必**阅读 hitszthesis.pdf 说明文档,文档查看方法:
+% cmd 命令行:texdoc hitszthesis
+% 推荐前往模板的 GitHub 仓库获取最新文件,地址:
+% https://github.com/YangLaTeX/hitszthesis
+%%=============================================
+
+% 设置文档类别为 <hitszthesis>
+% \documentclass[type=doctor]{hitszthesis}
+% \documentclass[type=master]{hitszthesis}
+\documentclass[type=bachelor,infoleft=true]{hitszthesis}
+
+% 模板提供以下选项,各个选项之间不要有空格
+% 1. type=bachelor|master|doctor
+% 含义:本科、硕士、博士学位论文,不设默认值,**必填**
+% 2. covertitletworow=true|false
+% 含义:本科封面第一页标题单行或多行显示,默认为单行显示(false)
+% 3. infoleft=true|false
+% 含义:本科封面第二页下划线内容居中或居左显示,默认为居中显示(false)
+% 4. mathfont=newtxmath|mtprotwolite|mtprotwo
+% 含义:正文数学字体选项:newtxmath(默认),mtprotwolite(lite版,免费),
+% mtprotwo(完全版,需购买授权),
+% mtpro2字体官网:https://www.pctex.com/mtpro2.html
+% 5. boldcaption=true|false
+% 含义:图表题注是否加粗,默认为不加粗(false)
+% 6. tocfour=true|false
+% 含义:是否添加第四级目录,只对本科文科个别要求四级目录有效,默认不添加(false)
+% 7. fulltime=true|false
+% 含义:是否全日制,非全日制如同等学力等,要在coverinformation中设置类型,
+% 默认是全日制(true)
+% 8. subtitle=true|false
+% 含义:论文题目是否含有副标题,默认没有副标题(false)
+% 9. openright=true|false
+% 含义:博士论文是否要求章节首页必须在奇数页,默认否(false)
+% 10. library=true|false
+% 含义:是否为提交到图书馆的电子版,默认否(false)
+% 11. alphappendix=true|false
+% 含义:本科毕业设计附录章节编号是否为大写字母,默认是(true)
+
+% 自定义设置与额外加载的宏包请写在 \file{hitszthesis.sty} 里
+\usepackage{hitszthesis}
+
+% 图片存放路径,在这些文件夹里的图片可以直接使用图片文件名调用
+\graphicspath{{figures/}{pictures/}}
+
+%%=============================================
+% 开始写论文
+% !!注意本文仅作为排版格式示例,并不作为毕业论文规范
+\begin{document}
+
+% 若题目过长,则需使用以下命令调整本科封面第二页下划线长度
+%\infowidth = 9cm
+
+% 开始写前言部分
+\frontmatter
+
+% 封面信息填写
+\input{front/coverinformation}
+
+% 生成封面、中英文摘要
+\makecover
+
+% 物理量名称表,若采用标准符号则不需要此表
+% \input{front/denotation}
+
+% 中文目录
+\tableofcontents
+
+% 英文目录,本硕不要求
+% \tableofengcontents
+
+% 开始写正文
+\mainmatter
+
+% 第1章
+\input{body/chapter01}
+
+% 第2章
+\input{body/chapter02}
+
+% 第3章
+\input{body/chapter03}
+
+% 第4章
+\input{body/chapter04}
+
+% 第5章
+\input{body/chapter05}
+
+% 第6章
+\input{body/chapter06}
+
+% 开始写正文之后的部分
+\backmatter
+
+%%%% \begin{本科书序} %%%% 这是一个假的环境,本科请用这里的内容
+
+% 结论
+\input{back/conclusion}
+
+% 参考文献
+\bibliographystyle{hitszthesis}
+\bibliography{reference}
+
+% 授权
+\authorization
+
+% 授权页为扫描的PDF文件(scan.pdf),与上面的命令互斥
+% \authorization[scan.pdf]
+
+% 致谢
+\input{back/acknowledgements}
+
+% 附录
+\begin{appendix}
+ \input{back/appendix01}
+ \input{back/appendix02}
+ \input{back/appendix03}
+\end{appendix}
+
+%%%% \end{本科书序}
+
+
+%%%% \begin{硕博书序} %%%% 这是一个假的环境,硕、博请用这里的内容
+
+% % 结论
+% \input{back/conclusion}
+
+% % 参考文献
+% \bibliographystyle{hitszthesis}
+% \bibliography{reference}
+
+% % 附录
+% \begin{appendix}
+% \input{back/appendixA.tex}
+% \input{back/appendixB.tex}
+% \end{appendix}
+
+% % 发表文章
+% \input{back/publications}
+
+% % 索引
+% % \input{back/ceindex}
+
+% % 授权
+% \authorization
+
+% % 授权页为扫描的PDF文件(scan.pdf),与上面的命令互斥
+% % \authorization[scan.pdf]
+
+% % 致谢
+% \input{back/acknowledgements}
+
+% % 个人简介
+% \input{back/resume}
+
+%%%% \end{硕博书序}
+
+
+% 结束文档撰写
+\end{document}
+%%=============================================
+
+% Local Variables:
+% TeX-engine: xetex
+% End:
Property changes on: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-example.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-master.pdf
===================================================================
(Binary files differ)
Index: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-master.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-master.pdf 2020-05-25 21:11:36 UTC (rev 55271)
+++ trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-master.pdf 2020-05-25 21:11:58 UTC (rev 55272)
Property changes on: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis-master.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis.cfg
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis.cfg 2020-05-25 21:11:36 UTC (rev 55271)
+++ trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis.cfg 2020-05-25 21:11:58 UTC (rev 55272)
@@ -23,7 +23,7 @@
%% This is the configuration file of the hitszthesis package with LaTeX2e.
%%
\ProvidesFile{hitszthesis.cfg}
-[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)]
\theorembodyfont{\normalfont}
\theoremheaderfont{\normalfont\heiti}
\theoremsymbol{\ensuremath{\square}}
Modified: trunk/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/hitszthesis/main-bachelor.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/hitszthesis/main-doctor.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/hitszthesis/main-master.pdf
===================================================================
(Binary files differ)
Deleted: trunk/Master/texmf-dist/doc/latex/hitszthesis/main.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hitszthesis/main.tex 2020-05-25 21:11:36 UTC (rev 55271)
+++ trunk/Master/texmf-dist/doc/latex/hitszthesis/main.tex 2020-05-25 21:11:58 UTC (rev 55272)
@@ -1,178 +0,0 @@
-%%=============================================
-% !Mode:: "TeX:UTF-8"
-% !TEX program = XeLaTeX
-%%=============================================
-% 模板名称:hitszthesis
-% 模板版本:V3.0.4
-% 模板作者:杨敬轩(Jingxuan Yang)
-% 联系作者:yangjingxuan at stu.hit.edu.cn & yanglatex2e at gmail.com
-% 模板交流:QQ群:1039392552,加群请备注LaTeX、hitszthesis相关说明
-% 模板适用:哈尔滨工业大学(深圳)本、硕、博学位论文
-% 模板编译:手动编译方法参看 README.md 或 hitszthesis.pdf
-% GNU make 工具:make thesis
-% Windows批处理脚本:双击 compile.bat 自动编译论文
-% 更多编译细节详见说明文档:hitszthesis.pdf
-% 更新时间:2020/03/12
-% 模板帮助:请**务必务必务必**阅读 hitszthesis.pdf 说明文档,文档查看方法:
-% cmd 命令行:texdoc hitszthesis
-% 推荐前往模板的 GitHub 仓库获取最新文件,地址:
-% https://github.com/YangLaTeX/hitszthesis
-%%=============================================
-
-% 设置文档类别为 <hitszthesis>
-\documentclass[type=doctor]{hitszthesis}
-% \documentclass[type=master]{hitszthesis}
-% \documentclass[type=bachelor,infoleft=true]{hitszthesis}
-
-% 模板提供以下选项,各个选项之间不要有空格
-% 1. type=bachelor|master|doctor
-% 含义:本科、硕士、博士学位论文,不设默认值,**必填**
-% 2. covertitletworow=true|false
-% 含义:本科封面第一页标题单行或多行显示,默认为单行显示(false)
-% 3. infoleft=true|false
-% 含义:本科封面第二页下划线内容居中或居左显示,默认为居中显示(false)
-% 4. mathfont=newtxmath|mtprotwolite|mtprotwo
-% 含义:正文数学字体选项:newtxmath(默认),mtprotwolite(lite版,免费),
-% mtprotwo(完全版,需购买授权),
-% mtpro2字体官网:https://www.pctex.com/mtpro2.html
-% 5. boldcaption=true|false
-% 含义:图表题注是否加粗,默认为不加粗(false)
-% 6. tocfour=true|false
-% 含义:是否添加第四级目录,只对本科文科个别要求四级目录有效,默认不添加(false)
-% 7. fulltime=true|false
-% 含义:是否全日制,非全日制如同等学力等,要在coverinformation中设置类型,
-% 默认是全日制(true)
-% 8. subtitle=true|false
-% 含义:论文题目是否含有副标题,默认没有副标题(false)
-% 9. openright=true|false
-% 含义:博士论文是否要求章节首页必须在奇数页,默认否(false)
-% 10. library=true|false
-% 含义:是否为提交到图书馆的电子版,默认否(false)
-
-% 自定义设置与额外加载的宏包请写在 \file{hitszthesis.sty} 里
-\usepackage{hitszthesis}
-
-% 图片存放路径,在这些文件夹里的图片可以直接使用图片文件名调用
-\graphicspath{{figures/}{pictures/}}
-
-%%=============================================
-% 开始写论文
-% !!注意本文仅作为排版格式示例,并不作为毕业论文规范
-\begin{document}
-
-% 若题目过长,则需使用以下命令调整本科封面第二页下划线长度
-%\infowidth = 9cm
-
-% 开始写前言部分
-\frontmatter
-
-% 封面信息填写
-\input{front/coverinformation}
-
-% 生成封面、中英文摘要
-\makecover
-
-% 物理量名称表,若采用标准符号则不需要此表
-% \input{front/denotation}
-
-% 中文目录
-\tableofcontents
-
-% 英文目录,本硕不要求
-% \tableofengcontents
-
-% 开始写正文
-\mainmatter
-
-% 第1章
-\input{body/chapter01}
-
-% 第2章
-\input{body/chapter02}
-
-% 第3章
-\input{body/chapter03}
-
-% 第4章
-\input{body/chapter04}
-
-% 第5章
-\input{body/chapter05}
-
-% 第6章
-\input{body/chapter06}
-
-% 开始写正文之后的部分
-\backmatter
-
-%%%% \begin{本科书序} %%%% 这是一个假的环境,本科请用这里的内容
-
-% % 结论
-% \input{back/conclusion}
-
-% % 参考文献
-% \bibliographystyle{hitszthesis}
-% \bibliography{reference}
-
-% % 授权
-% \authorization
-
-% % 授权页为扫描的PDF文件(scan.pdf),与上面的命令互斥
-% % \authorization[scan.pdf]
-
-% % 致谢
-% \input{back/acknowledgements}
-
-% % 附录
-% \begin{appendix}
-% \input{back/appendix01}
-% \input{back/appendix02}
-% \input{back/appendix03}
-% \end{appendix}
-
-%%%% \end{本科书序}
-
-
-%%%% \begin{硕博书序} %%%% 这是一个假的环境,硕、博请用这里的内容
-
-% 结论
-\input{back/conclusion}
-
-% 参考文献
-\bibliographystyle{hitszthesis}
-\bibliography{reference}
-
-% 附录
-\begin{appendix}
- \input{back/appendixA.tex}
- \input{back/appendixB.tex}
-\end{appendix}
-
-% 发表文章
-\input{back/publications}
-
-% 索引
-% \input{back/ceindex}
-
-% 授权
-\authorization
-
-% 授权页为扫描的PDF文件(scan.pdf),与上面的命令互斥
-% \authorization[scan.pdf]
-
-% 致谢
-\input{back/acknowledgements}
-
-% 个人简介
-\input{back/resume}
-
-%%%% \end{硕博书序}
-
-
-% 结束文档撰写
-\end{document}
-%%=============================================
-
-% Local Variables:
-% TeX-engine: xetex
-% End:
Modified: trunk/Master/texmf-dist/source/latex/hitszthesis/hitszthesis.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/hitszthesis/hitszthesis.dtx 2020-05-25 21:11:36 UTC (rev 55271)
+++ trunk/Master/texmf-dist/source/latex/hitszthesis/hitszthesis.dtx 2020-05-25 21:11:58 UTC (rev 55272)
@@ -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 @@
\hitsz at def@term{natclassifiedindex} %国内图书分类号
\hitsz at def@term{intclassifiedindex} %国际图书分类号
-\hitsz at def@term{ctitlecover} %中文标题封面
-\hitsz at def@term{ctitle} %中文标题
-\hitsz at def@term{csubtitle} %中文副标题
-\hitsz at def@term{cxueke} %中文学科
-\hitsz at def@term{cauthor} %中文作者
-\hitsz at def@term{csupervisor} %中文导师
-\hitsz at def@term{cassosupervisor} %中文副导师
-\hitsz at def@term{ccosupervisor}%中文联合导师
-\hitsz at def@term{caffil}%中文院系
-\hitsz at def@term{csubject}%中文专业
-\hitsz at def@term{cdate}
+\hitsz at def@term{ctitlecover} % 中文标题封面
+\hitsz at def@term{ctitle} % 中文标题
+\hitsz at def@term{csubtitle} % 中文副标题
+\hitsz at def@term{cxueke} % 中文学科
+\hitsz at def@term{cauthor} % 中文作者
+\hitsz at def@term{csupervisor} % 中文导师
+\hitsz at def@term{cassosupervisor} % 中文副导师
+\hitsz at def@term{ccosupervisor} % 中文联合导师
+\hitsz at def@term{caffil} % 中文院系
+\hitsz at def@term{csubject} % 中文专业
+\hitsz at def@term{cdate} % 封面日期指定
+\hitsz at def@term{cdatesecond} % 第二页日期指定
\hitsz at def@term{cstudentid}%
\hitsz at def@term{cstudenttype}%
@@ -2646,7 +2652,7 @@
{\hitsz at put@title{\hitsz at bachelor@csupervisortitle}} &
\underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\hitsz at csupervisor}}}\\
{\hitsz at put@title{\hitsz at cdatetitle}} &
- \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\CJK at todaysmall}}}
+ \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\hitsz at cdatesecond}}}
\end{tabular}
\else
\begin{tabular}{l@{\ \ }c}
@@ -2663,7 +2669,7 @@
{\hitsz at put@title{\hitsz at bachelor@csupervisortitle}} &
\underline{\makebox[\infowidth]{\songti\textbf{\hitsz at csupervisor}}}\\
{\hitsz at put@title{\hitsz at cdatetitle}} &
- \underline{\makebox[\infowidth]{\songti\textbf{\CJK at todaysmall}}}
+ \underline{\makebox[\infowidth]{\songti\textbf{\hitsz at cdatesecond}}}
\end{tabular}
\fi
\renewcommand{\arraystretch}{1}
@@ -3033,19 +3039,35 @@
% 目录中附录的章号格式。
% \begin{macrocode}
\ctexset{%
- appendix/number=\ifhitsz at bachelor\arabic{chapter}\else\Alph{chapter}\fi,
+ appendix/number=\ifhitsz at bachelor%
+ \ifhitsz at 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 at appendix\appendix
\renewenvironment{appendix}{%
- \let\title\hitsz at appendix@title
- \hitsz at appendix
- \ifhitsz at bachelor\renewcommand{\thechapter}{\arabic{chapter}}\fi
+ \let\title\hitsz at appendix@title%
+ \hitsz at appendix%
+ \ifhitsz at bachelor%
+ \ifhitsz at alphappendix%
+ \renewcommand{\thechapter}{\Alph{chapter}}%
+ \else%
+ \renewcommand{\thechapter}{\arabic{chapter}}%
+ \fi%
+ \fi%
}{%
- \let\title\@gobble}
+ \let\title\@gobble%
+}
\let\title\@gobble
\newcommand{\hitsz at appendix@title}[1]{%
\begin{center}
Modified: trunk/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls 2020-05-25 21:11:36 UTC (rev 55271)
+++ trunk/Master/texmf-dist/tex/latex/hitszthesis/hitszthesis.cls 2020-05-25 21:11:58 UTC (rev 55272)
@@ -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 at def@term{natclassifiedindex} %国内图书分类号
\hitsz at def@term{intclassifiedindex} %国际图书分类号
-\hitsz at def@term{ctitlecover} %中文标题封面
-\hitsz at def@term{ctitle} %中文标题
-\hitsz at def@term{csubtitle} %中文副标题
-\hitsz at def@term{cxueke} %中文学科
-\hitsz at def@term{cauthor} %中文作者
-\hitsz at def@term{csupervisor} %中文导师
-\hitsz at def@term{cassosupervisor} %中文副导师
-\hitsz at def@term{ccosupervisor}%中文联合导师
-\hitsz at def@term{caffil}%中文院系
-\hitsz at def@term{csubject}%中文专业
-\hitsz at def@term{cdate}
+\hitsz at def@term{ctitlecover} % 中文标题封面
+\hitsz at def@term{ctitle} % 中文标题
+\hitsz at def@term{csubtitle} % 中文副标题
+\hitsz at def@term{cxueke} % 中文学科
+\hitsz at def@term{cauthor} % 中文作者
+\hitsz at def@term{csupervisor} % 中文导师
+\hitsz at def@term{cassosupervisor} % 中文副导师
+\hitsz at def@term{ccosupervisor} % 中文联合导师
+\hitsz at def@term{caffil} % 中文院系
+\hitsz at def@term{csubject} % 中文专业
+\hitsz at def@term{cdate} % 封面日期指定
+\hitsz at def@term{cdatesecond} % 第二页日期指定
\hitsz at def@term{cstudentid}%
\hitsz at def@term{cstudenttype}%
@@ -909,7 +911,7 @@
{\hitsz at put@title{\hitsz at bachelor@csupervisortitle}} &
\underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\hitsz at csupervisor}}}\\
{\hitsz at put@title{\hitsz at cdatetitle}} &
- \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\CJK at todaysmall}}}
+ \underline{\makebox[\infowidth][l]{\hspace*{1em}\songti\textbf{\hitsz at cdatesecond}}}
\end{tabular}
\else
\begin{tabular}{l@{\ \ }c}
@@ -926,7 +928,7 @@
{\hitsz at put@title{\hitsz at bachelor@csupervisortitle}} &
\underline{\makebox[\infowidth]{\songti\textbf{\hitsz at csupervisor}}}\\
{\hitsz at put@title{\hitsz at cdatetitle}} &
- \underline{\makebox[\infowidth]{\songti\textbf{\CJK at todaysmall}}}
+ \underline{\makebox[\infowidth]{\songti\textbf{\hitsz at cdatesecond}}}
\end{tabular}
\fi
\renewcommand{\arraystretch}{1}
@@ -1233,15 +1235,30 @@
\if at restonecol\twocolumn\fi}
\def\@dotsep{0.75} % 定义英文目录的点间距
\ctexset{%
- appendix/number=\ifhitsz at bachelor\arabic{chapter}\else\Alph{chapter}\fi,
+ appendix/number=\ifhitsz at bachelor%
+ \ifhitsz at alphappendix%
+ \Alph{chapter}%
+ \else%
+ \arabic{chapter}%
+ \fi%
+ \else%
+ \Alph{chapter}%
+ \fi,%
}
\let\hitsz at appendix\appendix
\renewenvironment{appendix}{%
- \let\title\hitsz at appendix@title
- \hitsz at appendix
- \ifhitsz at bachelor\renewcommand{\thechapter}{\arabic{chapter}}\fi
+ \let\title\hitsz at appendix@title%
+ \hitsz at appendix%
+ \ifhitsz at bachelor%
+ \ifhitsz at alphappendix%
+ \renewcommand{\thechapter}{\Alph{chapter}}%
+ \else%
+ \renewcommand{\thechapter}{\arabic{chapter}}%
+ \fi%
+ \fi%
}{%
- \let\title\@gobble}
+ \let\title\@gobble%
+}
\let\title\@gobble
\newcommand{\hitsz at appendix@title}[1]{%
\begin{center}
More information about the tex-live-commits
mailing list.