summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-05 22:08:01 +0000
committerKarl Berry <karl@freefriends.org>2020-03-05 22:08:01 +0000
commit938d0017220d59681ce920e3593cb9cdef66341e (patch)
treeb7c4df418e1f6e77520b0cc3fb3529b0a003d498 /Master/texmf-dist/doc/latex
parentf768bb28c0a5e33e07be0c1a35fef697528091c7 (diff)
hitszthesis (5mar20)
git-svn-id: svn://tug.org/texlive/trunk@54111 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r--Master/texmf-dist/doc/latex/hitszthesis/README.md58
-rw-r--r--Master/texmf-dist/doc/latex/hitszthesis/dtx-style.sty4
-rw-r--r--Master/texmf-dist/doc/latex/hitszthesis/hitszthesis.pdfbin404438 -> 402412 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hitszthesis/main.pdfbin905499 -> 902896 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hitszthesis/main.tex39
-rw-r--r--Master/texmf-dist/doc/latex/hitszthesis/spine.pdfbin8302 -> 8312 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hitszthesis/spine.tex7
-rw-r--r--Master/texmf-dist/doc/latex/hitszthesis/tex/appendix01.tex14
-rw-r--r--Master/texmf-dist/doc/latex/hitszthesis/tex/appendix02.tex11
-rw-r--r--Master/texmf-dist/doc/latex/hitszthesis/tex/chapter03.tex49
10 files changed, 95 insertions, 87 deletions
diff --git a/Master/texmf-dist/doc/latex/hitszthesis/README.md b/Master/texmf-dist/doc/latex/hitszthesis/README.md
index 69d04a94f38..021551d0fdc 100644
--- a/Master/texmf-dist/doc/latex/hitszthesis/README.md
+++ b/Master/texmf-dist/doc/latex/hitszthesis/README.md
@@ -1,27 +1,37 @@
<!-- Author : Jingxuan Yang-->
<!-- Program Email: yanglatex2e@gmail.com -->
+![CTAN Version](https://img.shields.io/ctan/v/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)
# Introduction to hitszthesis
-HITSZThesis is a **bachelor dissertation** LaTeX template for **Harbin Institute of Technology, ShenZhen** (HITSZ). Current version is 2.1, updated on 2020/2/23.
+HITSZThesis is a **bachelor dissertation** LaTeX template for **Harbin Institute of Technology, ShenZhen** (HITSZ). Current version is 2.3, updated on 2020/03/05.
# Documentation
+
Download and unzip the template. Specific usage documentation and examples can be found in the files below. At present, these documents are **only available in Chinese**:
+
* Template usage (hitszthesis.pdf)
* Template example (main.pdf)
# Downloads
+
* Published version: [CTAN](https://www.ctan.org/pkg/hitszthesis)
* Developer version: [GitHub](https://github.com/YangLaTeX/hitszthesis)
# Updates
## Automatic
+
Get the most up-to-date published version with your TeX distribution from [CTAN](https://www.ctan.org/pkg/hitszthesis).
## Manual
+
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):
```shell
@@ -31,40 +41,44 @@ xetex hitszthesis.ins
You'll get `hitszthesis.cls` along with other template files.
# Reporting Issues
+
Please follow the procedure below:
* QQ group: 1039392552
-* Check the [FAQ](https://github.com/YangLaTeX/hitszthesis/wiki/FAQ)
* [GitHub Issues](https://github.com/YangLaTeX/hitszthesis/issues)
# Makefile Usage
-```shell
-make [{all|thesis|spine|doc|clean|cleanall|distclean}]
+To use Makefile, you should have GNU `make` tool installed.
+
+```bash
+make cls # generate class hitszthesis.cls
+make doc # generate template documentation hitszthesis.pdf;
+make thesis # generate thesis main.pdf;
+make spine # generate book spine for printing spine.pdf;
+make all # generate thesis and spine, same as `make thesis && make spine`;
+make wordcount # count word in thesis main.pdf
+make clean # delete all examples' files (excluding main.pdf);
+make cleanall # delete all examples' files and all pdf file;
+make dev # make doc all clean
+make pub # make doc all cleanall
```
-## Targets
-* `make thesis` generate thesis main.pdf;
-* `make spine` generate book spine for printing spine.pdf;
-* `make doc` generate template documentation hitszthesis.pdf;
-* `make all` generate thesis and spine, same as `make thesis && make spine`;
-* `make wordcount` count word in thesis main.pdf
-* `make clean` delete all examples' files (excluding main.pdf);
-* `make cleanall` delete all examples' files and all pdf file;
-* `make distclean` delete all examples' and templates' files and PDFs.
+# compile.bat Usage
-# Compile.bat Usage
+compile.bat is designed for windows platform.
```bash
-Compile.bat cls # generate class hitszthesis.cls
-Compile.bat doc # generate template documentation hitszthesis.pdf
-Compile.bat thesis # generate thesis main.pdf
-Compile.bat spine # generate book spine for printing spine.pdf
-Compile.bat all # generate thesis and spine, same as `make thesis && make spine`
-Compile.bat wordcount # count word in thesis main.pdf
-Compile.bat clean # delete all examples' files (excluding main.pdf)
-Compile.bat cleanall # delete all examples' files and all pdf file
+compile.bat cls # generate class hitszthesis.cls
+compile.bat doc # generate template documentation hitszthesis.pdf
+compile.bat thesis # generate thesis main.pdf
+compile.bat spine # generate book spine for printing spine.pdf
+compile.bat all # generate thesis and spine, same as `make thesis && make spine`
+compile.bat wordcount # count word in thesis main.pdf
+compile.bat clean # delete all examples' files (excluding main.pdf)
+compile.bat cleanall # delete all examples' files and all pdf file
```
# License
+
This material is subject to the [LATEX Project Public License 1.3c](https://ctan.org/license/lppl1.3) or any later version.
diff --git a/Master/texmf-dist/doc/latex/hitszthesis/dtx-style.sty b/Master/texmf-dist/doc/latex/hitszthesis/dtx-style.sty
index 35e9ac93302..e91f12a780d 100644
--- a/Master/texmf-dist/doc/latex/hitszthesis/dtx-style.sty
+++ b/Master/texmf-dist/doc/latex/hitszthesis/dtx-style.sty
@@ -23,7 +23,7 @@
%%
\RequirePackage{ifxetex}
\ifxetex\else
- \ClassError{hitszthesis}{Please use XeLaTeX to compile the file}{}
+ \ClassError{hitszthesis}{Please use XeLaTeX to compile this file}{}
\end{document}
\fi
\ProvidesPackage{dtx-style}
@@ -135,7 +135,7 @@
\DeclareDocumentCommand{\file}{s m}{%
\texttt{#2}\IfBooleanF#1{\hitsz@special@index{file}{#2}}}
\newcommand{\myentry}[1]{%
- \marginpar{\raggedleft\color{purple}\bfseries\strut #1}}
+ \marginpar{\raggedleft\color{purple}\bfseries\small\strut #1}}
\newcommand{\note}[2][Note]{{%
\color{magenta}{\bfseries #1}\emph{#2}}}
diff --git a/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis.pdf b/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis.pdf
index a9f862476d9..818a851e77c 100644
--- a/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis.pdf
+++ b/Master/texmf-dist/doc/latex/hitszthesis/hitszthesis.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hitszthesis/main.pdf b/Master/texmf-dist/doc/latex/hitszthesis/main.pdf
index 8429fe8d7fe..a56890a9e12 100644
--- a/Master/texmf-dist/doc/latex/hitszthesis/main.pdf
+++ b/Master/texmf-dist/doc/latex/hitszthesis/main.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hitszthesis/main.tex b/Master/texmf-dist/doc/latex/hitszthesis/main.tex
index ec89f2b7f26..afe154b4d67 100644
--- a/Master/texmf-dist/doc/latex/hitszthesis/main.tex
+++ b/Master/texmf-dist/doc/latex/hitszthesis/main.tex
@@ -3,38 +3,39 @@
% !TEX program = XeLaTeX
%%=============================================
% 模板名称:HITSZThesis
-% 模板版本:V2.1
+% 模板版本:V2.3
% 模板作者:杨敬轩(Jingxuan Yang)
% 联系作者:yangjingxuan@stu.hit.edu.cn & yanglatex2e@gmail.com
-% 模板交流:QQ群:1039392552,加群请备注LaTeX、HITSZThesis相关说明
+% 模板交流:QQ群:1039392552,加群请备注LaTeX、hitszthesis相关说明
% 模板适用:哈尔滨工业大学(深圳)本科毕业设计(论文)
% 模板编译:XeLaTeX,编译两次,两次,两次!!!
-% GNU make 工具:make thesis
-% 更多编译细节详见说明文档:hitszthesis.pdf
-% 更新时间:02/23/2020
+% GNU make 工具:make thesis
+% compile.bat 批处理脚本:compile.bat thesis
+% 更多编译细节详见说明文档:hitszthesis.pdf
+% 更新时间:2020/03/05
% 模板帮助:请**务必务必务必**阅读 hitszthesis.pdf 说明文档,文档查看方法:
-% cmd 命令行:texdoc hitszthesis
-% 推荐前往模板的GitHub仓库获取最新文件,地址:
-% https://github.com/YangLaTeX/hitszthesis
+% cmd 命令行:texdoc hitszthesis
+% 推荐前往模板的GitHub仓库获取最新文件,地址:
+% https://github.com/YangLaTeX/hitszthesis
%%=============================================
% 设置文档类别为<hitszthesis>
\documentclass{hitszthesis}
% 模板提供以下选项
-% 1. 封面标题单行或多行显示:
+% 1. covertitle,封面标题单行或多行显示:
%% onerow(默认,单行),tworow(两行)
-% 2. 封面第二页下划线内容居中或居左显示:
+% 2. infoalign,封面第二页下划线内容居中或居左显示:
%% infocenter(默认,居中),infoleft(居左)
-% 3. 正文数学字体选项:
-%% newtxmath(默认,凑合),mtpro2(非常推荐)
-%% 将 newtxmath 设置为默认数学字体仅为了避免同学未安装mtpro2字体
-%% 会产生的编译错误
-%% !mtpro2为非免费字体,CTAN禁止提供下载链接,需自行下载该字体
-
-% 示例:两行,居左,mtpro2字体,将<\documentclass{hitszthesis}>注释,
-% 且将下面语句取消注释
-%\documentclass[tworow, infoleft, mtpro2]{hitszthesis}
+% 3. mathfont,正文数学字体选项:
+%% newtxmath(默认),XITS(可选),mtpro2lite(lite版,免费),
+%% mtpro2(完全版,需购买授权)
+%% mtpro2字体官网:https://www.pctex.com/mtpro2.html
+% 4. boldcaption,图表题注是否加粗布尔选项,默认为false(否)
+
+% 示例:两行,居左,mtpro2字体,图表题注加粗,
+% 将<\documentclass{hitszthesis}>注释,且将下面语句取消注释
+%\documentclass[tworow, infoleft, mtpro2, boldcaption=true]{hitszthesis}
% 自定义设置与额外加载的宏包请写在 \file{hitszthesis.sty} 里
% 预设该文件为空
diff --git a/Master/texmf-dist/doc/latex/hitszthesis/spine.pdf b/Master/texmf-dist/doc/latex/hitszthesis/spine.pdf
index 2a5b78f4eb8..378022907c7 100644
--- a/Master/texmf-dist/doc/latex/hitszthesis/spine.pdf
+++ b/Master/texmf-dist/doc/latex/hitszthesis/spine.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hitszthesis/spine.tex b/Master/texmf-dist/doc/latex/hitszthesis/spine.tex
index 737e622dccf..47272769fab 100644
--- a/Master/texmf-dist/doc/latex/hitszthesis/spine.tex
+++ b/Master/texmf-dist/doc/latex/hitszthesis/spine.tex
@@ -1,10 +1,7 @@
\documentclass{hitszthesis}
-% 论文标题
-\thesistitle{基于神经网络的机器人智能抓取研究}
-
-% 姓名
-\authorname{杨敬轩}
+% 填写封面信息
+\input{tex/information}
\begin{document}
diff --git a/Master/texmf-dist/doc/latex/hitszthesis/tex/appendix01.tex b/Master/texmf-dist/doc/latex/hitszthesis/tex/appendix01.tex
index 3951a0b2d39..c59fa1ee19b 100644
--- a/Master/texmf-dist/doc/latex/hitszthesis/tex/appendix01.tex
+++ b/Master/texmf-dist/doc/latex/hitszthesis/tex/appendix01.tex
@@ -1,15 +1,7 @@
% !TEX root = ../main.tex
-% 注意:由于模板的一些限制,附录部分章节需要手动编号
-% 附录的章节均需要使用带星号的版本
-\chapter*{附录A\hskip.5em 外文资料翻译}
-\addcontentsline{toc}{chapter}{附录A\hskip.5em 外文资料翻译}
-% 设置章节编号为1,即A
-\setcounter{chapter}{1}
-% 重置所有计数器
-\setcounter{equation}{0}
-\setcounter{figure}{0}
-\setcounter{table}{0}
+% 附录已经设置为目录只包含章标题,章节写法与正文完全相同
+\chapter{外文资料翻译}
题目:基于驾驶员—车辆—道路交互的驾驶安全场
@@ -17,7 +9,7 @@
摘要:车辆驾驶安全受许多因素的影响,包括驾驶员、车辆和道路环境,它们之间的相互作用非常复杂。现有的评估驾驶安全性的方法仅考虑有限的因素及其相互作用,基于运动学和动力学的车辆驾驶安全辅助系统难以适应日益复杂的交通环境。在本文中,我们提出了一个新的概念——驾驶安全场。驾驶安全场利用场论来表示由驾驶员、车辆、道路状况和其他交通因素引起的风险因素。本文构建了一个统一的驾驶安全场模型,包括以下三个部分:(1)势能场,由道路上的静止物体构成,例如停止的车辆;(2)动能场,由道路上的移动物体构成,例如车辆和行人;(3)行为场,由驾驶员的个人特征构成。
-\section*{A.1\hskip.5em 求和算子}
+\section{求和算子}
\textbf{求和算子} 是用以表达多个数求和运算的一个缩略符号,它在统计学和计量经济学分析中扮演着重要作用。如果 $\{x_i: i=1, 2, \cdots, n\}$ 表示 $n$ 个数的一个序列,那么我们就把这 $n$ 个数的和写为\equref{eq:1}:
\begin{equation}
diff --git a/Master/texmf-dist/doc/latex/hitszthesis/tex/appendix02.tex b/Master/texmf-dist/doc/latex/hitszthesis/tex/appendix02.tex
index e3b918caa71..cac3b135bfd 100644
--- a/Master/texmf-dist/doc/latex/hitszthesis/tex/appendix02.tex
+++ b/Master/texmf-dist/doc/latex/hitszthesis/tex/appendix02.tex
@@ -1,17 +1,10 @@
% !TEX root = ../main.tex
-\chapter*{附录B\hskip.5em 其他附录文本}
-\addcontentsline{toc}{chapter}{附录B\hskip.5em 其他附录文本}
-% 设置章节编号为1,即A
-\setcounter{chapter}{2}
-% 重置所有计数器
-\setcounter{equation}{0}
-\setcounter{figure}{0}
-\setcounter{table}{0}
+\chapter{其他附录文本}
\lipsum[2]
-\section*{B.1\hskip.5em 求和算子}
+\section{求和算子}
\textbf{求和算子} 是用以表达多个数求和运算的一个缩略符号,它在统计学和计量经济学分析中扮演着重要作用。如果 $\{x_i: i=1, 2, \cdots, n\}$ 表示 $n$ 个数的一个序列,那么我们就把这 $n$ 个数的和写为\equref{eq:2}:
\begin{equation}
diff --git a/Master/texmf-dist/doc/latex/hitszthesis/tex/chapter03.tex b/Master/texmf-dist/doc/latex/hitszthesis/tex/chapter03.tex
index ba66e82f4d1..8bd06139172 100644
--- a/Master/texmf-dist/doc/latex/hitszthesis/tex/chapter03.tex
+++ b/Master/texmf-dist/doc/latex/hitszthesis/tex/chapter03.tex
@@ -34,23 +34,6 @@
\right.
\end{equation}
-如果需要对公式的子公式进行编号,则使用\lstinline{subnumcases}环境:
-\begin{lstlisting}
-\begin{subnumcases}{\label{w} w\equiv}
- 0 & $c = d = 0$\label{wzero}\\
- \sqrt{|c|}\,\sqrt{\frac{1 + \sqrt{1+(d/c)^2}}{2}} & $|c| \geq |d|$ \\
- \sqrt{|d|}\,\sqrt{\frac{|c/d| + \sqrt{1+(c/d)^2}}{2}} & $|c| < |d|$
-\end{subnumcases}
-\end{lstlisting}
-上述代码输出如下:
-\begin{subnumcases}{\label{w} w\equiv}
-0 & $c = d = 0$\label{wzero}\\
-\sqrt{|c|}\,\sqrt{\frac{1 + \sqrt{1+(d/c)^2}}{2}} & $|c| \geq |d|$ \\
-\sqrt{|d|}\,\sqrt{\frac{|c/d| + \sqrt{1+(c/d)^2}}{2}} & $|c| < |d|$
-\end{subnumcases}
-
-\equref{w}中,\lstinline{label:w}为整个公式的编号,\lstinline{label:wzero}为子公式的编号。
-
% 条标题
\subsection{一类连续复值 Hopf\/ield 神经网络}
@@ -107,7 +90,10 @@ y_l(k) = \csign_K\left(\sum\limits_{j=1}^n w_{lj}\cdot x_j(k)\right)
异步方式:网络中的神经元状态等概率地依\equref{eqiter}进行更新,一次只更新一个神经元状态;
同步方式:网络的每次迭代中,所有神经元状态同时被更新,即依照下式更新:\begin{equation}
-{\mathbf{ X}}(k+1)=\mathbf{ Y}(k)=\csign[\mathbf{ W }\cdot\mathbf{ X }(k)]
+% 若使用XITS字体:
+% <\mathbfup> 与 <\mathbf> 的效果相同,都是直立加粗
+% 斜体加粗使用 <\mathbfit>
+{\mathbf{ X}}(k+1)=\mathbf{ Y}(k)=\csign[\mathbf{ W }\cdot\mathbf{ X }(k)]
\end{equation}
其中$\mathbf{ X}(k)$为神经元状态$x(k)$组成的列向量,$\mathbf{ W}=(w_{kj})$为整个网络的连接权矩阵。
@@ -316,4 +302,29 @@ L=\frac{1}{N}\left(\Big|\theta'-\theta_0\Big|+\sum\limits_i^n\lambda\omega_i^2\r
% 证明环境
\begin{proof}
以下是一段无意义文字:\lipsum[5]
-\end{proof} \ No newline at end of file
+\end{proof}
+
+如果需要对公式的子公式进行编号,则使用\lstinline{subeqnarray}环境:
+\begin{lstlisting}
+\begin{subeqnarray}
+\label{eqw}
+\slabel{eq0}
+x & = & a \times b \\
+\slabel{eq1}
+& = & z + t\\
+\slabel{eq2}
+& = & z + t
+\end{subeqnarray}
+\end{lstlisting}
+上述代码输出如下:
+\begin{subeqnarray}
+\label{eqw}
+\slabel{eq0}
+x & = & a \times b \\
+\slabel{eq1}
+& = & z + t\\
+\slabel{eq2}
+& = & z + t
+\end{subeqnarray}
+
+\equref{eqw}中,\lstinline{eqw}为整个公式的标签,\lstinline{slabel}为子公式的标签。 \ No newline at end of file