| 1 |
<!-- Author : Jingxuan Yang--> |
| 2 |
<!-- Program Email: [email protected] --> |
| 3 |
|
| 4 |
# hitszthesis: Dissertation Template for Harbin Institute of Technology, ShenZhen (HITSZ) |
| 5 |
|
| 6 |
# hitszthesis:哈尔滨工业大学(深圳)本硕博学位论文LaTeX模板 |
| 7 |
|
| 8 |
 |
| 9 |
 |
| 10 |
 |
| 11 |
 |
| 12 |
|
| 13 |
[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) |
| 14 |
|
| 15 |
# Introduction to hitszthesis |
| 16 |
|
| 17 |
HITSZThesis is a **dissertation** LaTeX template for **Harbin Institute of Technology, ShenZhen** (HITSZ), including bachelor, master and doctor dissertations. Current version is 3.2.1, updated on 2021/11/15. Note that 3.x version is not compatible with 2.x version. Please join QQ group: 1039392552 to report issues. |
| 18 |
|
| 19 |
```latex |
| 20 |
|- front |
| 21 |
|- coverinformation.tex |
| 22 |
|- denotation.tex |
| 23 |
|- body |
| 24 |
|- chapter01.tex |
| 25 |
|- chapter02.tex |
| 26 |
|- chapter03.tex |
| 27 |
|- chapter04.tex |
| 28 |
|- chapter05.tex |
| 29 |
|- chapter06.tex |
| 30 |
|- back |
| 31 |
|- acknowledgements.tex |
| 32 |
|- appendix01.tex |
| 33 |
|- appendix02.tex |
| 34 |
|- appendix03.tex |
| 35 |
|- appendixA.tex |
| 36 |
|- appendixB.tex |
| 37 |
|- ceindex.tex |
| 38 |
|- conclusion.tex |
| 39 |
|- publications.tex |
| 40 |
|- resume.tex |
| 41 |
|- figures |
| 42 |
|- bthesistitle.eps |
| 43 |
|- golfer.eps |
| 44 |
|- hitlogo.eps |
| 45 |
|- compile.bat |
| 46 |
|- ctex-fontset-siyuan.def |
| 47 |
|- hitszthesis-bachelor.pdf |
| 48 |
|- hitszthesis-doctor.pdf |
| 49 |
|- hitszthesis-master.pdf |
| 50 |
|- hitszthesis.bst |
| 51 |
|- hitszthesis.dtx |
| 52 |
|- hitszthesis.ins |
| 53 |
|- hitszthesis.pdf |
| 54 |
|- hitszthesis.sty |
| 55 |
|- latexmkrc |
| 56 |
|- main.tex |
| 57 |
|- Makefile |
| 58 |
|- README.md |
| 59 |
|- reference.bib |
| 60 |
``` |
| 61 |
|
| 62 |
# hitszthesis 模板简介 |
| 63 |
|
| 64 |
hitszthesis 是哈尔滨工业大学(深圳)本硕博学位论文模板,当前版本为3.2.1,更新于2021年11月15日。注意3.x版本不兼容2.x版本。请加入QQ群:1039392552反馈模板使用过程中遇到的问题。 |
| 65 |
|
| 66 |
# Documentation |
| 67 |
|
| 68 |
Download and unzip the template. Specific usage documentation and examples can be found in the files below: |
| 69 |
|
| 70 |
* Template usage (hitszthesis.pdf, in Chinese) |
| 71 |
* Template example (main.pdf, in Chinese) |
| 72 |
* Brief Introduction (README.md, both in Chinese and English) |
| 73 |
|
| 74 |
Typesetting examples: |
| 75 |
|
| 76 |
* bachelor dissertation (main-bachelor.pdf) |
| 77 |
* master dissertation (main-master.pdf) |
| 78 |
* doctor dissertation (main-doctor.pdf) |
| 79 |
|
| 80 |
# 说明文档 |
| 81 |
|
| 82 |
下载并解压本模板,文件夹中包含以下说明文档: |
| 83 |
|
| 84 |
* 模板开发文档(hitszthesis.pdf,中文版) |
| 85 |
* 模板撰写示例(main.pdf,中文版) |
| 86 |
* 模板简介(README.md,中英双语) |
| 87 |
|
| 88 |
示例文档: |
| 89 |
|
| 90 |
* 本科学位论文(main-bachelor.pdf) |
| 91 |
* 硕士学位论文(main-master.pdf) |
| 92 |
* 博士学位论文(main-doctor.pdf) |
| 93 |
|
| 94 |
# Downloads |
| 95 |
|
| 96 |
* Published version: [CTAN](https://www.ctan.org/pkg/hitszthesis) |
| 97 |
* Developer version: [GitHub](https://github.com/YangLaTeX/hitszthesis) |
| 98 |
* Developer version: [Gitee](https://gitee.com/jingxuanyang/hitszthesis) |
| 99 |
* Developer version: [GitLab](https://gitlab.com/jingxuanyang/hitszthesis) |
| 100 |
|
| 101 |
# 下载 |
| 102 |
|
| 103 |
* 发布版本:[CTAN](https://www.ctan.org/pkg/hitszthesis) |
| 104 |
* 开发版本:[GitHub](https://github.com/YangLaTeX/hitszthesis) |
| 105 |
* 开发版本:[Gitee](https://gitee.com/jingxuanyang/hitszthesis) |
| 106 |
* 开发版本:[GitLab](https://gitlab.com/jingxuanyang/hitszthesis) |
| 107 |
|
| 108 |
# Updates(更新) |
| 109 |
|
| 110 |
## Automatic |
| 111 |
|
| 112 |
Get the most up-to-date published version with your TeX distribution from [CTAN](https://www.ctan.org/pkg/hitszthesis). |
| 113 |
|
| 114 |
```bash |
| 115 |
tlmgr update hitszthesis |
| 116 |
``` |
| 117 |
|
| 118 |
## 自动更新 |
| 119 |
|
| 120 |
从[CTAN](https://www.ctan.org/pkg/hitszthesis)更新,命令行运行: |
| 121 |
|
| 122 |
```bash |
| 123 |
tlmgr update hitszthesis |
| 124 |
``` |
| 125 |
|
| 126 |
## Manual |
| 127 |
|
| 128 |
Download the package from [GitHub](https://github.com/YangLaTeX/hitszthesis) to the root directory of your thesis, then execute the command (Windows users `Shift + right click` white area in the file window and click "Open command line window here" from the popup menu): |
| 129 |
|
| 130 |
```shell |
| 131 |
latex hitszthesis.ins |
| 132 |
``` |
| 133 |
|
| 134 |
You'll get `hitszthesis.cls`, `hitszthesis.cfg` and `hitszthesis.ist` along with other template files. |
| 135 |
|
| 136 |
## 手动更新 |
| 137 |
|
| 138 |
从[GitHub](https://github.com/YangLaTeX/hitszthesis)下载模板,解压后打开命令行,运行: |
| 139 |
|
| 140 |
```shell |
| 141 |
latex hitszthesis.ins |
| 142 |
``` |
| 143 |
|
| 144 |
得到`hitszthesis.cls`,`hitszthesis.cfg` 与 `hitszthesis.ist`,而后打开 `main.tex` 即可开始撰写论文。 |
| 145 |
|
| 146 |
# Reporting Issues |
| 147 |
|
| 148 |
Please follow the procedure below: |
| 149 |
|
| 150 |
* QQ group: 1039392552 |
| 151 |
* [GitHub Issues](https://github.com/YangLaTeX/hitszthesis/issues) |
| 152 |
* [Educational Email](mailto:[email protected]) |
| 153 |
* [Gmail](mailto:[email protected]) |
| 154 |
|
| 155 |
# 模板问题反馈 |
| 156 |
|
| 157 |
请按照以下顺序反馈问题: |
| 158 |
|
| 159 |
* QQ group: 1039392552 |
| 160 |
* [GitHub 问题反馈](https://github.com/YangLaTeX/hitszthesis/issues) |
| 161 |
* [教育邮箱](mailto:[email protected]) |
| 162 |
* [Gmail 邮箱](mailto:[email protected]) |
| 163 |
|
| 164 |
# Makefile Usage |
| 165 |
|
| 166 |
To use Makefile, you should have GNU `make` tool installed. |
| 167 |
|
| 168 |
```bash |
| 169 |
make cls # generate class hitszthesis.cls |
| 170 |
make doc # generate template documentation hitszthesis.pdf |
| 171 |
make thesis # generate thesis main.pdf |
| 172 |
make all # generate thesis and documentation |
| 173 |
make wordcount # count word in thesis main.pdf |
| 174 |
make clean # delete all examples' files (excluding main.pdf) |
| 175 |
make cleanall # delete all examples' files and all pdf files |
| 176 |
make dev # make all clean |
| 177 |
make pub # make all cleanall |
| 178 |
``` |
| 179 |
|
| 180 |
# 使用Makefile |
| 181 |
|
| 182 |
使用Makefile之前请确保已安装GNU `make`工具。 |
| 183 |
|
| 184 |
```bash |
| 185 |
make cls # 生成类文件 hitszthesis.cls |
| 186 |
make doc # 生成说明文档 hitszthesis.pdf |
| 187 |
make thesis # 生成论文 main.pdf |
| 188 |
make all # 生成论文与说明文档 |
| 189 |
make wordcount # 论文字数统计 |
| 190 |
make clean # 删除辅助文件,除了PDF文件 |
| 191 |
make cleanall # 删除辅助文件,包含PDF文件 |
| 192 |
make dev # 等同于 make all clean |
| 193 |
make pub # 等同于 make all cleanall |
| 194 |
``` |
| 195 |
|
| 196 |
# compile.bat Usage |
| 197 |
|
| 198 |
`compile.bat` is designed for windows platform. Double click this file, then it will compile the thesis automatically. |
| 199 |
|
| 200 |
```bash |
| 201 |
compile.bat cls # generate class hitszthesis.cls |
| 202 |
compile.bat doc # generate template documentation hitszthesis.pdf |
| 203 |
compile.bat thesis # generate thesis main.pdf (default) |
| 204 |
compile.bat all # generate thesis and documentation |
| 205 |
compile.bat wordcount # count word in thesis main.pdf |
| 206 |
compile.bat clean # delete all examples' files (excluding class and configuration files) |
| 207 |
compile.bat cleanall # delete all examples' files, class and configuration files |
| 208 |
``` |
| 209 |
|
| 210 |
# 使用compile.bat |
| 211 |
|
| 212 |
`compile.bat`为windows编译脚本,双击即可编译论文。 |
| 213 |
|
| 214 |
```bash |
| 215 |
compile.bat cls # 生成类文件 hitszthesis.cls |
| 216 |
compile.bat doc # 生成说明文档 hitszthesis.pdf |
| 217 |
compile.bat thesis # 生成论文 main.pdf (默认) |
| 218 |
compile.bat all # 生成论文与说明文档 |
| 219 |
compile.bat wordcount # 论文字数统计 |
| 220 |
compile.bat clean # 删除辅助文件,除了cls与cfg文件 |
| 221 |
compile.bat cleanall # 删除辅助文件,包含cls与cfg文件 |
| 222 |
``` |
| 223 |
|
| 224 |
# Manually Compile(手动编译) |
| 225 |
|
| 226 |
## Compile Thesis(编译论文) |
| 227 |
|
| 228 |
```bash |
| 229 |
xelatex -shell-escape main.tex |
| 230 |
bibtex main |
| 231 |
xelatex -shell-escape main.tex |
| 232 |
xelatex -shell-escape main.tex |
| 233 |
splitindex main -- -s hitszthesis.ist # generate index |
| 234 |
xelatex -shell-escape main.tex |
| 235 |
``` |
| 236 |
|
| 237 |
## Compile Documentation(编译说明文档) |
| 238 |
|
| 239 |
```bash |
| 240 |
xelatex hitszthesis.dtx |
| 241 |
makeindex -s gind.ist -o hitszthesis.ind hitszthesis.idx |
| 242 |
makeindex -s gglo.ist -o hitszthesis.gls hitszthesis.glo |
| 243 |
xelatex hitszthesis.dtx |
| 244 |
xelatex hitszthesis.dtx |
| 245 |
``` |
| 246 |
|
| 247 |
# License |
| 248 |
|
| 249 |
This material is subject to the [LATEX Project Public License 1.3c](https://ctan.org/license/lppl1.3) or any later version. |
| 250 |
|
| 251 |
# 协议 |
| 252 |
|
| 253 |
本模板的发布遵照[LATEX Project Public License 1.3c](https://ctan.org/license/lppl1.3)协议或其后版本。 |
| 254 |
|
| 255 |
# Acknowledgements(致谢) |
| 256 |
|
| 257 |
* [hithesis](https://github.com/dustincys/hithesis) |
| 258 |
* [thuthesis](https://github.com/xueruini/thuthesis) |