summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hithesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-02-07 22:16:30 +0000
committerKarl Berry <karl@freefriends.org>2018-02-07 22:16:30 +0000
commit5c555b0602026d3916d5d9ecea2a49ad41d8bf2f (patch)
tree3f1c296165ee76ad1b4419a767ceb3c202bf825a /Master/texmf-dist/doc/latex/hithesis
parente3d7bb8e67c5354ebf925a8bc0af418dd84d2d16 (diff)
hithesis (7feb18)
git-svn-id: svn://tug.org/texlive/trunk@46564 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/hithesis')
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/Makefile2
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/README.md184
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/back/appA.tex45
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/body/introduction.tex146
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/dtx-style.sty2
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/hithesis.pdfbin576905 -> 586524 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/latexmkrc3
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/main.pdfbin330646 -> 310847 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/main.tex63
9 files changed, 368 insertions, 77 deletions
diff --git a/Master/texmf-dist/doc/latex/hithesis/Makefile b/Master/texmf-dist/doc/latex/hithesis/Makefile
index d704d30c9c6..56ac92cc818 100644
--- a/Master/texmf-dist/doc/latex/hithesis/Makefile
+++ b/Master/texmf-dist/doc/latex/hithesis/Makefile
@@ -85,7 +85,7 @@ endif
clean:
latexmk -c $(PACKAGE).dtx $(THESISMAIN)
- -@$(RM) *~ *.idx *.ind *.ilg *.thm *.toe *.bbl
+ -@$(RM) *~ *.idx *.ind *.ilg *.thm *.toe *.bbl latexmkrc
cleanall: clean
-@$(RM) $(PACKAGE).pdf $(THESISMAIN).pdf
diff --git a/Master/texmf-dist/doc/latex/hithesis/README.md b/Master/texmf-dist/doc/latex/hithesis/README.md
index 6c98bf7ebe2..018a9a43dcc 100644
--- a/Master/texmf-dist/doc/latex/hithesis/README.md
+++ b/Master/texmf-dist/doc/latex/hithesis/README.md
@@ -1,44 +1,180 @@
-# What's hithesis?
+# hithesis
+# 哈尔滨工业大学LaTeX论文模板
+
+<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="知识共享许可协议" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type">hithesis</span> 由 <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/dustincys/hithesis" property="cc:attributionName" rel="cc:attributionURL">https://github.com/dustincys/hithesis</a> 采用 <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">知识共享 署名-非商业性使用 4.0 国际 许可协议</a>进行许可。<br />基于<a xmlns:dct="http://purl.org/dc/terms/" href="https://github.com/dustincys/hithesis" rel="dct:source">https://github.com/dustincys/hithesis</a>上的作品创作。
+
+## What's hithesis?
hithesis is a LaTeX thesis template package for Harbin Institute of Technolog
supporting bachelor, master, doctor dissertations. Since the users of this
package are supposed to be Chinese or those understand Chinese, the following of
this file and all other documents are written in Chinese only.
-# hithesis是什么?
+This file may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3a
+of this license or (at your option) any later version.
+The latest version of this license is in:
+
+http://www.latex-project.org/lppl.txt
+
+and version 1.3a or later is part of all distributions of LaTeX
+version 2004/10/01 or later.
+
+
+## hithesis是什么?
+
+hithesis
+旨在建立一个简单易用的哈尔滨工业大学学位论文LaTeX模板,包括本科论文、硕士论文、博士论文
+。现 在支持本科、硕士、博士论文,对其它格式的支持会陆续加入。
+hithesis 已收录在[CTAN](https://ctan.org/pkg/hithesis
+"CTAN")中,用户安装TeXLive将自带我工模板(版本日期>2017.08.28)。
+
+## 我工规范有歧义之处
+
+各位刀客一定要先看清楚我工规范两大歧义之处:[版芯歧义](http://yanshuo.name/cn/2017/06/hithesisregulation/)和[本科生行距歧义](http://yanshuo.name/cn/2017/06/hithesissiyuan/)。
+
+## 模板特点
+
+### 呆萌的操作,傲娇的效果
+
+- 极限程度实现了[《哈尔滨工业大学研究生学位论文撰写规范》](http://hitgs.hit.edu.cn/aa/fd/c3425a109309/page.htm)、[《哈尔滨工业大学本科生毕业论文撰写规范》](http://jwc.hit.edu.cn/2566/list.htm)
+- 这是[PlutoThesis](https://github.com/dustincys/PlutoThesis "PlutoThesis")的终极进化,PlutoThesis废弃不再维护。
+ - 更傻更简单的选项,例如论文主文件,只需要在文档类的括号中填写本硕博选项,字体选项(设置弹性间距或者刚性间距),文科生选项(目录可以设成四级目录),非全日制类型等,轻松设定目标格式。
+ - 自适应格式,例如图题和标题,标题字号在字数超过两行时自动由五号变小五号,实现自适应(硕博规范规定,字数多时用五号)
+ - 自动化中英文索引(博士规范要求,有需要时候添加)
+ - 图书馆提交论文级的书签设置
+ - ……
+
+
+### 矫正PlutoThesis的不足
+
+ - 纠正PlutoThesis页面向下溢出
+ - 纠正PlutoThesis不符合规范要求的各层次题序及标题不得置于页面的最后两行,改为不得置于最后一行(孤行),从此解决了饱受诟病的空白大的问题。
+ - 纠正PlutoThesis行间距与标题段前段后距离统统设置为1.6倍行距的问题
+ - 更强大的版芯设置,满足所有需求
+ - 补充了PlutoThesis没有的符号表、索引两项
+ - 字体设置符合CTeX的自动识别系统功能
+ - 纠正PlutoThesis中图片中一些距离设置
+ - 添加了符合规范要求的“图注在图题之上的设置”
+ - 纠正PlutoThesis的双语图、表题中英语的非两端对齐问题
+ - 添加了PlutoThesis中没有的图题最后一行居中且两端对齐格式
+ - 添加了所有的图形排版格式
+ - 纠正了附录中标题错误
+ - 纠正了博士论文右翻页问题
+ - 添加扫描替换功能,替换之后、页码目录书签自动设置
+ - 添加思源宋体设置,再也不用害怕奇怪字打不出来了
+ - 添加文科生、非全日制同等学力封面格式
+ - 添加PlutoThesis没有的说明文档
+ - ……
+
+### 为了我工的规格严格、功夫到家
+
+ - 行间距、段前后距离设置精确到小数后四位, 例如 1bp = 1.00374pt,1mm = 2.84526pt, 按照我工之要求, 行距在3mm~4mm之间,换算之后为20.50398~23.33863bp,严格符合规范要求,哪怕是显微镜级别
+ - 重写了一堆重要函数,例如章节标题由原来的`BiChapter{}{}`方式进化为`chapter{}[]`,极大简化,后面方括号中为可选括号,硕本可以不用,用了自动忽略
+ - 严格符合(满足)两个规范要求,由于规范中有矛盾之处,例如本科生的标题段前距离有两处不一样的规定,刚性行距尽量满足行数(要求约33行)要求。
+ - 规范中给出了行距区间,为了规格严格,设置了弹性行距
+ - ……
+
+## 关于模板的命名和其他说明
+
+### 模板的命名
+
+本模板对PlutoThesis中的核心代码进行了彻底深入的修改。
+PlutoThesis中没有采用cls,这种文档类的模式,代码与正文内容耦合程度大难以维护,本科模板和硕博模板难以融合。
+由于冥王星已经不是太阳系C9之一,所以不继续使用PlutoThesis命名。
+
+hithesis, 既含我工hit,也是说用的“嗨!”,读作“嗨thesis”。
+
+### 关于模板的下载地址
+
+模板有三个下载地址:
+
+1. github: https://github.com/dustincys/hithesis
+2. gitee: https://gitee.com/dustincys/hithesis
+3. CTAN: https://ctan.org/pkg/hithesis
+
+github和gitee的版本是同步且是最新的模板。
+CTAN的版本一般会比较落后,但在每年年底会同步为最新版本。
+
+### 关于hithesis的线上讨论区
+
+由于维护者(就是本书呆)已经是高龄不毕业刀客,课题繁忙,常常无法及时回答疑问。
+为了解决使用中遇到的问题,请各位刀客和大侠加入QQ群:259959600。
+群里有很多热心的LaTeX隐士高人如@poofee等,很乐于解答。
+
+### 关于查重
+
+注意:我工的论文查重可以使用pdf查重!!!!!!!
+
+另外一点注意:查重的pdf一定要确保能够正常复制汉字。有些系统自动识别的汉字字体,
+会出现无法正常复制的情况(可能是系统的字体映射出现了误差)。一般需要在主文件的
+选项中明确声明使用哪一种fontset。
+
+### 模板的编译方法、打印版、电子版及其他说明
+
+- 生成论文格式文件(第一步要生成 *.cls,*.cfg,*.ist,然后再生成论文)
+
+ latex hithesis.ins
+
+- 生成论文
+
+ xelatex main.tex
+ bibtex main
+ xelatex main.tex
+ xelatex main.tex
+ splitindex main -- -s hithesis.ist # 自动生成索引
+ xelatex main.tex
+
+- 生成文档
+
+ xelatex hithesis.dtx
+ makeindex -s gind.ist -o hithesis.ind hithesis.idx
+ makeindex -s gglo.ist -o hithesis.gls hithesis.glo
+ xelatex hithesis.dtx
+ xelatex hithesis.dtx
+
+如果喜欢Makefile的是另一画风:
+
+- 生成文档类
+
+ make cls
+
+- 生成论文
+
+ make thesis
+
+- 生成文档
+
+ make doc
+
+LaTeX 中的ctex package版本要求:
-hithesis, 既含我工hit,也是说用的“嗨!”,读作“嗨thesis”。hithesis 旨在建立一个
-简单易用的哈尔滨工业大学学位论文LaTeX模板,包括本科论文、硕士论文、博士论文 。现
-在支持本科、硕士、博士论文,对其它格式的支持会陆续加入。
+ ctex >= v2.4.3 (2016年9月份发布)
+注意,一般情况下,博士论文的打印版要求右翻页,最后向图书管提交的电子版不是右翻
+页,注意选项中的选项。
-# 文档
+由于维护者(就是本书呆)已经是高龄不毕业博士,课题繁忙,实在无空余时间再写详细文档以及 无偿解决一些用户要求(例如前面文档中[已经解决的算法格式各实验室要求不一致](https://github.com/dustincys/PlutoThesis#%E6%B2%A1%E6%9C%89%E6%98%8E%E7%A1%AE%E8%A6%81%E6%B1%82%E7%9A%84%E6%A0%BC%E5%BC%8F)问题)。
-请[下载](https://github.com/dustincys/hithesis "下载")模板,生成具体使用说明以
-及示例文档:
+各位刀客和大侠如用的嗨,要解囊相助,请微信扫码~~
- 模板使用说明 (hithesis.pdf)
- 示例文档 (main.pdf)
+![5](http://wx4.sinaimg.cn/large/61dccbaaly1fge32sbb32j20my0uz3zt.jpg "谢谢")
-# 下载
+如果用的非常嗨,
-开发版有两个下载地址:
+![10](http://wx4.sinaimg.cn/large/61dccbaaly1fge32tuvvsj20my0uzabc.jpg "谢谢")
-- [oschina 码云](https://git.oschina.net/dustincys/hithesis)
-- [github](https://github.com/dustincys/hithesis)
+那个,看在苦X高龄不毕业博士,还熬夜写代码的份上…… 唉……
+![1](http://wx4.sinaimg.cn/large/61dccbaaly1fge32qrvgij20my0uzjso.jpg "谢谢")
+或者支付宝,不限额度,
-# Make­file的用法
+![zfb](http://wx3.sinaimg.cn/large/61dccbaaly1fizali9tafj20k00ucgos.jpg "谢谢")
- make [{all|thesis|doc|clean|cleanall|distclean}]
+其实没关系,为了我工的“规格严格,功夫到家”!
-## 目标
+- 本模板以PlutoThesis为核心基础,参考了CTAN中清华大学薛瑞尼所开发的thuthesis以及其分支重庆大学等毕业论文模板的代码开发而来
+- 学校教务处和研究生院只提供了规范,并没有提供官方的任何模板(包括word),所以此模板仅为规范的参考实现,不保证格式审查老师不提意见。任何由于使用本模板而引起的论文格式审查问题均与本模板作者无关
-- make all 等于 make thesis && make doc;
-- make cls 生成模板文件;
-- make thesis 生成论文 main.pdf;
-- make doc 生成使用说明书 thuthe­sis.pdf;
-- make clean 删除示例文件的中间文件(不含 main.pdf);
-- make cleanall 删除示例文件的中间文件和 main.pdf;
-- make distclean 删除示例文件和模板的所有中间文件和 PDF。
+<a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/"><img alt="知识共享许可协议" style="border-width:0" src="https://i.creativecommons.org/l/by-nc/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type">hithesis</span> 由 <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/dustincys/hithesis" property="cc:attributionName" rel="cc:attributionURL">https://github.com/dustincys/hithesis</a> 采用 <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">知识共享 署名-非商业性使用 4.0 国际 许可协议</a>进行许可。<br />基于<a xmlns:dct="http://purl.org/dc/terms/" href="https://github.com/dustincys/hithesis" rel="dct:source">https://github.com/dustincys/hithesis</a>上的作品创作。
diff --git a/Master/texmf-dist/doc/latex/hithesis/back/appA.tex b/Master/texmf-dist/doc/latex/hithesis/back/appA.tex
index 45cb667accb..29721d3ccc1 100644
--- a/Master/texmf-dist/doc/latex/hithesis/back/appA.tex
+++ b/Master/texmf-dist/doc/latex/hithesis/back/appA.tex
@@ -23,12 +23,47 @@ E & = m c^2
\end{align}
\chapter{这个星球上最好的免费Linux软件列表}[List of the Best Linux Software in our Planet]
-\section*{系统}
+\section{系统}
-\href{http://fvwm.org/}{FVWM 星球最强大的窗口管理器}——推荐
+\href{http://fvwm.org/}{FVWM 自从上世纪诞生以来,此星球最强大的窗口管理器。}
+推荐基于FVWM的桌面设计hifvwm:\href{https://github.com/dustincys/hifvwm}{https://github.com/dustincys/hifvwm}。
-\section*{其他}
+\subsection{hifvwm的优点}
-\href{https://github.com/goldendict/goldendict}{goldendict 星球最强大的桌面字典}——推荐
+\begin{enumerate}
+ \item 即使打开上百个窗口也不会“蒙圈”。计算机性能越来越强大,窗口任务的管理必须要升级到打怪兽级别。
+ \item 自动同步Bing搜索主页的壁纸。每次电脑开机,午夜零点自动更新,用户
+ 也可以手动更新,从此审美再也不疲劳。
+ \item 切换窗口自动聚焦到最上面的窗口。使用键盘快捷键切换窗口时候,减少
+ 操作过程,自动聚焦到目标窗口。这一特性是虚拟窗口必须的人性化设
+ 计。
+ \item 类似window右下角的功能的最小化窗口来显示桌面的功能此处类似
+ win7/win10,实现在一个桌面之内操作多个任务。
+ \item 任务栏结合标题栏。采用任务栏和标题栏结合,节省空间。
+ \item 同类窗口切换。可以在同类窗口之内类似alt-tab的方式切换。
+ \item ……
+\end{enumerate}
-\href{http://www.mutt.org/}{mutt 星球最强大的邮件客户端}——推荐
+\section{其他}
+
+\href{https://github.com/goldendict/goldendict}{goldendict 星球最强大的桌面字典。}
+
+\href{https://github.com/yarrick/iodine}{iodine,“HIT-WLAN + 锐捷”时代的福音。}
+
+\href{http://www.aircrack-ng.org/}{aircrack,Wifi“安全性评估”工具。}
+
+\href{https://www.ledger-cli.org/}{ledger,前“金融区块链”时代最好的复式记账系统。}
+
+\href{https://orgmode.org/}{orgmode,最强大的笔记系统,从来没有之一。}
+
+\href{https://www.jianguoyun.com/}{坚果云,国内一款支持WebDav的云盘系统,国内真正的云盘没有之一。}
+
+\href{http://www.mutt.org/}{mutt, ``All mail clients suck. This one just sucks less.''}
+
+\section{vim}
+实现中英文每一句一行,以及实现每一句折叠断行的简单正则式,tex源码更加乖乖。
+\begin{lstlisting}
+vnoremap <leader>fae J:s/[.!?]\zs\s\+/\="\r".matchstr(getline('.'), '^\s*')/g<CR>
+vnoremap <leader>fac J:s/[。!?]/\=submatch(0)."\n".matchstr(getline('.'), '^\s*')/g<CR>
+vnoremap <leader>fle :!fmt -80 -s<CR>
+\end{lstlisting}
diff --git a/Master/texmf-dist/doc/latex/hithesis/body/introduction.tex b/Master/texmf-dist/doc/latex/hithesis/body/introduction.tex
index f563169f7eb..46507f2e043 100644
--- a/Master/texmf-dist/doc/latex/hithesis/body/introduction.tex
+++ b/Master/texmf-dist/doc/latex/hithesis/body/introduction.tex
@@ -2,11 +2,11 @@
\chapter{示例文档}[Example]
-这是 \hithesis\ 的示例文档,基本上覆盖了模板中所有格式的设置。建议大家在使用模板
-之前,除了阅读《\hithesis\ 用户手册》,这个示例文档也最好能看一看。
-这个示例文档尽量使用到所有的排版格式,然而对于一些不在我工规范中规定的文档,理论
-上是由用户自由发挥,这里不给出样例。需要另行载入的宏包和自定义命令在文件
-`hithesis.sty'中有示例,这里不列举。
+这是 \hithesis\ 的示例文档,基本上覆盖了模板中所有格式的设置。建议大家在使用模
+板之前,除了阅读《\hithesis\:哈尔滨工业大学学位论文模板》\footnote{即
+hithesis.pdf文件},本示例文档也最好能看一看。此示例文档尽量使用到所有的排版格式
+,然而对于一些不在我工规范中规定的文档,理论上是由用户自由发挥,这里不给出样例
+。需要另行载入的宏包和自定义命令在文件`hithesis.sty'中有示例,这里不列举。
\section{索引示例}[Index]
@@ -45,7 +45,7 @@
\begin{figure}[htpb]
\centering
\includegraphics[width = 0.4\textwidth]{golfer}
-\bicaption[golfer1]{}{图打打高尔夫球的人打高尔夫球的人打高尔夫球的人打高尔夫球球的人高尔夫球的人球的人高尔夫球的人的人高尔夫球的人}{Fig.$\!$}{The person playing golf playing golf playing golf playing golf playing golf playing golf playing golf playing golf}
+\bicaption[golfer1]{}{打高尔夫球球的人(博士论文双语题注)}{Fig.$\!$}{The person playing golf (Doctoral thesis)}
\end{figure}
每个图均应有图题(由图序和图名组成),图题不宜有标点符号,图名在图序之后空1个半
@@ -62,11 +62,16 @@ Times New Roman字体,字号尽量采用5号字(当字数较多时可用小5
\begin{figure}[h]
\centering
\includegraphics[width = 0.4\textwidth]{golfer}
-\caption{打高尔夫球的人}
+\caption{打高尔夫球的人,硕士论文要求只用汉语}
\end{figure}
\subsection{并排图和子图}[Abreast-picture and Sub-picture example]
\subsubsection{并排图}[Abreast-picture example]
+
+使用并排图时,需要注意对齐方式。默认情况是中部对齐。这里给出中部对齐、顶部对齐
+、图片底部对齐三种常见方式。其中,底部对齐方式有一个很巧妙的方式,将长度比较小
+的图放在左面即可。
+
\begin{figure}[htbp]
\centering
\begin{minipage}{0.4\textwidth}
@@ -74,29 +79,125 @@ Times New Roman字体,字号尽量采用5号字(当字数较多时可用小5
\includegraphics[width=\textwidth]{golfer}
\bicaption[golfer2]{}{打高尔夫球的人}{Fig.$\!$}{The person playing golf}
\end{minipage}
+\centering
\begin{minipage}{0.4\textwidth}
\centering
\includegraphics[width=\textwidth]{golfer}
-\bicaption[golfer3]{}{打高尔夫球的人}{Fig.$\!$}{The person playing golf}
+\bicaption[golfer3]{}{打高尔夫球的人。注意,这里默认居中}{Fig.$\!$}{The person playing golf. Please note that, it is vertically center aligned by default.}
\end{minipage}
\end{figure}
+
+\begin{figure}[htbp]
+\centering
+\begin{minipage}[t]{0.4\textwidth}
+\centering
+\includegraphics[width=\textwidth]{golfer}
+\bicaption[golfer2]{}{打高尔夫球的人}{Fig.$\!$}{The person playing golf}
+\end{minipage}
+\centering
+\begin{minipage}[t]{0.4\textwidth}
+\centering
+\includegraphics[width=\textwidth]{golfer}
+\bicaption[golfer3]{}{打高尔夫球的人。注意,此图是顶部对齐}{Fig.$\!$}{The person playing golf. Please note that, it is vertically top aligned.}
+\end{minipage}
+\end{figure}
+
+\begin{figure}[htbp]
+\centering
+\begin{minipage}[t]{0.4\textwidth}
+\centering
+\includegraphics[width=\textwidth,height=\textwidth]{golfer}
+\bicaption[golfer3]{}{打高尔夫球的人。注意,此图对齐方式是图片底部对齐}{Fig.$\!$}{The person playing golf. Please note that, it is vertically bottom aligned for figure.}
+\end{minipage}
+\centering
+\begin{minipage}[t]{0.4\textwidth}
+\centering
+\includegraphics[width=\textwidth]{golfer}
+\bicaption[golfer2]{}{打高尔夫球的人}{Fig.$\!$}{The person playing golf}
+\end{minipage}
+\end{figure}
+
\subsubsection{子图}[Sub-picture example]
-注意:子图题注也可以只用中文。
+注意:子图题注也可以只用中文。规范规定“分图题置于分图之下或图题之下”,但没有给出具体的格式要求。
+没有要求的另外一个说法就是“无论什么格式都不对”。
+所以只有在一个图中有标注“a),b)”,无法使用\cs{subfigure}的情况下,使用最后一个图例中的格式设置方法,否则不要使用。
+为了应对“无论什么格式都不对”,这个子图图题使用“minipage”和“description”环境,宽度,对齐方式可以按照个人喜好自由设置,是否使用双语子图图题也可以自由设置。
+
\begin{figure}[!h]
\setlength{\subfigcapskip}{-1bp}
\centering
+\begin{minipage}{\textwidth}
+\centering
\subfigure{\label{golfer41}}\addtocounter{subfigure}{-2}
\subfigure[The person playing golf]{\subfigure[打高尔夫球的人~1]{\includegraphics[width=0.4\textwidth]{golfer}}}
+\hspace{2em}
\subfigure{\label{golfer42}}\addtocounter{subfigure}{-2}
\subfigure[The person playing golf]{\subfigure[打高尔夫球的人~2]{\includegraphics[width=0.4\textwidth]{golfer}}}
+\end{minipage}
+\centering
+\begin{minipage}{\textwidth}
+\centering
\subfigure{\label{golfer43}}\addtocounter{subfigure}{-2}
\subfigure[The person playing golf]{\subfigure[打高尔夫球的人~3]{\includegraphics[width=0.4\textwidth]{golfer}}}
+\hspace{2em}
\subfigure{\label{golfer44}}\addtocounter{subfigure}{-2}
-\subfigure[The person playing golf]{\subfigure[打高尔夫球的人~4]{\includegraphics[width=0.4\textwidth]{golfer}}}
+\subfigure[The person playing golf. Here, 'hang indent' and 'center last line' are not stipulated in the regulation.]{\subfigure[打高尔夫球的人~4。注意,规范中没有明确规定要悬挂缩进、最后一行居中。]{\includegraphics[width=0.4\textwidth]{golfer}}}
+\end{minipage}
\vspace{0.2em}
-\bicaption[golfer4]{}{打高尔夫球的人}{Fig.$\!$}{The person playing golf}
+\bicaption[golfer4]{}{打高尔夫球的人}{Fig.$\!$}{The person playing gol}
+\end{figure}
+
+\begin{figure}[t]
+ \centering
+ \begin{minipage}{.7\linewidth}
+ \setlength{\subfigcapskip}{-1bp}
+ \centering
+ \begin{minipage}{\textwidth}
+ \centering
+ \subfigure{\label{golfer41}}\addtocounter{subfigure}{-2}
+ \subfigure[The person playing golf]{\subfigure[打高尔夫球的人~1]{\includegraphics[width=0.4\textwidth]{golfer}}}
+ \hspace{4em}
+ \subfigure{\label{golfer42}}\addtocounter{subfigure}{-2}
+ \subfigure[The person playing golf]{\subfigure[打高尔夫球的人~2]{\includegraphics[width=0.4\textwidth]{golfer}}}
+ \end{minipage}
+ \vskip 0.2em
+ \wuhao 注意:这里是中文图注添加位置(我工要求,图注在图题之上)。
+ \vspace{0.2em}
+\bicaption[golfer4]{}{打高尔夫球的人。注意,此处我工有另外一处要求,子图图题可以位于主图题之下。但由于没有明确说明位于下方具体是什么格式,所以这里不给出举例。}{Fig.$\!$}{The person playing golf. Please note that, although it is appropriate to put subfigures' captions under this caption as stipulated in regulation, but its format is not clearly stated.}
+ \end{minipage}
\end{figure}
+\begin{figure}[t]
+\centering
+\begin{tikzpicture}
+ \node[anchor=south west,inner sep=0] (image) at (0,0) {\includegraphics[width=0.3\textwidth]{golfer}};
+ \begin{scope}[x={(image.south east)},y={(image.north west)}]
+ \node at (0.3,0.5) {a)};
+ \node at (0.8,0.2) {b)};
+ \end{scope}
+\end{tikzpicture}
+\bicaption[golfer1]{}{打高尔夫球球的人(博士论文双语题注)}{Fig.$\!$}{The person playing golf (Doctoral thesis)}
+\vskip -0.4em
+ \hspace{2em}
+\begin{minipage}[t]{0.3\textwidth}
+\wuhao \setlist[description]{font=\normalfont}
+ \begin{description}
+ \item[a)]子图图题
+ \end{description}
+ \end{minipage}
+ \hspace{2em}
+ \begin{minipage}[t]{0.3\textwidth}
+\wuhao \setlist[description]{font=\normalfont}
+ \begin{description}
+ \item[b)]子图图题
+ \item[b)]Subfigure caption
+ \end{description}
+\end{minipage}
+\end{figure}
+
+\clearpage
+
+如果不想让图片浮动到下一章节,那么在此处使用\cs{clearpage}命令。
\section{表格}
表应有自明性。表格不加左、右边线。表的编排建议采用国际通行的三线表。表中文字用宋
@@ -294,10 +395,17 @@ need to be annotated]
\section{其他杂项}[Miscellaneous]
+\subsection{右翻页}[Open right]
+
+对于双面打印的论文,强制使每章的标题页出现右手边为右翻页。
+规范中没有明确规定是否是右翻页打印。
+模板给出了右翻页选项。
+为了应对用户的个人喜好,在希望设置成右翻页的位置之前添加\cs{cleardoublepage}命令即可。
+
\subsection{算法}[Algorithms]
我工算法有以下几大特点。
-(1)算法不再规范中要求。
+(1)算法不在规范中要求。
(2)算法常常被使用(至少计算机学院)。
@@ -308,10 +416,10 @@ need to be annotated]
的readme文件中有不同实验室算法要求说明。
\subsection{脚注}[Footnotes]
-不再规范\footnote{规范是指\PGR\ 和\UGR}中要求,模板默认使用清华大学的格式。
+不在再规范\footnote{规范是指\PGR\ 和\UGR}中要求,模板默认使用清华大学的格式。
\subsection{源码}[Source code]
-也不再规范中要求。如果有需要最好使用minted包,但在编译的时候需要添加“
+也不在再规范中要求。如果有需要最好使用minted包,但在编译的时候需要添加“
-shell-escape”选项且安装pygmentize软件,这些不在模板中默认载入,如果需要自行载入
\subsection{思源宋体}[Siyuan font]
@@ -328,7 +436,7 @@ tikz适合用来画不需要大量实验数据支撑示意图。但R语言等专
专业、复杂的数据图。R语言中有tikz包,能自动生成tikz码,这样tikz几乎无所不能。
对于排版有极致追求的小伙伴,可以参考
\href{http://www.texample.net/tikz/resources/}{http://www.texample.net/tikz/resources/}
-中所列工具,几乎所有作图软件所作的图形都可一转成tikz,然后可以自由的在tikz中修改
+中所列工具,几乎所有作图软件所作的图形都可转成tikz,然后可以自由的在tikz中修改
图中内容,定义字体等等。实现前文窝工规范中要求的图中字体的一致性的终极目标。
@@ -354,15 +462,15 @@ word那样处处修改。总而言之,使用自定义命令和环境才是正
\setlength{\subfigcapskip}{-1bp}
\centering
\subfigure{\label{wct5}}\addtocounter{subfigure}{-1}
-\subfigure[如果用的嗨,微信扫码捐助5元~~]{\includegraphics[width=0.4\textwidth]{wct5}}
+\subfigure[如果用的嗨,微信扫码捐助5元]{\includegraphics[width=0.4\textwidth]{wct5}}
\hspace{2em}
\subfigure{\label{wct10}}\addtocounter{subfigure}{-1}
-\subfigure[如果用的非常嗨,微信扫码捐助10元~~]{\includegraphics[width=0.4\textwidth]{wct10}}
+\subfigure[如果用的非常嗨,微信扫码捐助10元]{\includegraphics[width=0.4\textwidth]{wct10}}
\subfigure{\label{wct1}}\addtocounter{subfigure}{-1}
-\subfigure[那个,看在熬夜写代码的份上,微信扫码捐助1元吧~~]{\includegraphics[width=0.4\textwidth]{wct1}}
+\subfigure[那个,看在熬夜写代码的份上,微信扫码捐助1元吧]{\includegraphics[width=0.4\textwidth]{wct1}}
\hspace{2em}
\subfigure{\label{zfb}}\addtocounter{subfigure}{-1}
-\subfigure[或者支付宝不限额度~]{\includegraphics[width=0.4\textwidth]{zfb}}
+\subfigure[或者支付宝不限额度]{\includegraphics[width=0.4\textwidth]{zfb}}
\vspace{0.2em}
\bicaption[Donation]{}{捐助,注意此处是子图只用汉语图题的形式,我工规定可以不用
英语图题}{Fig.$\!$}{Donation, please note that it is OK to use Chinese caption
diff --git a/Master/texmf-dist/doc/latex/hithesis/dtx-style.sty b/Master/texmf-dist/doc/latex/hithesis/dtx-style.sty
index 9f629224700..b60aaa0f32f 100644
--- a/Master/texmf-dist/doc/latex/hithesis/dtx-style.sty
+++ b/Master/texmf-dist/doc/latex/hithesis/dtx-style.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2017-2017 by Chu Yanshuo <yanshuoc@gmail.com>
+%% Copyright (C) 2017-2018 by Chu Yanshuo <yanshuoc@gmail.com>
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3a
diff --git a/Master/texmf-dist/doc/latex/hithesis/hithesis.pdf b/Master/texmf-dist/doc/latex/hithesis/hithesis.pdf
index 67b06e4222c..fd7ba2f5fa7 100644
--- a/Master/texmf-dist/doc/latex/hithesis/hithesis.pdf
+++ b/Master/texmf-dist/doc/latex/hithesis/hithesis.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hithesis/latexmkrc b/Master/texmf-dist/doc/latex/hithesis/latexmkrc
new file mode 100644
index 00000000000..c3919ae2575
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/hithesis/latexmkrc
@@ -0,0 +1,3 @@
+# vim: set ft=perl:
+$clean_ext = 'thm glo gls bbl hd loe';
+$makeindex = 'splitindex main -- -s hithesis.ist';
diff --git a/Master/texmf-dist/doc/latex/hithesis/main.pdf b/Master/texmf-dist/doc/latex/hithesis/main.pdf
index ab601d19c27..b993ba0c541 100644
--- a/Master/texmf-dist/doc/latex/hithesis/main.pdf
+++ b/Master/texmf-dist/doc/latex/hithesis/main.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/hithesis/main.tex b/Master/texmf-dist/doc/latex/hithesis/main.tex
index 1c4f17c443a..31ac330ab07 100644
--- a/Master/texmf-dist/doc/latex/hithesis/main.tex
+++ b/Master/texmf-dist/doc/latex/hithesis/main.tex
@@ -1,5 +1,5 @@
% !Mode:: "TeX:UTF-8"
-\documentclass[openright=true,fontset=siyuan,type=doctor]{hithesis}
+\documentclass[capcenterlast=true,subcapcenterlast=true,openright=false,fontset=windowsnew,type=doctor]{hithesis}
% 此处选项中不要有空格
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 必填选项
@@ -16,39 +16,43 @@
% false
% fontset=siyuan|windowsnew|windowsold
% 含义:注意这个选项视为了解决特殊问题而设置,比如用有些发行版本的linux排
-% 版时可能(大多数发行版不会)会遇到的字体无法载入的问题,以及想要解决排
-% 版如biang biang面的biang 这类中易宋体无法识别的汉字的问题。没有特殊的需
-% 要不推荐使用这个选项。
+% 版时可能(大多数发行版不会)会遇到的字体无法载入的问题,或者字体载入之
+% 后出现无法复制的问题以及想要解决排版如 biang biang 面的 biang 这类中易
+% 宋体无法识别的汉字的问题。没有特殊的需要不推荐使用这个选项。
%
-% 如果是安装了windowns字体的linux系统,可以填写windowsnew(win vista以后
-% 的字体)或windowsold(vista以前)或者想用思源宋体并且是已经安装了思源宋
-% 体的任何系统,填写siyuan选项缺省值为空,自动识别系统并匹配字体。模板版
-% 中给出的思源字体定义文件定义的思源字体的版本是Adobe版,其他字体是
-% windowsnew字体。
+% 如果是安装了 windowns 字体的 linux 系统,可以填写windowsnew(win vista
+% 以后 的字体)或 windowsold(vista 以前)或者想用思源宋体并且是已经安装
+% 了思源宋体的任何系统,填写siyuan选项。缺省值为空,自动识别系统并匹配字体
+% 。模板版中给出的思源字体定义文件定义的思源字体的版本是Adobe版,其他字体
+% 是windowsnew字体。
% tocblank=true|false
% 含义:目录中第一章之前,是否加一行空白。缺省值为true。
% chapterhang=true|false
% 含义:目录的章标题是否悬挂居中,规范中要求章标题少于15字,所以这个选项
-% 有无没什么用,
-% 除了特殊需求。缺省值为true。
+% 有无没什么用,除了特殊需求。缺省值为true。
% fulltime=true|false
% 含义:是否全日制,缺省值为true。非全日制如同等学力等,要在cover中设置类
% 型,封面中不同格式
% subtitle=true|false
% 含义:论文题目是否含有副标题,缺省值为false,如果有要在cover中设置副标
-% 题内容
-% ,封面中显示。
+% 题内容,封面中显示。
% newgeometry=true|false
% 含义:规范中的自相矛盾之处,版芯是否包含页眉页脚,旧方法是按照包含页眉
% 页脚来设置,缺省值为false,即旧方法。
% debug=true|false
% 含义:是否显示版芯框和行号,用来调试。默认否。
% openright=true|false
-% 含义:博士论文是否要求章节首页在偶数页,此选项不在规范要求中,按个人喜
-% 好自行决定。 默认否。
-% caplastcenter=true|false
-% 含义:图题、表题是否居中对齐(我工规范要求居中,但不要求居中对齐),此
-% 选项不在规范要求中,按个人喜好自行决定。默认是。
+% 含义:博士论文是否要求章节首页必须在奇数页,此选项不在规范要求中,按个
+% 人喜好自行决定。 默认否。注意,窝工的默认情况是打印版博士论文要求右翻页
+% ,电子版要求非右翻页且无空白页。如果想DIY(或身不由己DIY)在什么地方右
+% 翻页,将这个选项设置为false,然后在目标位置添加`\cleardoublepage`命令即
+% 可。
+% capcenterlast=true|false
+% 含义:图题、表题最后一行是否居中对齐(我工规范要求居中,但不要求居中对
+% 齐),此选项不在规范要求中,按个人喜好自行决定。默认否。
+% subcapcenterlast=true|false
+% 含义:子图图题最后一行是否居中对齐(我工规范要求居中,但不要求居中对齐
+% ),此选项不在规范要求中,按个人喜好自行决定。默认否。
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{hithesis}
@@ -60,12 +64,24 @@
\input{front/cover} % 封面
\makecover
\input{front/denotation}%物理量名称表,符合规范为主,有要求添加
+%\cleardoublepage 自定义在什么位置进行右翻页
\tableofcontents % 中文目录
+%\cleardoublepage 自定义在什么位置进行右翻页
\tableofengcontents % 英文目录,硕本不要求
\mainmatter
-%\linenumbers debug 选项
-%\layout debug 选项
+%\linenumbers %debug 选项
+%\layout %debug 选项
+%\floatdiagram %debug 选项
+%\begin{figure} %debug 选项
+%\currentfloat %debug 选项
+%\tryintextsep{\intextsep} %debug 选项
+%\trytopfigrule{0.5pt} %debug 选项
+%\trybotfigrule{1pt} %debug 选项
+%\setlayoutscale{0.9} %debug 选项
+%\floatdesign %debug 选项
+%\caption{Float layout with rules}\label{fig:fludf} %debug 选项
+%\end{figure} %debug 选项
\include{body/introduction}
\backmatter
@@ -94,11 +110,4 @@
%\input{body/appendix01}%本科生翻译论文
%\end{appendix}
-%% 以下有需要留下,没有需要不加
-% 插图索引
-%\listoffigures
-% 表格索引
-%\listoftables
-% 公式索引
-%\listofequations
\end{document}