summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/hithesis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-19 22:19:26 +0000
committerKarl Berry <karl@freefriends.org>2019-02-19 22:19:26 +0000
commit119dd66bd04be86e878563dfdc69216266e9a52f (patch)
treecf85f4882d89ea7bfae26cdf25ecad9525e32855 /Master/texmf-dist/doc/latex/hithesis
parent4cbd171caf00fc7956bd4d7ca79bcecd0cc34526 (diff)
hithesis (19feb19)
git-svn-id: svn://tug.org/texlive/trunk@50062 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/hithesis')
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/Makefile105
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/README.md25
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/body/introduction.tex227
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/dtx-style.sty2
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/front/cover.tex9
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/hithesis.pdfbin586524 -> 603014 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/latexmkrc17
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/main.pdfbin310847 -> 339214 bytes
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/main.tex24
-rw-r--r--Master/texmf-dist/doc/latex/hithesis/reference.bib8
10 files changed, 239 insertions, 178 deletions
diff --git a/Master/texmf-dist/doc/latex/hithesis/Makefile b/Master/texmf-dist/doc/latex/hithesis/Makefile
deleted file mode 100644
index 56ac92cc818..00000000000
--- a/Master/texmf-dist/doc/latex/hithesis/Makefile
+++ /dev/null
@@ -1,105 +0,0 @@
-# Makefile for ThuThesis
-
-# Compiling method: latexmk/xelatex/pdflatex
-METHOD = xelatex
-# Set opts for latexmk if you use it
-LATEXMKOPTS = -xelatex
-# Basename of thesis
-THESISMAIN = main
-
-PACKAGE=hithesis
-SOURCES=$(PACKAGE).ins $(PACKAGE).dtx
-THESISCONTENTS=$(THESISMAIN).tex front/*.tex body/*.tex back/*.tex $(FIGURES) *.bst
-# NOTE: update this to reflect your local file types.
-FIGURES=$(wildcard figures/*.eps figures/*.pdf)
-BIBFILE=*.bib
-CLSFILES=dtx-style.sty $(PACKAGE).cls $(PACKAGE).ist h$(PACKAGE).cfg
-
-# make deletion work on Windows
-ifdef SystemRoot
- RM = del /Q
- OPEN = start
-else
- RM = rm -f
- OPEN = open
-endif
-
-.PHONY: all clean distclean dist thesis viewthesis doc viewdoc cls check FORCE_MAKE
-
-all: doc thesis
-
-cls: $(CLSFILES)
-
-$(CLSFILES): $(SOURCES)
- latex $(PACKAGE).ins
-
-viewdoc: doc
- $(OPEN) $(PACKAGE).pdf
-
-doc: $(PACKAGE).pdf
-
-viewthesis: thesis
- $(OPEN) $(THESISMAIN).pdf
-
-thesis: $(THESISMAIN).pdf
-
-ifeq ($(METHOD),latexmk)
-
-$(PACKAGE).pdf: $(CLSFILES) FORCE_MAKE
- $(METHOD) $(LATEXMKOPTS) $(PACKAGE).dtx
-
-$(THESISMAIN).pdf: $(CLSFILES) FORCE_MAKE
- $(METHOD) $(LATEXMKOPTS) $(THESISMAIN)
-
-else ifneq (,$(filter $(METHOD),xelatex pdflatex))
-
-$(PACKAGE).pdf: $(CLSFILES)
- $(METHOD) $(PACKAGE).dtx
- makeindex -s gind.ist -o $(PACKAGE).ind $(PACKAGE).idx
- makeindex -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo
- $(METHOD) $(PACKAGE).dtx
- $(METHOD) $(PACKAGE).dtx
-
-$(THESISMAIN).idx: $(THESISMAIN).bbl
- $(METHOD) $(THESISMAIN)
- $(METHOD) $(THESISMAIN)
-
-
-$(THESISMAIN)_china.idx : $(CLSFILES) $(THESISMAIN).bbl $(THESISMAIN).idx
- splitindex $(THESISMAIN) -- -s $(PACKAGE).ist # 自动生成索引
-
-$(THESISMAIN)_english.ind $(THESISMAIN)_china.ind $(THESISMAIN)_english.idx : $(THESISMAIN)_china.idx
-
-$(THESISMAIN).pdf: $(CLSFILES) $(THESISCONTENTS) $(THESISMAIN)_china.ind $(THESISMAIN)_china.idx $(THESISMAIN)_english.ind $(THESISMAIN)_english.idx $(THESISMAIN).bbl
- $(METHOD) $(THESISMAIN)
-
-$(THESISMAIN).bbl: $(BIBFILE)
- $(METHOD) $(THESISMAIN)
- -bibtex $(THESISMAIN)
- $(RM) $(THESISMAIN).pdf
-
-else
-$(error Unknown METHOD: $(METHOD))
-
-endif
-
-clean:
- latexmk -c $(PACKAGE).dtx $(THESISMAIN)
- -@$(RM) *~ *.idx *.ind *.ilg *.thm *.toe *.bbl latexmkrc
-
-cleanall: clean
- -@$(RM) $(PACKAGE).pdf $(THESISMAIN).pdf
-
-distclean: cleanall
- -@$(RM) $(CLSFILES)
- -@$(RM) -r dist
-
-check: FORCE_MAKE
- ag 'Harbin Institute of Technology Template|\\def\\version|"version":' hithesis.dtx package.json
-
-dist: all
- @if [ -z "$(version)" ]; then \
- echo "Usage: make dist version=[x.y.z | ctan]"; \
- else \
- npm run build -- --version=$(version); \
- fi
diff --git a/Master/texmf-dist/doc/latex/hithesis/README.md b/Master/texmf-dist/doc/latex/hithesis/README.md
index 018a9a43dcc..18117fdfcbe 100644
--- a/Master/texmf-dist/doc/latex/hithesis/README.md
+++ b/Master/texmf-dist/doc/latex/hithesis/README.md
@@ -33,6 +33,10 @@ hithesis 已收录在[CTAN](https://ctan.org/pkg/hithesis
各位刀客一定要先看清楚我工规范两大歧义之处:[版芯歧义](http://yanshuo.name/cn/2017/06/hithesisregulation/)和[本科生行距歧义](http://yanshuo.name/cn/2017/06/hithesissiyuan/)。
+另外注意几处小歧义:
+- 在[规范](http://hitgs.hit.edu.cn/aa/fd/c3425a109309/page.htm)中规定和[研究生word排版范例](http://hitgs.hit.edu.cn/ab/1f/c3425a109343/page.htm)的中文目录中出现的“ABSTRACT”和“Abstract”的写法歧义(规格严格功夫大家!!!)。
+- 本科生论文官方模板的页眉页码格式混乱,有的有页码横线有的没有,有的有页眉有的没有。
+
## 模板特点
### 呆萌的操作,傲娇的效果
@@ -70,6 +74,7 @@ hithesis 已收录在[CTAN](https://ctan.org/pkg/hithesis
### 为了我工的规格严格、功夫到家
- 行间距、段前后距离设置精确到小数后四位, 例如 1bp = 1.00374pt,1mm = 2.84526pt, 按照我工之要求, 行距在3mm~4mm之间,换算之后为20.50398~23.33863bp,严格符合规范要求,哪怕是显微镜级别
+ - 规范明确规定,数字间空格要求为汉字宽度的四分之一(形式类似与 12 2345 和 0.123 456 这样多于3位以上的整数或小数)。默认情况下在LaTeX中任何人工输入的空格均不正确(“\:”为4/18汉字宽度,“\;”为5/18汉字宽度,所以PlutoThesis中的数字间宽度错误)。hithesis模板中定义了精准的数字间宽度。
- 重写了一堆重要函数,例如章节标题由原来的`BiChapter{}{}`方式进化为`chapter{}[]`,极大简化,后面方括号中为可选括号,硕本可以不用,用了自动忽略
- 严格符合(满足)两个规范要求,由于规范中有矛盾之处,例如本科生的标题段前距离有两处不一样的规定,刚性行距尽量满足行数(要求约33行)要求。
- 规范中给出了行距区间,为了规格严格,设置了弹性行距
@@ -114,7 +119,19 @@ CTAN的版本一般会比较落后,但在每年年底会同步为最新版本
- 生成论文格式文件(第一步要生成 *.cls,*.cfg,*.ist,然后再生成论文)
- latex hithesis.ins
+注意,如果下载最新版本(>= 2018)的texlive或Miktex或Mactex,如果使用自带的模板,可能会出现一些错误,因为自带的版本老。
+查看自带版本的命令是
+
+ texdoc hithesis
+
+ - 如果是Linux/Mac执行 (此处作者没测试过Mac,如遇到问题到谈论区可以问一下热心刀客大侠们,比如陈登泰教授、郭大侠等)
+
+ latex hithesis.ins
+
+ - 如果是Windows执行(作者没测试过,如遇问题同上)
+
+ lualatex hithesis.ins
+
- 生成论文
@@ -168,13 +185,15 @@ LaTeX 中的ctex package版本要求:
![1](http://wx4.sinaimg.cn/large/61dccbaaly1fge32qrvgij20my0uzjso.jpg "谢谢")
-或者支付宝,不限额度,
+或者随便吧……
+
+![wechat](http://wx2.sinaimg.cn/large/61dccbaaly1fqwvz6sd4ej20yi1au797.jpg "谢谢")
![zfb](http://wx3.sinaimg.cn/large/61dccbaaly1fizali9tafj20k00ucgos.jpg "谢谢")
其实没关系,为了我工的“规格严格,功夫到家”!
- 本模板以PlutoThesis为核心基础,参考了CTAN中清华大学薛瑞尼所开发的thuthesis以及其分支重庆大学等毕业论文模板的代码开发而来
-- 学校教务处和研究生院只提供了规范,并没有提供官方的任何模板(包括word),所以此模板仅为规范的参考实现,不保证格式审查老师不提意见。任何由于使用本模板而引起的论文格式审查问题均与本模板作者无关
+- ~~学校教务处和研究生院只提供了规范,并没有提供官方的任何模板(包括word),所以~~ 学校教务处和研究生院提供了规范和[研究生word模板](http://hitgs.hit.edu.cn/ab/1f/c3425a109343/page.htm)以及[本科生word模板](http://jwc.hit.edu.cn/2566/list.htm)(厉害了word哥……),此模板仅为规范的参考实现,不保证格式审查老师不提意见。任何由于使用本模板而引起的论文格式审查问题均与本模板作者无关
<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/body/introduction.tex b/Master/texmf-dist/doc/latex/hithesis/body/introduction.tex
index 46507f2e043..ee9d8c3c995 100644
--- a/Master/texmf-dist/doc/latex/hithesis/body/introduction.tex
+++ b/Master/texmf-dist/doc/latex/hithesis/body/introduction.tex
@@ -1,4 +1,4 @@
-% !Mode:: "TeX:UTF-8"
+% !Mode:: "TeX:UTF-8"
\chapter{示例文档}[Example]
@@ -8,6 +8,19 @@ hithesis.pdf文件},本示例文档也最好能看一看。此示例文档尽
,然而对于一些不在我工规范中规定的文档,理论上是由用户自由发挥,这里不给出样例
。需要另行载入的宏包和自定义命令在文件`hithesis.sty'中有示例,这里不列举。
+\section{关于数字}[Number]
+
+按《关于出版物上数字用法的试行规定》(1987年1月1日国家语言文字工作委员会等7个单位公布),除习惯用中文数字表示的以外,一般数字均用阿拉伯数字。
+(1)公历的世纪、年代、年、月、日和时刻一律用阿拉伯数字,如20世纪,80年代,4时3刻等。年号要用四位数,如1989年,不能用89年。
+(2)记数与计算(含正负整数、分数、小数、百分比、约数等)一律用阿拉伯数字,如3/4,4.5%,10个月,500多种等。
+(3)一个数值的书写形式要照顾到上下文。不是出现在一组表示科学计量和具有统计意义数字中的一位数可以用汉字,如一个人,六条意见。星期几一律用汉字,如星期六。邻近两个数字并列连用,表示概数,应该用汉字数字,数字间不用顿号隔开,如三五天,七八十种,四十五六岁,一千七八百元等。
+(4)数字作为词素构成定型的词、词组、惯用语、缩略语等应当使用汉字。如二倍体,三叶虫,第三世界,“七五”规划,相差十万八千里等。
+(5)5位以上的数字,尾数零多的,可改写为以万、亿为单位的数。一般情况下不得以十、百、千、十万、百万、千万、十亿、百亿、千亿作为单位。如~\num{345000000}~公里可改写为3.45亿公里或~\num{34500}~万公里,但不能写为3亿~\num{4500}~万公里或3亿4千5百万公里。
+(6)数字的书写不必每格一个数码,一般每两数码占一格,数字间分节不用分位号“,”,凡4位或4位以上的数都从个位起每3位数空半个数码(1/4汉字)。“\num{3000000}”,不要写成“3,000,000”,小数点后的数从小数点起向右按每三位一组分节。一个用阿拉伯数字书写的多位数不能从数字中间转行。
+(7)数量的增加或减少要注意下列用词的概念:1)增加为(或增加到)过去的二倍,即过去为一,现在为二;2)增加(或增加了)二倍,即过去为一,现在为三;3)超额80%,即定额为100,现在为180;4)降低到80%,即过去为100,现在为80;5)降低(或降低了)80%,即原来为100,现在为20;6)为原数的1/4,即原数为4,现在为1,或原数为1,现在为0.25。
+应特别注意在表达数字减小时,不宜用倍数,而应采用分数。如减少为原来的1/2,1/3等。
+
+
\section{索引示例}[Index]
为便于检索文中内容,可编制索引置于论文之后(根据需要决定是否设置)。索引以论文中
@@ -15,6 +28,14 @@ hithesis.pdf文件},本示例文档也最好能看一看。此示例文档尽
前。\sindex[china]{qi!乔峰}\sindex[english]{Xu Zhu}\sindex[english]{Qiao Feng}
中文按各词汉语拼音第一个字母排序,英文按该词第一个英文字母排序。
+\section{术语排版举例}[Glossaries and index]
+
+术语的定义和使用可以结合索引,灵活使用。
+例如,\gtssbp 是一种应用于狄利克雷过程抽样的算法。
+下次出现将是另一种格式:\gtssbp 。
+还可以切换单复数例如:\gscnas ,下次出现为:\gscnas 。
+此处体现了\LaTeX\ 格式内容分离的优势。
+
\section{引用}[Cite]
\sindex[china]{du!段誉}引文标注遵照GB/T7714-2005,采用顺序编码制。正文中引用文献的标示应置于所引内容最后一个字的右上角,所引文献编号用阿拉伯数字置于方括号“[ ]”中,用小4号字体的上角标。要求:
@@ -23,6 +44,7 @@ hithesis.pdf文件},本示例文档也最好能看一看。此示例文档尽
(2)同一处引用多篇文献时,各篇文献的序号在方括号内全部列出,各序号间用“,”,如
遇连续序号,可标注讫序号。如,…形成了多种数学模型\cite{cnarticle,cnproceed}…
+注意此处添加\cs{inlinecite}中文空格\inlinecite{cnarticle,cnproceed},可以在cfg文件中修改空格类型。
(3)多次引用同一文献时,在文献序号的“[ ]”后标注引文页码。如,…间质细胞CAMP含量
测定\cite[100-197]{cnarticle}…。…含量测定方法规定
@@ -30,6 +52,37 @@ hithesis.pdf文件},本示例文档也最好能看一看。此示例文档尽
(4)当提及的参考文献为文中直接说明时,则用小4号字与正文排齐,如“由文献\inlinecite{hithesis2017}可知”
+\section{定理和定义等}[Theorem]
+\begin{theorem}[\cite{cnproceed}]
+宇宙大爆炸是一种爆炸。
+\end{theorem}
+\begin{definition}[(霍金)]
+宇宙大爆炸是一种爆炸。
+\end{definition}
+\begin{assumption}
+宇宙大爆炸是一种爆炸。
+\end{assumption}
+\begin{lemma}
+宇宙大爆炸是一种爆炸。
+\end{lemma}
+\begin{corollary}
+宇宙大爆炸是一种爆炸。
+\end{corollary}
+\begin{exercise}
+宇宙大爆炸是一种爆炸。
+\end{exercise}
+\begin{problem}[(Albert Einstein)]
+宇宙大爆炸是一种爆炸。
+\end{problem}
+\begin{remark}
+宇宙大爆炸是一种爆炸。
+\end{remark}
+\begin{axiom}[(爱因斯坦)]
+宇宙大爆炸是一种爆炸。
+\end{axiom}
+\begin{conjecture}
+宇宙大爆炸是一种爆炸。
+\end{conjecture}
\section{图片}[Pictures]
图应有自明性。插图应与文字紧密配合,文图相符,内容正确。选图要力求精练,插图、照
片应完整清晰。机械工程图:采用第一角投影法,严格按照GB4457~GB131-83《机械制图》
@@ -92,13 +145,13 @@ Times New Roman字体,字号尽量采用5号字(当字数较多时可用小5
\begin{minipage}[t]{0.4\textwidth}
\centering
\includegraphics[width=\textwidth]{golfer}
-\bicaption[golfer2]{}{打高尔夫球的人}{Fig.$\!$}{The person playing golf}
+\bicaption[golfer5]{}{打高尔夫球的人}{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.}
+\bicaption[golfer8]{}{打高尔夫球的人。注意,此图是顶部对齐}{Fig.$\!$}{The person playing golf. Please note that, it is vertically top aligned.}
\end{minipage}
\end{figure}
@@ -107,13 +160,13 @@ Times New Roman字体,字号尽量采用5号字(当字数较多时可用小5
\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.}
+\bicaption[golfer9]{}{打高尔夫球的人。注意,此图对齐方式是图片底部对齐}{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}
+\bicaption[golfer6]{}{打高尔夫球的人}{Fig.$\!$}{The person playing golf}
\end{minipage}
\end{figure}
@@ -154,16 +207,16 @@ Times New Roman字体,字号尽量采用5号字(当字数较多时可用小5
\centering
\begin{minipage}{\textwidth}
\centering
- \subfigure{\label{golfer41}}\addtocounter{subfigure}{-2}
+ \subfigure{\label{golfer45}}\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{\label{golfer46}}\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.}
+\bicaption[golfer47]{}{打高尔夫球的人。注意,此处我工有另外一处要求,子图图题可以位于主图题之下。但由于没有明确说明位于下方具体是什么格式,所以这里不给出举例。}{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}
@@ -176,7 +229,7 @@ Times New Roman字体,字号尽量采用5号字(当字数较多时可用小5
\node at (0.8,0.2) {b)};
\end{scope}
\end{tikzpicture}
-\bicaption[golfer1]{}{打高尔夫球球的人(博士论文双语题注)}{Fig.$\!$}{The person playing golf (Doctoral thesis)}
+\bicaption[golfer0]{}{打高尔夫球球的人(博士论文双语题注)}{Fig.$\!$}{The person playing golf (Doctoral thesis)}
\vskip -0.4em
\hspace{2em}
\begin{minipage}[t]{0.3\textwidth}
@@ -195,9 +248,85 @@ Times New Roman字体,字号尽量采用5号字(当字数较多时可用小5
\end{minipage}
\end{figure}
+
+\begin{figure}[!h]
+ \centering
+ \begin{sideways}
+ \begin{minipage}{\textheight}
+ \centering
+ \fbox{\includegraphics[width=0.2\textwidth]{golfer}}
+ \fbox{\includegraphics[width=0.2\textwidth]{golfer}}
+ \fbox{\includegraphics[width=0.2\textwidth]{golfer}}
+ \fbox{\includegraphics[width=0.2\textwidth]{golfer}}
+ \fbox{\includegraphics[width=0.2\textwidth]{golfer}}
+ \fbox{\includegraphics[width=0.2\textwidth]{golfer}}
+ \fbox{\includegraphics[width=0.2\textwidth]{golfer}}
+\bicaption[golfer7]{}{打高尔夫球的人(非规范要求)}{Fig.$\!$}{The person playing golf (Not stated in the regulation)}
+ \end{minipage}
+ \end{sideways}
+\end{figure}
+
\clearpage
如果不想让图片浮动到下一章节,那么在此处使用\cs{clearpage}命令。
+
+\section{如何做出符合规范的漂亮的图}
+关于作图工具在后文\ref{drawtool}中给出一些作图工具的介绍,此处不多言。
+此处以R语言和Tikz为例说明如何做出符合规范的图。
+
+\subsection{Tikz作图举例}
+使用Tikz作图核心思想是把格式、主题、样式与内容分离,定义在全局中。
+注意字体设置可以有两种选择,如何字少,用五号字,字多用小五。
+使用Tikz作图不会出现字体问题,字体会自动与正文一致。
+
+\begin{figure}[thb!]
+ \centering
+ \begin{tikzpicture}[xscale=0.8,yscale=0.3,rotate=90]
+ \small
+ \draw (-22,6.5) node[refcell]{参考基因组};
+ \draw[refline] (-23, 5) -- (27, 5);
+ \draw (-22,3.75) node[tscell]{肿瘤样本};
+ \draw (-20,3.75) node[tncell]{正常细胞};
+ \draw[tnline] (-21, 2.5) -- (27, 2.5);
+ \draw (-20,1.25) node[ttcell]{肿瘤细胞};
+ \rcell{2}{6};
+ \draw[fakeevolve] (4.5, 5.25) -- (4.5, 4.8);
+ \ncell{2}{4};
+ \draw[evolve] (4.5, 3) .. controls (4.5,2.8) and (-3.5,2.9) .. (-3.5, 2);
+ \draw[evolve] (4.5, 3) .. controls (4.5,2.8) and (11.5,2.9) .. (11.5, 2);
+ \tcellone{-6}{1.5};
+ \draw (-9, 2) node[ttcell]{1};
+ \draw[evolve] (-3.5, 0) .. controls (-3.5,-0.2) and (-12,-0.1) .. (-12, -1.5);
+ \draw[evolve] (-3.5, 0) .. controls (-3.5,-0.2) and (1.5,-0.1) .. (1.5, -1.5);
+ \tcellthree{7}{1.5};
+ \draw (4, 2) node[ttcell]{2};
+ \draw[evolve] (11, 0.5) .. controls (11,0.3) and (19,0.4) .. (19, -1.5);
+ \tcellfive{-16}{-2};
+ \draw (-19, -1.5) node[ttcell]{3};
+ \tcelltwo{-1}{-2};
+ \draw (-4, -1.5) node[ttcell]{4};
+ \tcellfour{12}{-2};
+ \draw (9, -1.5) node[ttcell]{5};
+ \end{tikzpicture}
+ \begin{minipage}{.9\linewidth}
+ \vskip 0.2em
+ \wuhao 图中,带有箭头的淡蓝色箭头表示肿瘤子种群的进化方向。一般地,从肿瘤组织中取用于进行二代测序的样本中含有一定程度的正常细胞污染,因此肿瘤的样本中含有正常细胞和肿瘤细胞。每一个子种群的基因组的模拟过程是把生殖细胞变异和体细胞变异加入到参考基因组中。
+ \vspace{0.6em}
+ \end{minipage}
+\bicaption[tumor]{}{肿瘤组织中各个子种群的进化示意图}{Fig.$\!$}{The diagram of tumor subpopulation evolution process}
+\end{figure}
+
+\subsection{R作图}
+R是一种极具有代表性的典型的作图工具,应用广泛。
+与Tikz图~\ref{tumor}~不同,R作图分两种情况:(1)可以转换为Tikz码;(2)不可转换为Tikz码。
+第一种情况图形简单,图形中不含有很多数据点,使用R语言中的Tikz包即可。
+第二种情况是图形复杂,含有海量数据点,这时候不要转成Tikz矢量图,这会使得论文体积巨大。
+推荐使用pdf或png非矢量图形。
+使用非矢量图形时要注意选择好字号(五号或小五),和字体(宋体、新罗马)然后选择生成图形大小,注意此时在正文中使用\cs{includegraphics}命令导入时,不要像导入矢量图那样控制图形大小,使用图形的原本的
+宽度和高度,这样就确保了非矢量图形中的文字与正文一致了。
+
+为了控制\hithesis\ 的大小,此处不给出具体举例,
+
\section{表格}
表应有自明性。表格不加左、右边线。表的编排建议采用国际通行的三线表。表中文字用宋
@@ -240,10 +369,11 @@ $D$(in) & $P_u$(lbs) & $u_u$(in) & $\beta$ & $G_f$(psi.in)\\
注意,长表格双语标题的格式。
-\ltfontsize{\dawu[1.667]}
-\dawu[1.667]\begin{longtable}{ccc}%
+\vspace{-1.5bp}
+\ltfontsize{\wuhao[1.667]}
+\wuhao[1.667]\begin{longtable}{ccc}%
\longbionenumcaption{}{{\wuhao 中国省级行政单位一览
-}\label{table2}}{Table$\!$}{}{{\wuhao Overview of the provincial administrative
+}\label{table3}}{Table$\!$}{}{{\wuhao Overview of the provincial administrative
unit of China}}{-0.5em}{3.15bp}\\
%\caption{\wuhao 中国省级行政单位一览}\\
\toprule[1.5pt] 名称 & 简称 & 省会或首府 \\ \midrule[1pt]
@@ -288,52 +418,8 @@ unit of China}}{-0.5em}{3.15bp}\\
澳门特别行政区 & 澳 & 澳门\\
台湾省 & 台 & 台北市\\
\end{longtable}\normalsize
+\vspace{-1em}
-\ltfontsize{\dawu[1.667]}
-\dawu[1.667]\begin{longtable}{ccc}%
- \caption{\wuhao 中国省级行政单位一览}\\[0.3em]
-\toprule[1.5pt] 名称 & 简称 & 省会或首府 \\ \midrule[1pt]
-\endfirsthead
-\multicolumn{3}{r}{表~\thetable(续表)}\vspace{0.5em}\\
-\toprule[1.5pt] 名称 & 简称 & 省会或首府 \\ \midrule[1pt]
-\endhead
-\bottomrule[1.5pt]
-\endfoot
-北京市 & 京 & 北京\\
-天津市 & 津 & 天津\\
-河北省 & 冀 & 石家庄市\\
-山西省 & 晋 & 太原市\\
-内蒙古自治区 & 蒙 & 呼和浩特市\\
-辽宁省 & 辽 & 沈阳市\\
-吉林省 & 吉 & 长春市\\
-黑龙江省 & 黑 & 哈尔滨市\\
-上海市 & 沪/申 & 上海\\
-江苏省 & 苏 & 南京市\\
-浙江省 & 浙 & 杭州市\\
-安徽省 & 皖 & 合肥市\\
-福建省 & 闽 & 福州市\\
-江西省 & 赣 & 南昌市\\
-山东省 & 鲁 & 济南市\\
-河南省 & 豫 & 郑州市\\
-湖北省 & 鄂 & 武汉市\\
-湖南省 & 湘 & 长沙市\\
-广东省 & 粤 & 广州市\\
-广西壮族自治区 & 桂 & 南宁市\\
-海南省 & 琼 & 海口市\\
-重庆市 & 渝 & 重庆\\
-四川省 & 川/蜀 & 成都市\\
-贵州省 & 黔/贵 & 贵阳市\\
-云南省 & 云/滇 & 昆明市\\
-西藏自治区 & 藏 & 拉萨市\\
-陕西省 & 陕/秦 & 西安市\\
-甘肃省 & 甘/陇 & 兰州市\\
-青海省 & 青 & 西宁市\\
-宁夏回族自治区 & 宁 & 银川市\\
-新疆维吾尔自治区 & 新 & 乌鲁木齐市\\
-香港特别行政区 & 港 & 香港\\
-澳门特别行政区 & 澳 & 澳门\\
-台湾省 & 台 & 台北市\\
-\end{longtable}\normalsize
此长表格~\ref{table2}~第~2~页的标题“编号(续表)”和表头是通过代码自动添加上去的,无需人工添加,若表格在页面中的竖直位置发生了变化,长表格在第~2~页
及之后各页的标题和表头位置能够始终处于各页的最顶部,也无需人工调整,\LaTeX~系统的这一优点是~word~等软件所无法比拟的。
@@ -347,7 +433,7 @@ some cells of tables are too long]
首先给出这种情况下的一个例子如表~\ref{table3}~所示。
\begin{table}[htbp]
\centering
-\bicaption[table3]{}{最小的三个正整数的英文表示法}{Table$\!$}{The English construction of the smallest three positive integral numbers}\vspace{0.5em}\wuhao
+\bicaption[table4]{}{最小的三个正整数的英文表示法}{Table$\!$}{The English construction of the smallest three positive integral numbers}\vspace{0.5em}\wuhao
\begin{tabularx}{0.7\textwidth}{llX}
\toprule[1.5pt]
Value & Name & Alternate names, and names for sets of the given size\\\midrule[1pt]
@@ -389,6 +475,28 @@ need to be annotated]
需要转页的代码放入一个新的\verb|tabularx|环境中,将原来的一个\verb|tabularx|环境
拆分为两个\verb|tabularx|环境。
+\subsubsection{排版横版表格的举例}[An example of landscape table]
+
+\begin{table}[p]
+\centering
+\begin{sideways}
+\begin{minipage}{\textheight}
+\bicaption[table2]{}{不在规范中规定的横版表格}{Table$\!$}{A table style which is not stated in the regulation}
+\vspace{0.5em}\centering\wuhao
+\begin{tabular}{ccccc}
+\toprule[1.5pt]
+$D$(in) & $P_u$(lbs) & $u_u$(in) & $\beta$ & $G_f$(psi.in)\\
+\midrule[1pt]
+ 5 & 269.8 & 0.000674 & 1.79 & 0.04089\\
+10 & 421.0 & 0.001035 & 3.59 & 0.04089\\
+20 & 640.2 & 0.001565 & 7.18 & 0.04089\\
+\bottomrule[1.5pt]
+\end{tabular}
+\end{minipage}
+\end{sideways}
+\end{table}
+
+
\section{公式}
与正常\LaTeX\ 使用方法一致,此处略。关于公式中符号样式的定义在`hithesis.sty'有示
例。
@@ -430,6 +538,7 @@ need to be annotated]
处下载。
\subsection{专业绘图工具}[Processional drawing tool]
+\label{drawtool}
推荐使用tikz包,使用tikz源码绘图的好处是,图片中的字体与正文中的字体一致。具体如
何使用tikz绘图不属于模板范畴。
tikz适合用来画不需要大量实验数据支撑示意图。但R语言等专业绘图工具具有画出各种、
@@ -444,7 +553,7 @@ tikz适合用来画不需要大量实验数据支撑示意图。但R语言等专
推荐使用glossaries包管理术语、缩略语,可以自动生成首次全写,非首次缩写。
\subsection{\TeX\ 源码编辑器}[\TeX editor]
-推荐:(1)付费软件Winedt;(2)免费软件kile;(3)vim或emaces或sublime等神级编
+推荐:(1)付费软件Winedt;(2)免费软件kile;(3)vim或emacs或spacemacs等神级编
译器(需要配置)。
\subsection{\LaTeX\ 排版重要原则}[\LaTeX\ typesetting rules]
diff --git a/Master/texmf-dist/doc/latex/hithesis/dtx-style.sty b/Master/texmf-dist/doc/latex/hithesis/dtx-style.sty
index b60aaa0f32f..b9f52afc586 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-2018 by Chu Yanshuo <yanshuoc@gmail.com>
+%% Copyright (C) 2017-2019 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/front/cover.tex b/Master/texmf-dist/doc/latex/hithesis/front/cover.tex
index 4cff7b6c06a..9a1d61a8700 100644
--- a/Master/texmf-dist/doc/latex/hithesis/front/cover.tex
+++ b/Master/texmf-dist/doc/latex/hithesis/front/cover.tex
@@ -17,9 +17,10 @@
%=========
% 中文信息
%=========
- ctitleone={局部多孔质气体静压},
- ctitletwo={轴承关键技术的研究},
- ctitle={局部多孔质气体静压轴承关键技术的研究},
+ ctitleone={局部多孔质气体静压},%本科生封面使用
+ ctitletwo={轴承关键技术的研究},%本科生封面使用
+ ctitlecover={局部多孔质气体静压轴承关键技术的研究},%放在封面中使用,自由断行
+ ctitle={局部多孔质气体静压轴承关键技术的研究},%放在原创性声明中使用
csubtitle={一条副标题}, %一般情况没有,可以注释掉
cxueke={工学},
csubject={机械制造及其自动化},
@@ -29,7 +30,7 @@
cassosupervisor={某某某教授}, % 副指导老师
ccosupervisor={某某某教授}, % 联合指导老师
% 日期自动使用当前时间,若需指定按如下方式修改:
- cdate={超新星纪元},
+ %cdate={超新星纪元},
cstudentid={9527},
cstudenttype={同等学力人员}, %非全日制教育申请学位者
%(同等学力人员)、(工程硕士)、(工商管理硕士)、
diff --git a/Master/texmf-dist/doc/latex/hithesis/hithesis.pdf b/Master/texmf-dist/doc/latex/hithesis/hithesis.pdf
index fd7ba2f5fa7..ce315baaa3a 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
index c3919ae2575..8f73cb3286e 100644
--- a/Master/texmf-dist/doc/latex/hithesis/latexmkrc
+++ b/Master/texmf-dist/doc/latex/hithesis/latexmkrc
@@ -1,3 +1,16 @@
# vim: set ft=perl:
-$clean_ext = 'thm glo gls bbl hd loe';
-$makeindex = 'splitindex main -- -s hithesis.ist';
+@default_files = ('main.tex');
+
+$pdf_mode = 1;
+$bibtex_use = 2;
+$recorder = 1;
+$preview_continuous_mode = 1;
+$clean_ext = "synctex.gz acn acr alg aux bbl bcf blg brf fdb_latexmk glg glo gls idx ilg ind lof log lot out run.xml toc pdf thm toe ist idx";
+$pdflatex = "xelatex -file-line-error --shell-escape -src-specials -synctex=1 -interaction=nonstopmode %O %S;cp %D %R.pdf";
+$pdf_update_method = 0;
+
+@cus_dep_list = (@cus_dep_list, "idx ind 0 makenomenclature");
+sub makenomenclature {
+ system("splitindex $_[0] -- -s $_[0].ist"); }
+@generated_exts = (@generated_exts, 'glo');
+
diff --git a/Master/texmf-dist/doc/latex/hithesis/main.pdf b/Master/texmf-dist/doc/latex/hithesis/main.pdf
index b993ba0c541..515665ee409 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 31ac330ab07..5c632115a8a 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[capcenterlast=true,subcapcenterlast=true,openright=false,fontset=windowsnew,type=doctor]{hithesis}
+\documentclass[newtxmath=true,newgeometry=two,capcenterlast=true,subcapcenterlast=true,openright=true,absupper=true,fontset=windowsnew,type=doctor]{hithesis}
% 此处选项中不要有空格
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 必填选项
@@ -36,9 +36,11 @@
% subtitle=true|false
% 含义:论文题目是否含有副标题,缺省值为false,如果有要在cover中设置副标
% 题内容,封面中显示。
-% newgeometry=true|false
+% newgeometry=one|two
% 含义:规范中的自相矛盾之处,版芯是否包含页眉页脚,旧方法是按照包含页眉
-% 页脚来设置,缺省值为false,即旧方法。
+% 页脚来设置。该选项是多选选项,如果没有这个选项,缺省值是旧模板的版芯设
+% 置方法,如果设置该选项one或two,分别对应两种页眉页码对应版芯线的相对位
+% 置。第一种是严格按照规范要求,难看。第二种微调了页眉页码位置,好一点。
% debug=true|false
% 含义:是否显示版芯框和行号,用来调试。默认否。
% openright=true|false
@@ -53,6 +55,22 @@
% subcapcenterlast=true|false
% 含义:子图图题最后一行是否居中对齐(我工规范要求居中,但不要求居中对齐
% ),此选项不在规范要求中,按个人喜好自行决定。默认否。
+% absupper=true|false
+% 含义:中文目录中的英文索引在中文目录中的大小写样式歧义,在规范中要求首
+% 字母大写,在work样例中是全大写。该选项控制是否全大写。默认否。
+% bsmainpagenumberline=true|false
+% 含义:由于本科生论文官方模板的页码和页眉格式混乱,提供这个选项自定义设
+% 置是否在正文中显示页码横线,默认否。
+% bsfrontpagenumberline=true|false
+% 含义:由于本科生论文官方模板的页码和页眉格式混乱,提供这个选项自定义设
+% 置是否在前文中显示页码横线,默认否。
+% bsheadrule=true|false
+% 含义:由于本科生论文官方模板的页码和页眉格式混乱,提供这个选项自定义设
+% 置是否显示页眉横线,默认显示。
+% splitbibitem=true|false
+% 含义:参考文献每一个条目内能不能断页,应广大刀客要求添加。默认否。
+% newtxmath=true|false
+% 含义:数学字体是否使用新罗马。默认是。
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{hithesis}
diff --git a/Master/texmf-dist/doc/latex/hithesis/reference.bib b/Master/texmf-dist/doc/latex/hithesis/reference.bib
index 5b4b2604872..49e0405fb15 100644
--- a/Master/texmf-dist/doc/latex/hithesis/reference.bib
+++ b/Master/texmf-dist/doc/latex/hithesis/reference.bib
@@ -1,5 +1,11 @@
% !Mode:: "TeX:UTF-8"
-
+@ONLINE{DoeOnline,
+author = {Doe, Ringo},
+title = {This is a test entry of type {@ONLINE}},
+month = jun,
+year = {2009},
+url = {http://www.test.org/doe/}
+}
@INPROCEEDINGS{cnproceed,
author = {王重阳 and 黄药师 and 欧阳峰 and 洪七公 and 段皇帝},
title = {武林高手从入门到精通},