summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/thuthesis/example
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/thuthesis/example')
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/Makefile159
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/data/ack.tex16
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/data/appendix01.tex248
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/data/chap01.tex525
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/data/chap02.tex111
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/data/cover.tex71
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/data/denotation.tex32
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/data/resume.tex45
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/figures/hello.eps111
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/figures/hello.fig13
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/main.pdfbin0 -> 936087 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/main.tex64
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/msmake.cmd264
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/ref/refs.bib178
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/shuji.pdfbin0 -> 146099 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/shuji.tex9
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/example/thutils.sty40
17 files changed, 1886 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/Makefile b/Master/texmf-dist/doc/latex/thuthesis/example/Makefile
new file mode 100644
index 00000000000..92246aa35db
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/Makefile
@@ -0,0 +1,159 @@
+# Makefile for ThuThesis
+# $Id: Makefile 123 2007-11-08 13:05:49Z littleleo $
+
+ifeq ($(MAKE),)
+ override MAKE=make
+endif
+
+ifeq ($(TEXI2DVI),)
+ override TEXI2DVI=texi2dvi
+endif
+
+ifneq ($(METHOD),ps2pdf)
+ifneq ($(METHOD),dvipdfm)
+ override METHOD=ps2pdf
+endif
+endif
+
+PACKAGE=thuthesis
+SOURCES=$(PACKAGE).ins $(PACKAGE).dtx
+THESISMAIN=main
+THESISCONTENTS=$(THESISMAIN).tex data/*.tex
+BIBFILE=ref/refs.bib
+SHUJIMAIN=shuji
+SHUJICONTENTS=$(SHUJIMAIN).tex
+
+.PHONY: all clean distclean dist all thesis shuji doc cls cfg dvi ps pdf
+
+all: cls doc thesis shuji
+
+
+###### generate cls/cfg
+cls: $(PACKAGE).cls
+
+$(PACKAGE).cls: $(SOURCES)
+ rm -f $(PACKAGE).cls $(PACKAGE).cfg
+ latex $(PACKAGE).ins
+
+###### for doc
+
+doc: doc-pdf
+
+doc-pdf: $(PACKAGE).pdf
+
+doc-ps: $(PACKAGE).ps
+
+doc-dvi: $(PACKAGE).dvi
+
+$(PACKAGE).dvi: cls
+ latex $(PACKAGE).dtx
+ makeindex -s gind.ist -o $(PACKAGE).ind $(PACKAGE).idx
+ makeindex -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo
+ latex $(PACKAGE).dtx
+
+$(PACKAGE).ps: $(PACKAGE).dvi
+ gbk2uni $(PACKAGE)
+ latex $(PACKAGE).dtx
+ dvips -Ppdf -G0 -t letter $(PACKAGE).dvi
+
+$(PACKAGE).pdf: $(PACKAGE).ps
+ ps2pdf $(PACKAGE).ps
+
+###### for thesis
+
+thesis: thesis-pdf
+
+thesis-pdf: $(THESISMAIN).pdf
+
+thesis-dvi: $(THESISMAIN).dvi
+
+thesis-ps: $(THESISMAIN).ps
+
+$(THESISMAIN).dvi: cls $(THESISCONTENTS) $(THESISMAIN).bbl
+ $(TEXI2DVI) $(THESISMAIN).tex
+
+ifeq ($(METHOD),dvipdfm)
+$(THESISMAIN).pdf: $(THESISMAIN).dvi
+ gbk2uni $(THESISMAIN)
+ latex $(THESISMAIN).tex
+ dvipdfm $(THESISMAIN).dvi
+else
+$(THESISMAIN).pdf: $(THESISMAIN).ps
+ ps2pdf $(THESISMAIN).ps
+endif
+
+$(THESISMAIN).ps: $(THESISMAIN).dvi
+ gbk2uni $(THESISMAIN)
+ latex $(THESISMAIN).tex
+ dvips -Ppdf -G0 $(THESISMAIN).dvi
+
+$(THESISMAIN).bbl: $(BIBFILE)
+ $(TEXI2DVI) $(THESISMAIN).tex
+ -bibtex $(THESISMAIN)
+
+
+
+###### for shuji
+shuji: shuji-pdf
+
+shuji-pdf: $(SHUJIMAIN).pdf
+
+shuji-dvi: $(SHUJIMAIN).dvi
+
+shuji-ps: $(SHUJIMAIN).ps
+
+$(SHUJIMAIN).dvi: cls $(SHUJICONTENTS)
+ $(TEXI2DVI) $(SHUJIMAIN).tex
+
+ifeq ($(METHOD),dvipdfm)
+$(SHUJIMAIN).pdf: $(SHUJIMAIN).dvi
+ gbk2uni $(SHUJIMAIN)
+ latex $(SHUJIMAIN).tex
+ dvipdfmx $(SHUJIMAIN).dvi
+elifeq ($(METHOD),ps2pdf)
+$(SHUJIMAIN).pdf: $(SHUJIMAIN).ps
+ ps2pdf $(SHUJIMAIN).ps
+else
+$(SHUJIMAIN).pdf: cls $(SHUJICONTENTS)
+ pdflatex $(SHUJIMAIN)
+endif
+
+$(SHUJIMAIN).ps: $(SHUJIMAIN).dvi
+ gbk2uni $(SHUJIMAIN)
+ latex $(SHUJIMAIN).tex
+ dvips -Ppdf -G0 $(SHUJIMAIN).dvi
+
+clean:
+ -@rm -f \
+ *.aux \
+ *.bak \
+ *.bbl \
+ *.blg \
+ *.cls \
+ *.cfg \
+ *.dvi \
+ *.glo \
+ *.gls \
+ *.idx \
+ *.ilg \
+ *.ind \
+ *.ist \
+ *.log \
+ *.out \
+ *.ps \
+ *.thm \
+ *.toc \
+ *.lof \
+ *.lot \
+ *.loe \
+ data/*.aux
+
+distclean: clean
+ -@rm -f *.pdf *.tar.gz
+
+dist:
+ @if [ -z "$(VERSION)" ]; then \
+ echo "Usage: make dist VERSION=<version#>"; \
+ else \
+ ./makedist.sh $(VERSION); \
+ fi
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/data/ack.tex b/Master/texmf-dist/doc/latex/thuthesis/example/data/ack.tex
new file mode 100644
index 00000000000..91565f19703
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/data/ack.tex
@@ -0,0 +1,16 @@
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: "../main"
+%%% End:
+
+\begin{ack}
+本科的致谢和声明分页,硕士博士不分。
+
+所以本科可以多写一些,研究生少写一些。
+
+感谢~\thuthesis,它的存在让我的论文写作轻松自在了许多,让我的论文格式规整漂亮了许
+多,我以自己的经验告诉大家:用~\thuthesis{} 写毕业论文,爽!
+
+:)
+\end{ack}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/data/appendix01.tex b/Master/texmf-dist/doc/latex/thuthesis/example/data/appendix01.tex
new file mode 100644
index 00000000000..424ed03d73c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/data/appendix01.tex
@@ -0,0 +1,248 @@
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: "../main"
+%%% End:
+
+\chapter{外文资料原文}
+\label{cha:engorg}
+As one of the most widely used techniques in operations research, {\em
+ mathematical programming} is defined as a means of maximizing a quantity known
+as {\em objective function}, subject to a set of constraints represented by
+equations and inequalities. Some known subtopics of mathematical programming are
+linear programming, nonlinear programming, multiobjective programming, goal
+programming, dynamic programming, and multilevel programming.
+
+It is impossible to cover in a single chapter every concept of mathematical
+programming. This chapter introduces only the basic concepts and techniques of
+mathematical programming such that readers gain an understanding of them
+throughout the book.
+
+
+\section{Single-Objective Programming}
+The general form of single-objective programming (SOP) is written
+as follows,
+\begin{equation}\tag*{(123)} % 如果附录中的公式不想让它出现在公式索引中,那就请
+ % 用 \tag*{xxxx}
+\left\{\begin{array}{l}
+\max \,\,f(x)\\[0.1 cm]
+\mbox{subject to:} \\ [0.1 cm]
+\qquad g_j(x)\le 0,\quad j=1,2,\cdots,p
+\end{array}\right.
+\end{equation}
+which maximizes a real-valued function $f$ of
+$x=(x_1,x_2,\cdots,x_n)$ subject to a set of constraints.
+
+\newtheorem{mpdef}{Definition}[chapter]
+\begin{mpdef}
+In SOP, we call $x$ a decision vector, and
+$x_1,x_2,\cdots,x_n$ decision variables. The function
+$f$ is called the objective function. The set
+\begin{equation}\tag*{(456)} % 这里同理,其它不再一一指定。
+S=\left\{x\in\Re^n\bigm|g_j(x)\le 0,\,j=1,2,\cdots,p\right\}
+\end{equation}
+is called the feasible set. An element $x$ in $S$ is called a
+feasible solution.
+\end{mpdef}
+
+\newtheorem{mpdefop}[mpdef]{Definition}
+\begin{mpdefop}
+A feasible solution $x^*$ is called the optimal
+solution of SOP if and only if
+\begin{equation}
+f(x^*)\ge f(x)
+\end{equation}
+for any feasible solution $x$.
+\end{mpdefop}
+
+One of the outstanding contributions to mathematical programming was known as
+the Kuhn-Tucker conditions\ref{eq:ktc}. In order to introduce them, let us give
+some definitions. An inequality constraint $g_j(x)\le 0$ is said to be active at
+a point $x^*$ if $g_j(x^*)=0$. A point $x^*$ satisfying $g_j(x^*)\le 0$ is said
+to be regular if the gradient vectors $\nabla g_j(x)$ of all active constraints
+are linearly independent.
+
+Let $x^*$ be a regular point of the constraints of SOP and assume that all the
+functions $f(x)$ and $g_j(x),j=1,2,\cdots,p$ are differentiable. If $x^*$ is a
+local optimal solution, then there exist Lagrange multipliers
+$\lambda_j,j=1,2,\cdots,p$ such that the following Kuhn-Tucker conditions hold,
+\begin{equation}
+\label{eq:ktc}
+\left\{\begin{array}{l}
+ \nabla f(x^*)-\sum\limits_{j=1}^p\lambda_j\nabla g_j(x^*)=0\\[0.3cm]
+ \lambda_jg_j(x^*)=0,\quad j=1,2,\cdots,p\\[0.2cm]
+ \lambda_j\ge 0,\quad j=1,2,\cdots,p.
+\end{array}\right.
+\end{equation}
+If all the functions $f(x)$ and $g_j(x),j=1,2,\cdots,p$ are convex and
+differentiable, and the point $x^*$ satisfies the Kuhn-Tucker conditions
+(\ref{eq:ktc}), then it has been proved that the point $x^*$ is a global optimal
+solution of SOP.
+
+\subsection{Linear Programming}
+\label{sec:lp}
+
+If the functions $f(x),g_j(x),j=1,2,\cdots,p$ are all linear, then SOP is called
+a {\em linear programming}.
+
+The feasible set of linear is always convex. A point $x$ is called an extreme
+point of convex set $S$ if $x\in S$ and $x$ cannot be expressed as a convex
+combination of two points in $S$. It has been shown that the optimal solution to
+linear programming corresponds to an extreme point of its feasible set provided
+that the feasible set $S$ is bounded. This fact is the basis of the {\em simplex
+ algorithm} which was developed by Dantzig as a very efficient method for
+solving linear programming.
+\begin{table}[ht]
+\centering
+ \centering
+ \caption*{Table~1\hskip1em This is an example for manually numbered table, which
+ would not appear in the list of tables.}
+ \label{tab:badtabular2}
+ \begin{tabular}[c]{|c|m{0.8in}|c|c|c|c|c|}\hline
+ \multicolumn{2}{|c|}{Network Topology} & \# of nodes &
+ \multicolumn{3}{c|}{\# of clients} & Server \\\hline
+ GT-ITM & Waxman Transit-Stub & 600 &
+ \multirow{2}{2em}{2\%}&
+ \multirow{2}{2em}{10\%}&
+ \multirow{2}{2em}{50\%}&
+ \multirow{2}{1.2in}{Max. Connectivity}\\\cline{1-3}
+ \multicolumn{2}{|c|}{Inet-2.1} & 6000 & & & &\\\hline
+ \multirow{2}{1in}{Xue} & Rui & Ni &\multicolumn{4}{c|}{\multirow{2}*{\thuthesis}}\\\cline{2-3}
+ & \multicolumn{2}{c|}{ABCDEF} &\multicolumn{4}{c|}{} \\\hline
+\end{tabular}
+\end{table}
+
+Roughly speaking, the simplex algorithm examines only the extreme points of the
+feasible set, rather than all feasible points. At first, the simplex algorithm
+selects an extreme point as the initial point. The successive extreme point is
+selected so as to improve the objective function value. The procedure is
+repeated until no improvement in objective function value can be made. The last
+extreme point is the optimal solution.
+
+\subsection{Nonlinear Programming}
+
+If at least one of the functions $f(x),g_j(x),j=1,2,\cdots,p$ is nonlinear, then
+SOP is called a {\em nonlinear programming}.
+
+A large number of classical optimization methods have been developed to treat
+special-structural nonlinear programming based on the mathematical theory
+concerned with analyzing the structure of problems.
+\begin{figure}[h]
+ \centering
+ \includegraphics{hello.eps}
+ \caption*{Figure~1\hskip1em This is an example for manually numbered figure,
+ which would not appear in the list of figures.}
+ \label{tab:badfigure2}
+\end{figure}
+
+Now we consider a nonlinear programming which is confronted solely with
+maximizing a real-valued function with domain $\Re^n$. Whether derivatives are
+available or not, the usual strategy is first to select a point in $\Re^n$ which
+is thought to be the most likely place where the maximum exists. If there is no
+information available on which to base such a selection, a point is chosen at
+random. From this first point an attempt is made to construct a sequence of
+points, each of which yields an improved objective function value over its
+predecessor. The next point to be added to the sequence is chosen by analyzing
+the behavior of the function at the previous points. This construction continues
+until some termination criterion is met. Methods based upon this strategy are
+called {\em ascent methods}, which can be classified as {\em direct methods},
+{\em gradient methods}, and {\em Hessian methods} according to the information
+about the behavior of objective function $f$. Direct methods require only that
+the function can be evaluated at each point. Gradient methods require the
+evaluation of first derivatives of $f$. Hessian methods require the evaluation
+of second derivatives. In fact, there is no superior method for all
+problems. The efficiency of a method is very much dependent upon the objective
+function.
+
+\subsection{Integer Programming}
+
+{\em Integer programming} is a special mathematical programming in which all of
+the variables are assumed to be only integer values. When there are not only
+integer variables but also conventional continuous variables, we call it {\em
+ mixed integer programming}. If all the variables are assumed either 0 or 1,
+then the problem is termed a {\em zero-one programming}. Although integer
+programming can be solved by an {\em exhaustive enumeration} theoretically, it
+is impractical to solve realistically sized integer programming problems. The
+most successful algorithm so far found to solve integer programming is called
+the {\em branch-and-bound enumeration} developed by Balas (1965) and Dakin
+(1965). The other technique to integer programming is the {\em cutting plane
+ method} developed by Gomory (1959).
+
+\hfill\textit{Uncertain Programming\/}\quad(\textsl{BaoDing Liu, 2006.2})
+
+\chapter{外文资料的调研阅读报告或书面翻译}
+这是附录~\ref{cha:engorg} 对应的翻译结果。
+
+\section{单目标规划}
+北冥有鱼,其名为鲲。鲲之大,不知其几千里也。化而为鸟,其名为鹏。鹏之背,不知其几
+千里也。怒而飞,其翼若垂天之云。是鸟也,海运则将徙于南冥。南冥者,天池也。
+\begin{equation}\tag*{(123)}
+ p(y|\mathbf{x}) = \frac{p(\mathbf{x},y)}{p(\mathbf{x})}=
+\frac{p(\mathbf{x}|y)p(y)}{p(\mathbf{x})}
+\end{equation}
+
+吾生也有涯,而知也无涯。以有涯随无涯,殆已!已而为知者,殆而已矣!为善无近名,为
+恶无近刑,缘督以为经,可以保身,可以全生,可以养亲,可以尽年。
+
+\subsection{线性规划}
+庖丁为文惠君解牛,手之所触,肩之所倚,足之所履,膝之所倚,砉然响然,奏刀騞然,莫
+不中音,合于桑林之舞,乃中经首之会。
+\begin{table}[ht]
+\centering
+ \centering
+ \caption*{表~1\hskip1em 这是手动编号但不出现在索引中的一个表格例子。}
+ \label{tab:badtabular3}
+ \begin{tabular}[c]{|c|m{0.8in}|c|c|c|c|c|}\hline
+ \multicolumn{2}{|c|}{Network Topology} & \# of nodes &
+ \multicolumn{3}{c|}{\# of clients} & Server \\\hline
+ GT-ITM & Waxman Transit-Stub & 600 &
+ \multirow{2}{2em}{2\%}&
+ \multirow{2}{2em}{10\%}&
+ \multirow{2}{2em}{50\%}&
+ \multirow{2}{1.2in}{Max. Connectivity}\\\cline{1-3}
+ \multicolumn{2}{|c|}{Inet-2.1} & 6000 & & & &\\\hline
+ \multirow{2}{1in}{Xue} & Rui & Ni &\multicolumn{4}{c|}{\multirow{2}*{\thuthesis}}\\\cline{2-3}
+ & \multicolumn{2}{c|}{ABCDEF} &\multicolumn{4}{c|}{} \\\hline
+\end{tabular}
+\end{table}
+
+文惠君曰:“嘻,善哉!技盖至此乎?”庖丁释刀对曰:“臣之所好者道也,进乎技矣。始臣之
+解牛之时,所见无非全牛者;三年之后,未尝见全牛也;方今之时,臣以神遇而不以目视,
+官知止而神欲行。依乎天理,批大郤,导大窾,因其固然。技经肯綮之未尝,而况大坬乎!
+良庖岁更刀,割也;族庖月更刀,折也;今臣之刀十九年矣,所解数千牛矣,而刀刃若新发
+于硎。彼节者有间而刀刃者无厚,以无厚入有间,恢恢乎其于游刃必有余地矣。是以十九年
+而刀刃若新发于硎。虽然,每至于族,吾见其难为,怵然为戒,视为止,行为迟,动刀甚微
+,謋然已解,如土委地。提刀而立,为之而四顾,为之踌躇满志,善刀而藏之。”
+
+文惠君曰:“善哉!吾闻庖丁之言,得养生焉。”
+
+
+\subsection{非线性规划}
+孔子与柳下季为友,柳下季之弟名曰盗跖。盗跖从卒九千人,横行天下,侵暴诸侯。穴室枢
+户,驱人牛马,取人妇女。贪得忘亲,不顾父母兄弟,不祭先祖。所过之邑,大国守城,小
+国入保,万民苦之。孔子谓柳下季曰:“夫为人父者,必能诏其子;为人兄者,必能教其弟
+。若父不能诏其子,兄不能教其弟,则无贵父子兄弟之亲矣。今先生,世之才士也,弟为盗
+跖,为天下害,而弗能教也,丘窃为先生羞之。丘请为先生往说之。”
+\begin{figure}[h]
+ \centering
+ \includegraphics{hello.eps}
+ \caption*{图~1\hskip1em 这是手动编号但不出现索引中的图片的例子。}
+ \label{tab:badfigure3}
+\end{figure}
+
+柳下季曰:“先生言为人父者必能诏其子,为人兄者必能教其弟,若子不听父之诏,弟不受
+兄之教,虽今先生之辩,将奈之何哉?且跖之为人也,心如涌泉,意如飘风,强足以距敌,
+辩足以饰非。顺其心则喜,逆其心则怒,易辱人以言。先生必无往。”
+
+孔子不听,颜回为驭,子贡为右,往见盗跖。
+
+\subsection{整数规划}
+盗跖乃方休卒徒大山之阳,脍人肝而餔之。孔子下车而前,见谒者曰:“鲁人孔丘,闻将军
+高义,敬再拜谒者。”谒者入通。盗跖闻之大怒,目如明星,发上指冠,曰:“此夫鲁国之
+巧伪人孔丘非邪?为我告之:尔作言造语,妄称文、武,冠枝木之冠,带死牛之胁,多辞缪
+说,不耕而食,不织而衣,摇唇鼓舌,擅生是非,以迷天下之主,使天下学士不反其本,妄
+作孝弟,而侥幸于封侯富贵者也。子之罪大极重,疾走归!不然,我将以子肝益昼餔之膳。”
+
+
+\chapter{其它附录}
+前面两个附录主要是给本科生做例子。其它附录的内容可以放到这里,当然如果你愿意,可
+以把这部分也放到独立的文件中,然后将其~\verb|\input| 到主文件中。 \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/data/chap01.tex b/Master/texmf-dist/doc/latex/thuthesis/example/data/chap01.tex
new file mode 100644
index 00000000000..c447358902a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/data/chap01.tex
@@ -0,0 +1,525 @@
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
+
+\chapter{带~English 的标题}
+\label{cha:intro}
+
+这是~\thuthesis{} 的示例文档,基本上覆盖了模板中所有格式的设置。建议大家在使用模
+板之前,除了阅读《\thuthesis{}用户手册》,这个示例文档也最好能看一看。
+
+小老鼠偷吃热凉粉;短长虫环绕矮高粱。\footnote{韩愈(768-824),字退之,河南河阳(
+ 今河南孟县)人,自称郡望昌黎,世称韩昌黎。幼孤贫刻苦好学,德宗贞元八年进士。曾
+ 任监察御史,因上疏请免关中赋役,贬为阳山县令。后随宰相裴度平定淮西迁刑部侍郎,
+ 又因上表谏迎佛骨,贬潮州刺史。做过吏部侍郎,死谥文公,故世称韩吏部、韩文公。是
+ 唐代古文运动领袖,与柳宗元合称韩柳。诗力求险怪新奇,雄浑重气势。}
+
+
+\section{封面相关}
+封面的例子请参看~cover.tex。主要符号表参看~denation.tex,附录和个人简历分别参看~appendix01.tex
+和~resume.tex。里面的命令都非常简单,一看即会。\footnote{你说还是看不懂?怎么会呢?}
+
+\section{字体命令}
+\label{sec:first}
+
+苏轼(1037-1101):北宋文学家、书画家。字子瞻,号东坡居士,眉州眉山(今属四川)人
+。苏洵子。嘉佑进士。神宗时曾任祠部员外郎,因反对王安石新法而求外职,任杭州通判,
+知密州、徐州、湖州。后以作诗“谤讪朝廷” 罪贬黄州。哲宗时任翰林学士,曾出知杭州
+、颖州等,官至礼部尚书。后又贬谪惠州、儋州。北还后第二年病死常州。南宋时追谥文忠
+。与父洵弟辙,合称“三苏”。在政治上属于旧党,但也有改革弊政的要求。其文汪洋恣肆
+,明白畅达, 为“唐宋八大家”之一。其诗清新豪健,善用夸张比喻,在艺术表现方面独
+具风格。少数诗篇也能反映民间疾苦,指责统治者的奢侈骄纵。词开豪放一派,对后代很有
+影响。《念奴娇·赤壁怀古》、《水调歌头·丙辰中秋》传诵甚广。
+
+{\kai 坡仙擅长行书、楷书,取法李邕、徐浩、颜真卿、杨凝式,而能自创新意。用笔丰腴
+ 跌宕,有天真烂漫之趣。与蔡襄、黄庭坚、米芾并称“宋四家”。能画竹,学文同, 也
+ 喜作枯木怪石。论画主张“神似”,认为“论画以形似,见与儿童邻”;高度评价“诗中
+ 有画,画中有诗”的艺术造诣。诗文有《东坡七集》等。存世书迹有《答谢民师论文帖》
+ 、《祭黄几道文》、《前赤壁赋》、《黄州寒食诗帖》等。 画迹有《枯木怪石图》、《
+ 竹石图》等。}
+
+{\fs 易与天地准,故能弥纶天地之道。仰以观於天文,俯以察於地理,是故知幽明之故。原
+ 始反终,故知死生之说。精气为物,游魂为变,是故知鬼神之情状。与天地相似,故不违
+ 。知周乎万物,而道济天下,故不过。旁行而不流,乐天知命,故不忧。安土敦乎仁,故
+ 能爱。范围天地之化而不过,曲成万物而不遗,通乎昼夜之道而知,故神无方而易无体。}
+
+{\you 有天地,然后万物生焉。盈天地之间者,唯万物,故受之以屯;屯者盈也,屯者物之
+ 始生也。物生必蒙,故受之以蒙;蒙者蒙也,物之穉也。物穉不可不养也,故受之以需;
+ 需者饮食之道也。饮食必有讼,故受之以讼。讼必有众起,故受之以师;师者众也。众必
+ 有所比,故受之以比;比者比也。比必有所畜也,故受之以小畜。物畜然后有礼,故受之
+ 以履。}
+
+{\hei 履而泰,然后安,故受之以泰;泰者通也。物不可以终通,故受之以否。物不可以终
+ 否,故受之以同人。与人同者,物必归焉,故受之以大有。有大者不可以盈,故受之以谦
+ 。有大而能谦,必豫,故受之以豫。豫必有随,故受之以随。以喜随人者,必有事,故受
+ 之以蛊;蛊者事也。}
+
+{\li 有事而后可大,故受之以临;临者大也。物大然后可观,故受之以观。可观而后有所合
+ ,故受之以噬嗑;嗑者合也。物不可以苟合而已,故受之以贲;贲者饰也。致饰然后亨,
+ 则尽矣,故受之以剥;剥者剥也。物不可以终尽,剥穷上反下,故受之以复。复则不妄矣
+ ,故受之以无妄。}
+
+{\song 有无妄然后可畜,故受之以大畜。物畜然后可养,故受之以颐;颐者养也。不养则不可动,
+故受之以大过。物不可以终过,故受之以坎;坎者陷也。陷必有所丽,故受之以离;离者丽
+也。}
+
+\section{表格样本}
+\label{chap1:sample:table}
+
+\subsection{基本表格}
+\label{sec:basictable}
+
+模板中关于表格的宏包有三个:~\textsf{booktabs}、\textsf{array} 和
+~\textsf{longtabular}, 命令有一个~\verb|\hlinewd|。三线表可以用
+~\textsf{booktabs} 提供的~\verb|\toprule|、\verb|\midrule| 和~\verb|\bottomrule|。它
+们与~\textsf{longtable} 能很好的配合使用。如果表格比较简单的话可以直接用命令~\verb|hlinewd{xpt}| 控制。
+\begin{table}[htb]
+ \centering
+ \begin{minipage}[t]{0.8\linewidth} % 如果想在表格中使用脚注,minipage是个不错的办法
+ \caption[模板文件。]{模板文件。如果表格的标题很长,那么在表格索引中就会很不美
+ 观,所以要像~chapter 那样在前面用中括号写一个简短的标题。这个标题会出现在索
+ 引中。}
+ \label{tab:template-files}
+ \begin{tabular*}{\linewidth}{lp{10cm}}
+ \toprule[1.5pt]
+ {\hei 文件名} & {\hei 描述} \\\midrule[1pt]
+ thuthesis.ins & \LaTeX{} 安装文件,docstrip\footnote{表格中的脚注} \\
+ thuthesis.dtx & 所有的一切都在这里面\footnote{再来一个}。\\
+ thuthesis.cls & 模板类文件。\\
+ thuthesis.cfg & 模板配置文。cls 和~cfg 由前两个文件生成。\\
+ thubib.bst & 参考文献~Bibtex 样式文件。\\
+ thutils.sty & 常用的包和命令写在这里,减轻主文件的负担。\\
+ \bottomrule[1.5pt]
+ \end{tabular*}
+ \end{minipage}
+\end{table}
+
+首先来看一个最简单的表格。表~\ref{tab:template-files} 列举了本模板主要文件及其功
+能。请大家注意三线表中各条线对应的命令。这个例子还展示了如何在表格中正确使用脚注
+。由于~\LaTeX{} 本身不支持在表格中使用~\verb|\footnote|,所以我们不得不将表格放在小页中,
+而且最好将表格的宽度设置为小页的宽度,这样脚注看起来才更美观。
+
+\subsection{复杂表格}
+\label{sec:complicatedtable}
+
+我们经常会在表格下方标注数据来源,或者对表格里面的条目进行解释。前面的脚注是一种
+不错的方法,如果你不喜欢脚注。那么完全可以在表格后面自己写注释,比如表
+~\ref{tab:tabexamp1}。
+\begin{table}[h]
+ \centering
+ \caption{复杂表格示例~1。}
+ \label{tab:tabexamp1}
+ \begin{minipage}[t]{0.8\textwidth}
+ \begin{tabularx}{\linewidth}{|l|X|X|X|X|}
+ \hline
+ \multirow{2}*{\backslashbox{x}{y}} & \multicolumn{2}{c|}{First Half} & \multicolumn{2}{c|}{Second Half}\\\cline{2-5}
+ & 1st Qtr &2nd Qtr&3rd Qtr&4th Qtr \\ \hline
+ East$^{*}$ & 20.4& 27.4& 90& 20.4 \\
+ West$^{**}$ & 30.6 & 38.6 & 34.6 & 31.6 \\ \hline
+ \end{tabularx}\\[2pt]
+ \footnotesize 注:数据来源《\thuthesis{} 使用手册》。\\
+ *:东部\\
+ **:西部
+ \end{minipage}
+\end{table}
+
+此外,表~\ref{tab:tabexamp1} 同时还演示了另外两个功能:1)通过~\textsf{tabularx} 的
+~\texttt{|X|} 扩展实现表格自动放大;2)通过命令~\verb|\backslashbox| 在表头部分
+插入反斜线。
+
+
+浮动体的并排放置一般有两种情况:1)二者没有关系,为两个独立的浮动体;2)二者隶属
+于同一个浮动体。对表格来说并排表格既可以像图~\ref{tab:parallel1}、图
+~\ref{tab:parallel2} 使用小页环境,也可以如图~\ref{tab:subtable} 使用子表格来做。
+图的例子参见第~\ref{sec:multifig} 节。
+\begin{table}
+\noindent\begin{minipage}{0.5\textwidth}
+\centering
+\caption{第一个并排子表格。}
+\label{tab:parallel1}
+\begin{tabular}{p{2cm}p{2cm}}
+\toprule[1.5pt]
+111 & 222 \\\midrule[1pt]
+222 & 333 \\\bottomrule[1.5pt]
+\end{tabular}
+\end{minipage}
+\begin{minipage}{0.5\textwidth}
+\centering
+\caption{第二个并排子表格。}
+\label{tab:parallel2}
+\begin{tabular}{p{2cm}p{2cm}}
+\toprule[1.5pt]
+111 & 222 \\\midrule[1pt]
+222 & 333 \\\bottomrule[1.5pt]
+\end{tabular}
+\end{minipage}
+\end{table}
+\begin{table}
+\centering
+\caption{并排子表格。}
+\label{tab:subtable}
+\subfloat[第一个子表格。]{
+\begin{tabular}{p{2cm}p{2cm}}
+\toprule[1.5pt]
+111 & 222 \\\midrule[1pt]
+222 & 333 \\\bottomrule[1.5pt]
+\end{tabular}}\hskip2cm
+\subfloat[第二个子表格]{
+\begin{tabular}{p{2cm}p{2cm}}
+\toprule[1.5pt]
+111 & 222 \\\midrule[1pt]
+222 & 333 \\\bottomrule[1.5pt]
+\end{tabular}}
+\end{table}
+
+不可否认~\LaTeX{} 的表格功能没有想象中的那么强大,不过只要你足够认真,足够细致,那么
+同样可以排出来非常复杂非常漂亮的表格。请参看表~\ref{tab:tabexamp2}。
+\begin{table}[hb]
+ \centering\dawu[1.3]
+ \caption{复杂表格示例~2。}
+ \label{tab:tabexamp2}
+ \begin{tabular}[c]{|c|m{0.8in}|c|c|c|c|c|}\hline
+ \multicolumn{2}{|c|}{Network Topology} & \# of nodes &
+ \multicolumn{3}{c|}{\# of clients} & Server \\\hline
+ GT-ITM & Waxman Transit-Stub & 600 &
+ \multirow{2}{2em}{2\%}&
+ \multirow{2}{2em}{10\%}&
+ \multirow{2}{2em}{50\%}&
+ \multirow{2}{1.2in}{Max. Connectivity}\\\cline{1-3}
+ \multicolumn{2}{|c|}{Inet-2.1} & 6000 & & & &\\\hline
+ \multirow{2}{1in}{Xue} & Rui & Ni &\multicolumn{4}{c|}{\multirow{2}*{\thuthesis}}\\\cline{2-3}
+ & \multicolumn{2}{c|}{ABCDEF} &\multicolumn{4}{c|}{} \\\hline
+\end{tabular}
+\end{table}
+
+如果您要排版的表格长度超过一页,那么推荐使用~\textsf{longtable} 或者
+~\textsf{supertabular} 宏包,模板对~\textsf{longtable} 进行了相应的设置,所以用起
+来可能简单一些。表~\ref{tab:performance} 就是~\textsf{longtable} 的简单示例。
+\begin{longtable}[c]{crrrrrr}
+\caption{实验数据。}\label{tab:performance}\\
+\endfirsthead
+\multicolumn{7}{c}{续表~\thetable\hskip1em 标题}\\
+\hline
+\endhead
+\hline
+\multicolumn{7}{r}{续下页}
+\endfoot
+\endlastfoot
+\toprule[1.5pt]
+ 测试程序 & \multicolumn{1}{c}{正常运行} & \multicolumn{1}{c}{同步} & \multicolumn{1}{c}{检查点} & \multicolumn{1}{c}{卷回恢复}
+& \multicolumn{1}{c}{进程迁移} & \multicolumn{1}{c}{检查点} \\
+& \multicolumn{1}{c}{时间~(s)}& \multicolumn{1}{c}{时间~(s)}&
+\multicolumn{1}{c}{时间~(s)}& \multicolumn{1}{c}{时间~(s)}& \multicolumn{1}{c}{
+ 时间~(s)}& 文件(KB)\\\midrule[1pt]
+CG.A.2 & 23.05 & 0.002 & 0.116 & 0.035 & 0.589 & 32491 \\
+CG.A.4 & 15.06 & 0.003 & 0.067 & 0.021 & 0.351 & 18211 \\
+CG.A.8 & 13.38 & 0.004 & 0.072 & 0.023 & 0.210 & 9890 \\
+CG.B.2 & 867.45 & 0.002 & 0.864 & 0.232 & 3.256 & 228562 \\
+CG.B.4 & 501.61 & 0.003 & 0.438 & 0.136 & 2.075 & 123862 \\
+CG.B.8 & 384.65 & 0.004 & 0.457 & 0.108 & 1.235 & 63777 \\
+MG.A.2 & 112.27 & 0.002 & 0.846 & 0.237 & 3.930 & 236473 \\
+MG.A.4 & 59.84 & 0.003 & 0.442 & 0.128 & 2.070 & 123875 \\
+MG.A.8 & 31.38 & 0.003 & 0.476 & 0.114 & 1.041 & 60627 \\
+MG.B.2 & 526.28 & 0.002 & 0.821 & 0.238 & 4.176 & 236635 \\
+MG.B.4 & 280.11 & 0.003 & 0.432 & 0.130 & 1.706 & 123793 \\
+MG.B.8 & 148.29 & 0.003 & 0.442 & 0.116 & 0.893 & 60600 \\
+LU.A.2 & 2116.54 & 0.002 & 0.110 & 0.030 & 0.532 & 28754 \\
+LU.A.4 & 1102.50 & 0.002 & 0.069 & 0.017 & 0.255 & 14915 \\
+LU.A.8 & 574.47 & 0.003 & 0.067 & 0.016 & 0.192 & 8655 \\
+LU.B.2 & 9712.87 & 0.002 & 0.357 & 0.104 & 1.734 & 101975 \\
+LU.B.4 & 4757.80 & 0.003 & 0.190 & 0.056 & 0.808 & 53522 \\
+LU.B.8 & 2444.05 & 0.004 & 0.222 & 0.057 & 0.548 & 30134 \\
+EP.A.2 & 123.81 & 0.002 & 0.010 & 0.003 & 0.074 & 1834 \\
+EP.A.4 & 61.92 & 0.003 & 0.011 & 0.004 & 0.073 & 1743 \\
+EP.A.8 & 31.06 & 0.004 & 0.017 & 0.005 & 0.073 & 1661 \\
+EP.B.2 & 495.49 & 0.001 & 0.009 & 0.003 & 0.196 & 2011 \\
+EP.B.4 & 247.69 & 0.002 & 0.012 & 0.004 & 0.122 & 1663 \\
+EP.B.8 & 126.74 & 0.003 & 0.017 & 0.005 & 0.083 & 1656 \\
+\bottomrule[1.5pt]
+\end{longtable}
+
+\subsection{其它}
+\label{sec:tableother}
+
+\begin{table}[ht]
+\centering
+ \begin{minipage}{0.45\linewidth}
+ \centering
+ \caption*{表~1.111\hskip1em 这是一个手动编号,不出现在索引中的坏表格。}
+ \label{tab:badtabular}
+ \begin{picture}(150,50)
+ \framebox(150,50)[c]{\thuthesis}
+ \end{picture}
+ \end{minipage}\hfill
+ \begin{minipage}{0.45\linewidth}
+ \centering
+ \begin{picture}(150,50)
+ \framebox(150,50)[c]{薛瑞尼}
+ \end{picture}
+ \caption*{Figure~1.111\hskip1em 这是一个手动编号,不出现在索引中的坏图。}
+ \label{tab:badfigure}
+ \end{minipage}
+\end{table}
+
+有的同学不想让某个表格或者图片出现在索引里面,那么请使用命令~\verb|\caption*{}|,
+这个命令不会给表格编号,也就是出来的只有标题文字而没有“表~XX”,“图~XX”,否则
+索引里面序号不连续就显得不伦不类,这也是~\LaTeX{} 里星号命令默认的规则。
+
+有这种需求的多是本科同学的英文资料翻译部分,如果你觉得附录中英文原文中的表格和图
+片显示成“ 表”和“图”很不协调的话,一个很好的办法就是用~\verb|\caption*|,参数
+随便自己写,比如不守规矩的表~1.111 和图~1.111 能满足这种特殊需要(可以参看附录部
+分)。
+
+如果你的确想让它编号,但又不想让它出现在索引中的话,那就自己看看代码改一改吧,我
+目前不打算给模板增加这种另类命令。
+
+最后,虽然大家不一定会独立使用小页,但是关于小页中的脚注还是有必要提一下。请看下
+面的例子。
+
+\begin{minipage}[t]{\linewidth-2\parindent}
+ 柳宗元,字子厚(773-819),河东(今永济县)人\footnote{山西永济水饺。},是唐代
+ 杰出的文学家,哲学家,同时也是一位政治改革家。与韩愈共同倡导唐代古文运动,并称
+ 韩柳\footnote{唐宋八大家之首二位。}。
+\end{minipage}\\[-5pt]
+
+唐朝安史之乱后,宦官专权,藩镇割据,土地兼并日渐严重,社会生产破坏严重,民不聊生
+。柳宗元对这种社会现实极为不满,他积极参加了王叔文领导的“永济革新”,并成为这一
+运动的中坚人物。他们革除弊政,打击权奸,触犯了宦官和官僚贵族利益,在他们的联合反
+扑下,改革失败了,柳宗元被贬为永州司马。
+
+\section{定理环境}
+\label{sec:theorem}
+
+给大家演示一下各种和证明有关的环境:
+
+\begin{assumption}
+待月西厢下,迎风户半开;隔墙花影动,疑是玉人来。
+\begin{eqnarray}
+ \label{eq:eqnxmp}
+ c & = & a^2 - b^2\\
+ & = & (a+b)(a-b)
+\end{eqnarray}
+\end{assumption}
+
+千辛万苦,历尽艰难,得有今日。然相从数千里,未曾哀戚。今将渡江,方图百年欢笑,如
+何反起悲伤?(引自《杜十娘怒沉百宝箱》)
+
+\begin{definition}
+子曰:「道千乘之国,敬事而信,节用而爱人,使民以时。」
+\end{definition}
+
+千古第一定义!问世间、情为何物,只教生死相许?天南地北双飞客,老翅几回寒暑。欢乐趣,离别苦,就中更有痴儿女。
+君应有语,渺万里层云,千山暮雪,只影向谁去?
+
+横汾路,寂寞当年箫鼓,荒烟依旧平楚。招魂楚些何嗟及,山鬼暗谛风雨。天也妒,未信与,莺儿燕子俱黄土。
+千秋万古,为留待骚人,狂歌痛饮,来访雁丘处。
+
+\begin{proposition}
+ 曾子曰:「吾日三省吾身 \pozhehao 为人谋而不忠乎?与朋友交而不信乎?传不习乎?」
+\end{proposition}
+
+多么凄美的命题啊!其日牛马嘶,新妇入青庐,奄奄黄昏后,寂寂人定初,我命绝今日,
+魂去尸长留,揽裙脱丝履,举身赴清池,府吏闻此事,心知长别离,徘徊庭树下,自挂东南
+枝。
+
+\begin{remark}
+天不言自高,水不言自流。
+\begin{gather*}
+\begin{split}
+\varphi(x,z)
+&=z-\gamma_{10}x-\gamma_{mn}x^mz^n\\
+&=z-Mr^{-1}x-Mr^{-(m+n)}x^mz^n
+\end{split}\\[6pt]
+\begin{align} \zeta^0&=(\xi^0)^2,\\
+\zeta^1 &=\xi^0\xi^1,\\
+\zeta^2 &=(\xi^1)^2,
+\end{align}
+\end{gather*}
+\end{remark}
+
+天尊地卑,乾坤定矣。卑高以陈,贵贱位矣。 动静有常,刚柔断矣。方以类聚,物以群分,
+吉凶生矣。在天成象,在地成形,变化见矣。鼓之以雷霆,润之以风雨,日月运行,一寒一
+暑,乾道成男,坤道成女。乾知大始,坤作成物。乾以易知,坤以简能。易则易知,简则易
+从。易知则有亲,易从则有功。有亲则可久,有功则可大。可久则贤人之德,可大则贤人之
+业。易简,而天下矣之理矣;天下之理得,而成位乎其中矣。
+
+\begin{axiom}
+两点间直线段距离最短。
+\begin{align}
+x&\equiv y+1\pmod{m^2}\\
+x&\equiv y+1\mod{m^2}\\
+x&\equiv y+1\pod{m^2}
+\end{align}
+\end{axiom}
+
+《彖曰》:大哉乾元,万物资始,乃统天。云行雨施,品物流形。大明始终,六位时成,时乘六
+龙以御天。乾道变化,各正性命,保合大和,乃利贞。首出庶物,万国咸宁。
+
+《象曰》:天行健,君子以自强不息。潜龙勿用,阳在下也。见龙再田,德施普也。终日乾乾,
+反复道也。或跃在渊,进无咎也。飞龙在天,大人造也。亢龙有悔,盈不可久也。用九,天
+德不可为首也。   
+
+\begin{lemma}
+《猫和老鼠》是我最爱看的动画片。
+\begin{multline*}\tag*{[a]} % 这个不出现在索引中
+\int_a^b\biggl\{\int_a^b[f(x)^2g(y)^2+f(y)^2g(x)^2]
+ -2f(x)g(x)f(y)g(y)\,dx\biggr\}\,dy \\
+ =\int_a^b\biggl\{g(y)^2\int_a^bf^2+f(y)^2
+ \int_a^b g^2-2f(y)g(y)\int_a^b fg\biggr\}\,dy
+\end{multline*}
+\end{lemma}
+
+行行重行行,与君生别离。相去万余里,各在天一涯。道路阻且长,会面安可知。胡马依北
+风,越鸟巢南枝。相去日已远,衣带日已缓。浮云蔽白日,游子不顾返。思君令人老,岁月
+忽已晚。 弃捐勿复道,努力加餐饭。
+
+\begin{theorem}\label{the:theorem1}
+犯我强汉者,虽远必诛\hfill \pozhehao 陈汤(汉)
+\end{theorem}
+\begin{subequations}
+\begin{align}
+y & = 1 \\
+y & = 0
+\end{align}
+\end{subequations}
+道可道,非常道。名可名,非常名。无名天地之始;有名万物之母。 故常无,欲以观其妙;
+常有,欲以观其徼。此两者,同出而异名,同谓之玄。玄之又玄,众妙之门。上善若水。水
+善利万物而不争,处众人之所恶,故几于道。曲则全,枉则直,洼则盈,敝则新,少则多,
+多则惑。 人法地,地法天,天法道,道法自然。知人者智,自知者明。胜人者有力,自胜
+者强。知足者富。强行者有志。不失其所者久。死而不亡者寿。
+
+\begin{proof}
+燕赵古称多感慨悲歌之士。董生举进士,连不得志于有司,怀抱利器,郁郁适兹土,吾
+知其必有合也。董生勉乎哉?
+
+夫以子之不遇时,苟慕义强仁者,皆爱惜焉,矧燕、赵之士出乎其性者哉!然吾尝闻
+风俗与化移易,吾恶知其今不异于古所云邪?聊以吾子之行卜之也。董生勉乎哉?
+
+吾因子有所感矣。为我吊望诸君之墓,而观于其市,复有昔时屠狗者乎?为我谢
+曰:“明天子在上,可以出而仕矣!” \hfill\pozhehao 韩愈《送董邵南序》
+\end{proof}
+
+\begin{corollary}
+ 四川话配音的《猫和老鼠》是世界上最好看最好听最有趣的动画片。
+\begin{alignat}{3}
+V_i & =v_i - q_i v_j, & \qquad X_i & = x_i - q_i x_j,
+ & \qquad U_i & = u_i,
+ \qquad \text{for $i\ne j$;}\label{eq:B}\\
+V_j & = v_j, & \qquad X_j & = x_j,
+ & \qquad U_j & u_j + \sum_{i\ne j} q_i u_i.
+\end{alignat}
+\end{corollary}
+
+迢迢牵牛星,皎皎河汉女。
+纤纤擢素手,札札弄机杼。
+终日不成章,泣涕零如雨。
+河汉清且浅,相去复几许。
+盈盈一水间,脉脉不得语。
+
+\begin{example}
+ 大家来看这个例子。
+\begin{equation}
+\label{ktc}
+\left\{\begin{array}{l}
+\nabla f({\mbox{\boldmath $x$}}^*)-\sum\limits_{j=1}^p\lambda_j\nabla g_j({\mbox{\boldmath $x$}}^*)=0\\[0.3cm]
+\lambda_jg_j({\mbox{\boldmath $x$}}^*)=0,\quad j=1,2,\cdots,p\\[0.2cm]
+\lambda_j\ge 0,\quad j=1,2,\cdots,p.
+\end{array}\right.
+\end{equation}
+\end{example}
+
+\begin{exercise}
+ 清列出~Andrew S. Tanenbaum 和~W. Richard Stevens 的所有著作。
+\end{exercise}
+
+\begin{conjecture} \textit{Poincare Conjecture} If in a closed three-dimensional
+ space, any closed curves can shrink to a point continuously, this space can be
+ deformed to a sphere.
+\end{conjecture}
+
+\begin{problem}
+ 回答还是不回答,是个问题。
+\end{problem}
+
+如何引用定理~\ref{the:theorem1} 呢?加上~\verb|label| 使用~\verb|ref| 即可。
+
+\section{参考文献}
+\label{sec:bib}
+当然参考文献可以直接写~bibitem,虽然费点功夫,但是好控制,各种格式可以自己随意改
+写。
+
+本模板推荐使用~BIB\TeX,样式文件为~thubib.bst,基本符合学校的参考文献格式(如专利
+等引用未加详细测试)。看看这个例子,关于书的\cite{tex, companion, ColdSources},还有这些\cite{Krasnogor2004e, clzs, zjsw},关于杂志的\cite{ELIDRISSI94,
+ MELLINGER96, SHELL02},硕士论文\cite{zhubajie, metamori2004},博士论文
+\cite{shaheshang, FistSystem01},会议论文\cite{DPMG},技术报告\cite{NPB2}。中文参
+考文献\cite{cnarticle}应增加~\texttt{lang=``chinese''}~字段,以便进行相应处理。另
+外,这个~bst~对中文文献\cite{cnproceed}的支持并不是十全十美,如果有不如意的地方,
+请手动修改~bbl 文件。
+
+有时候不想要上标,那么可以这样~\onlinecite{shaheshang},这个非常重要。
+
+\section{公式}
+\label{sec:equation}
+贝叶斯公式如式~(\ref{equ:chap1:bayes}),其中~$p(y|\mathbf{x})$ 为后验;
+$p(\mathbf{x})$ 为先验;分母~$p(\mathbf{x})$ 为归一化因子。
+\begin{equation}
+\label{equ:chap1:bayes}
+p(y|\mathbf{x}) = \frac{p(\mathbf{x},y)}{p(\mathbf{x})}=
+\frac{p(\mathbf{x}|y)p(y)}{p(\mathbf{x})}
+\end{equation}
+
+论文里面公式越多,\TeX{} 就越~happy。再看一个~\textsf{amsmath} 的例子:
+\newcommand{\envert}[1]{\left\lvert#1\right\rvert}
+\begin{equation}\label{detK2}
+\det\mathbf{K}(t=1,t_1,\dots,t_n)=\sum_{I\in\mathbf{n}}(-1)^{\envert{I}}
+\prod_{i\in I}t_i\prod_{j\in I}(D_j+\lambda_jt_j)\det\mathbf{A}
+^{(\lambda)}(\overline{I}|\overline{I})=0.
+\end{equation}
+
+前面定理示例部分列举了很多公式环境,可以说把常见的情况都覆盖了,大家在写公式的时
+候一定要好好看~\textsf{amsmath} 的文档,并参考模板中的用法:
+\begin{multline*}\tag{[b]} % 这个出现在索引中的
+\int_a^b\biggl\{\int_a^b[f(x)^2g(y)^2+f(y)^2g(x)^2]
+ -2f(x)g(x)f(y)g(y)\,dx\biggr\}\,dy \\
+ =\int_a^b\biggl\{g(y)^2\int_a^bf^2+f(y)^2
+ \int_a^b g^2-2f(y)g(y)\int_a^b fg\biggr\}\,dy
+\end{multline*}
+
+其实还可以看看这个多级规划:
+\begin{equation}\label{bilevel}
+\left\{\begin{array}{l}
+\max\limits_{{\mbox{\footnotesize\boldmath $x$}}} F(x,y_1^*,y_2^*,\cdots,y_m^*)\\[0.2cm]
+\mbox{subject to:}\\[0.1cm]
+\qquad G(x)\le 0\\[0.1cm]
+\qquad(y_1^*,y_2^*,\cdots,y_m^*)\mbox{ solves problems }(i=1,2,\cdots,m)\\[0.1cm]
+\qquad\left\{\begin{array}{l}
+ \max\limits_{{\mbox{\footnotesize\boldmath $y_i$}}}f_i(x,y_1,y_2,\cdots,y_m)\\[0.2cm]
+ \mbox{subject to:}\\[0.1cm]
+ \qquad g_i(x,y_1,y_2,\cdots,y_m)\le 0.
+ \end{array}\right.
+\end{array}\right.
+\end{equation}
+这些跟规划相关的公式都来自于刘宝碇老师《不确定规划》的课件。
+
+\section{破则号}
+\label{sec:pozhehao}
+
+中文破则号为一个两个字宽垂直居中的直线,输入法直接得到的破则号是两个断开的小短线
+(——),这看起来不舒服。所以我定义了一个破则号的命令~\verb|\pozhehao|,请看几个
+例子:
+\begin{itemize}
+\item 这是一个 \pozhehao 破则号
+ \begin{enumerate}[(1)]
+ \item 同时也可以看看
+ \item 不同列表环境的间距
+ \end{enumerate}
+\item 看起来这个要好一些
+\item 破则 \pozhehao 号就说到这里。
+\end{itemize}
+
+默认的列表环境上下间距很大,模板将其重定义为~\textsf{paralist} 中的压缩环境,看起
+来要好一些。如果还是不满意,自己也可以调~\verb|\itemsep| 的。\textsf{paralist} 还
+可以方便的指定标签的样式。
+
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/data/chap02.tex b/Master/texmf-dist/doc/latex/thuthesis/example/data/chap02.tex
new file mode 100644
index 00000000000..23151e8910f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/data/chap02.tex
@@ -0,0 +1,111 @@
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
+
+\chapter{中华人民共和国}
+\label{cha:china}
+
+\section{其它例子}
+\label{sec:other}
+
+在第~\ref{cha:intro} 章中我们学习了贝叶斯公式~(\ref{equ:chap1:bayes}),这里我们复
+习一下:
+\begin{equation}
+\label{equ:chap2:bayes}
+p(y|\mathbf{x}) = \frac{p(\mathbf{x},y)}{p(\mathbf{x})}=
+\frac{p(\mathbf{x}|y)p(y)}{p(\mathbf{x})}
+\end{equation}
+
+\subsection{绘图}
+\label{sec:draw}
+
+本模板不再预先装载任何绘图包(如~\textsf{pstricks} 等),完全由你自己来
+决定。个人觉得~\textsf{pgf} 不错,不依赖于~ps。此外还有很多针对
+~\LaTeX{} 的~GUI 作图工具,如~XFig(jFig),WinFig,Tpx,Ipe,Dia,
+Inkscape,LaTeXPiX,jPicEdt,jaxdraw 等等。
+
+\subsection{插图}
+\label{sec:graphs}
+
+强烈推荐《\LaTeXe 插图指南》!关于子图形的使用细节请参看~\textsf{subfig} 的说明文档。
+
+\subsubsection{一个图形}
+\label{sec:onefig}
+一般图形都是处在浮动环境中。之所以称为浮动是指最终排版效果图形的位置不一定与源文
+件中的位置对应\footnote{This is a feature of \LaTeX, but not a bug!},这也是刚使
+用~\LaTeX{} 同学遇到的问题。如果要强制固定浮动图形的位置,请使用~\textsf{float}
+宏包,它提供了~\texttt{[H]} 参数,比如图~\ref{fig:xfig1}。
+\begin{figure}[H] % use float package if you want it here
+ \centering
+ \includegraphics{hello.eps}
+ \caption{利用~Xfig 绘制图。}
+ \label{fig:xfig1}
+\end{figure}
+
+大学之道,在明明德,在亲民,在止于至善。知止而后有定;定而后能静;静而后能安;安
+而后能虑;虑而后能得。物有本末,事有终始。知所先后,则近道矣。古之欲明明德于天
+下者,先治其国;欲治其国者,先齐其家;欲齐其家者,先修其身;欲修其身者,先正其心;
+欲正其心者,先诚其意;欲诚其意者,先致其知;致知在格物。物格而后知至;知至而后
+意诚;意诚而后心正;心正而后身 修;身修而后家齐;家齐而后国治;国治而后天下
+平。自天子以至于庶人,壹是皆以修身为本。其本乱而未治者 否矣。其所厚者薄,而其所
+薄者厚,未之有也!
+
+\hfill \pozhehao《大学》
+
+
+\subsubsection{多个图形}
+\label{sec:multifig}
+
+如果多个图形相互独立,并不共用一个图形计数器,那么用~\verb|minipage| 或者
+~\verb|parbox| 就可以。否则,请参看图~\ref{fig:big1},它包含两个小图,分别是图
+~\ref{fig:subfig1} 和图~\ref{fig:subfig2}。推荐使用~\verb|\subfloat|,不要再用~\verb|\subfigure|
+和~\verb|\subtable|。
+\begin{figure} %[h]
+ \centering%
+ \subfloat[第一个小图形]{%
+ \label{fig:subfig1}
+ \includegraphics{hello.eps}}%
+ \subfloat[第二个小图形。如果标题很长的话,它会自动换行,这个~caption 就是这样的例子。]{%
+ \label{fig:subfig2}
+ \includegraphics{hello.eps}}
+ \caption{包含子图形的大图形。}
+ \label{fig:big1}
+\end{figure}
+
+古之学者必有师。师者,所以传道受业解惑也。人非生而知之者,孰能无惑?惑而不从
+师, 其为惑也,终不解矣。生乎吾前,其闻道也固先乎吾,吾从而师之;生乎吾後,其闻
+道也亦先乎吾,吾从而师之。吾师道也,夫庸知其年之先後生於吾乎!是故无贵无贱无长无
+少,道之所存,师之所存也。
+
+嗟乎!师道之不传也久矣,欲人之无惑也难矣。古之圣人,其出人也远矣,犹且从师而问
+焉;今之众人,其下圣人也亦远矣,而耻学於师。是故圣益圣,愚益愚。圣人之所以为
+圣,愚人之所以为愚,其皆出於此乎?爱其子,择师而教之,於其身也,则耻师焉,惑
+焉。彼童子之师,授之书而习其句读者,非吾所谓传其道、解其惑者也。句读之不知,惑之
+不解,或师焉, 或不焉,小学而大遗,吾未见其明也。巫医、乐师、百工之人不耻相师,
+士大夫之族曰“师”曰“弟子”之云者,则群聚而笑之。问之,则曰:彼与彼年相若
+也,道相似也,位卑则足羞,官盛则近谀。呜呼!师道之不复,可知矣。巫医、乐师、百
+工之人。吾子不齿,今其智乃反不能及,其可怪也欤!圣人无常师。孔子师郯子、苌子、师
+襄、老聃。郯子之徒,其贤不及孔子。孔子曰:“三人行,必有我师。”是故弟子不必不如
+师,师不必贤於弟子。闻道有先後,术业有专攻,如是而已。
+
+如果要把编号的两个图形并排,那么小页就非常有用了:
+\begin{figure}
+\begin{minipage}{0.45\textwidth}
+ \includegraphics{hello.eps}
+ \caption{并排第一个图。}
+ \label{fig:parallel1}
+\end{minipage}\hfill
+\begin{minipage}{0.45\textwidth}
+ \includegraphics{hello.eps}
+ \caption{并排第二个图。}
+ \label{fig:parallel2}
+\end{minipage}
+\end{figure}
+
+李氏子蟠,年十七,好古文、六艺,经传皆通习之,不拘於时,学於余。余嘉其能行古
+道,作师说以贻之。
+
+\hfill \pozhehao 韩愈(唐)
+
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/data/cover.tex b/Master/texmf-dist/doc/latex/thuthesis/example/data/cover.tex
new file mode 100644
index 00000000000..35898c73672
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/data/cover.tex
@@ -0,0 +1,71 @@
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
+\secretlevel{绝密} \secretyear{2100}
+
+\ctitle{清华大学学位论文~\LaTeX\ 模板使用示例文档}
+% 根据自己的情况选,不用这样复杂
+\makeatletter
+\ifthu@bachelor\relax\else
+ \ifthu@doctor
+ \cdegree{工学博士}
+ \else
+ \ifthu@master
+ \cdegree{工学硕士}
+ \fi
+ \fi
+\fi
+\makeatother
+
+
+\cdepartment[计算机]{计算机科学与技术系}
+\cmajor{计算机科学与技术}
+\cauthor{薛瑞尼}
+\csupervisor{郑纬民教授}
+% 如果没有副指导老师或者联合指导老师,把下面两行相应的删除即可。
+\cassosupervisor{陈文光副教授}
+\ccosupervisor{某某某教授}
+% 日期自动生成,如果你要自己写就改这个cdate
+%\cdate{\CJKdigits{\the\year}年\CJKnumber{\the\month}月}
+
+\etitle{An Introduction to \LaTeX{} Thesis Template of Tsinghua University}
+% \edegree{Doctor of Science}
+\edegree{Doctor of Engineering}
+\emajor{Computer Science and Technology}
+\eauthor{Xue Ruini}
+\esupervisor{Professor Zheng Weimin}
+\eassosupervisor{Chen Wenguang}
+% 这个日期也会自动生成,你要改么?
+% \edate{December, 2005}
+
+% 定义中英文摘要和关键字
+\begin{cabstract}
+ 本文介绍清华大学论文模板~\thuthesis{} 的使用方法。本模板基本符合学校的本科、硕
+ 士、博士论文格式要求。
+
+ 本文的创新点主要有:
+ \begin{itemize}
+ \item 用例子来解释模板的使用方法;
+ \item 用废话来填充无关紧要的部分;
+ \item 一边学习摸索一边编写新代码。
+ \end{itemize}
+\end{cabstract}
+
+\ckeywords{\TeX, \LaTeX, CJK, 模板, 排版, 论文}
+
+\begin{eabstract}
+ This article presents \thuthesis, the thesis template for Tsinghua University,
+ and briefly introduces the usage.
+
+ The template has been verified by the academic administration of Tsinghua
+ University. It fulfils the corresponding format requirements, and can generate
+ either bachelor, master or doctor thesis easily. You can simply insert your
+ information and main text into the right places in this example.
+
+ Generally, the abstract and the key words should be consistent with the
+ Chinese version.
+\end{eabstract}
+
+\ekeywords{\TeX, \LaTeX, CJK, template, typesetting, thesis}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/data/denotation.tex b/Master/texmf-dist/doc/latex/thuthesis/example/data/denotation.tex
new file mode 100644
index 00000000000..3f78ad141f8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/data/denotation.tex
@@ -0,0 +1,32 @@
+\begin{denotation}
+
+\item[HPC] 高性能计算~(High Performance Computing)
+\item[cluster] 集群
+\item[Itanium] 安腾
+\item[SMP] 对称多处理
+\item[API] 应用程序编程接口
+\item[PI] 聚酰亚胺
+\item[MPI] 聚酰亚胺模型化合物,N-苯基邻苯酰亚胺
+\item[PBI] 聚苯并咪唑
+\item[MPBI] 聚苯并咪唑模型化合物,N-苯基苯并咪唑
+\item[PY] 聚吡咙
+\item[PMDA-BDA] 均苯四酸二酐与联苯四胺合成的聚吡咙薄膜
+\item[$\Delta G$] 活化自由能~(Activation Free Energy)
+\item [$\chi$] 传输系数~(Transmission Coefficient)
+\item[$E$] 能量
+\item[$m$] 质量
+\item[$c$] 光速
+\item[$P$] 概率
+\item[$T$] 时间
+\item[$v$] 速度
+\item[劝 学] 君子曰:学不可以已。青,取之于蓝,而青于蓝;冰,水为之,而寒于水。
+ 木直中绳。(车柔)以为轮,其曲中规。虽有槁暴,不复挺者,(车柔)使之然也。故木
+ 受绳则直, 金就砺则利,君子博学而日参省乎己,则知明而行无过矣。吾尝终日而思
+ 矣, 不如须臾之所学也;吾尝(足齐)而望矣,不如登高之博见也。登高而招,臂非加
+ 长也, 而见者远; 顺风而呼, 声非加疾也,而闻者彰。假舆马者,非利足也,而致
+ 千里;假舟楫者,非能水也,而绝江河, 君子生非异也,善假于物也。积土成山,风雨
+ 兴焉;积水成渊,蛟龙生焉;积善成德,而神明自得,圣心备焉。故不积跬步,无以至千
+ 里;不积小流,无以成江海。骐骥一跃,不能十步;驽马十驾,功在不舍。锲而舍之,朽
+ 木不折; 锲而不舍,金石可镂。蚓无爪牙之利,筋骨之强,上食埃土,下饮黄泉,用心
+ 一也。蟹六跪而二螯,非蛇鳝之穴无可寄托者,用心躁也。\pozhehao{} 荀况
+\end{denotation}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/data/resume.tex b/Master/texmf-dist/doc/latex/thuthesis/example/data/resume.tex
new file mode 100644
index 00000000000..2871aee5e49
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/data/resume.tex
@@ -0,0 +1,45 @@
+\begin{resume}
+
+ \resumeitem{个人简历}
+
+ 1978~年~4~月~30~日出生于花果山水帘洞,
+ 1996~年~9~月考入花果山大学中文专业,
+ 2000~年~6~月本科毕业并获得文学学士学位,
+ 同年~9~月免试保送清华大学应用魔法系攻读博士至今。
+
+ \resumeitem{目前已正式发表的论文}
+
+ \begin{enumerate}[{$[$}1{$]$}]
+ \item Harry Potter, Bajie Zhu, Sanzang Tang, Coupling
+ Computation of the BEM and FDM in 3D Spirit Extraction,
+ Interplanetarian Conference on Super-Sudden Motion, 2001,
+ p.716 - 719(SCI).
+
+ \item
+ 哈里波特,猪八戒,唐三藏,三维寄生红孩儿边界元提取的一种预条件
+ 方法,花果山炼金术月刊,2002, Vol38(16), p.207-209.
+
+ \item Harry Potter, Bajie Zhu, Sanzang Tang, A weighted
+ average formula for efficient inductance and resistance
+ extraction, International Conference on God 2003, Vol.2,
+ p996 - 999.
+
+ \item 孙悟空,猪八戒,哈里波特,牛魔王,观世音,
+ 六维边界元金箍棒参数提取中的有效预条件方法,蚕丝洞大学学报,2004,
+ Vol.44(1), p.45-49(EI).
+ \end{enumerate}
+
+
+ \resumeitem{目前已被录用文章}
+
+ \begin{enumerate}[{$[$}1{$]$}]
+ \item Wukong Sun, Harry Potter, Sanzang Tang,
+ Fast 6-D Impedance Extraction of Spirit,
+ International Conference on Communication, Circuit and Systems, 2005, 已录用.
+
+ \item
+ 孙悟空,哈里波特,唐三藏,观世音,基于三味真火的快速三维钛
+ 箍棒提取算法,炼金术学报,已录用(EI).
+ \end{enumerate}
+
+\end{resume}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/figures/hello.eps b/Master/texmf-dist/doc/latex/thuthesis/example/figures/hello.eps
new file mode 100644
index 00000000000..cc9802eee7a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/figures/hello.eps
@@ -0,0 +1,111 @@
+%!PS-Adobe-2.0 EPSF-2.0
+%%Title: hello.fig
+%%Creator: fig2dev Version 3.2 Patchlevel 4
+%%CreationDate: Mon Nov 14 12:04:18 2005
+%%For: xrn@gentoo ()
+%%BoundingBox: 0 0 182 51
+%%Magnification: 1.0000
+%%EndComments
+/$F2psDict 200 dict def
+$F2psDict begin
+$F2psDict /mtrx matrix put
+/col-1 {0 setgray} bind def
+/col0 {0.000 0.000 0.000 srgb} bind def
+/col1 {0.000 0.000 1.000 srgb} bind def
+/col2 {0.000 1.000 0.000 srgb} bind def
+/col3 {0.000 1.000 1.000 srgb} bind def
+/col4 {1.000 0.000 0.000 srgb} bind def
+/col5 {1.000 0.000 1.000 srgb} bind def
+/col6 {1.000 1.000 0.000 srgb} bind def
+/col7 {1.000 1.000 1.000 srgb} bind def
+/col8 {0.000 0.000 0.560 srgb} bind def
+/col9 {0.000 0.000 0.690 srgb} bind def
+/col10 {0.000 0.000 0.820 srgb} bind def
+/col11 {0.530 0.810 1.000 srgb} bind def
+/col12 {0.000 0.560 0.000 srgb} bind def
+/col13 {0.000 0.690 0.000 srgb} bind def
+/col14 {0.000 0.820 0.000 srgb} bind def
+/col15 {0.000 0.560 0.560 srgb} bind def
+/col16 {0.000 0.690 0.690 srgb} bind def
+/col17 {0.000 0.820 0.820 srgb} bind def
+/col18 {0.560 0.000 0.000 srgb} bind def
+/col19 {0.690 0.000 0.000 srgb} bind def
+/col20 {0.820 0.000 0.000 srgb} bind def
+/col21 {0.560 0.000 0.560 srgb} bind def
+/col22 {0.690 0.000 0.690 srgb} bind def
+/col23 {0.820 0.000 0.820 srgb} bind def
+/col24 {0.500 0.190 0.000 srgb} bind def
+/col25 {0.630 0.250 0.000 srgb} bind def
+/col26 {0.750 0.380 0.000 srgb} bind def
+/col27 {1.000 0.500 0.500 srgb} bind def
+/col28 {1.000 0.630 0.630 srgb} bind def
+/col29 {1.000 0.750 0.750 srgb} bind def
+/col30 {1.000 0.880 0.880 srgb} bind def
+/col31 {1.000 0.840 0.000 srgb} bind def
+
+end
+save
+newpath 0 51 moveto 0 0 lineto 182 0 lineto 182 51 lineto closepath clip newpath
+-269.0 153.7 translate
+1 -1 scale
+
+/cp {closepath} bind def
+/ef {eofill} bind def
+/gr {grestore} bind def
+/gs {gsave} bind def
+/sa {save} bind def
+/rs {restore} bind def
+/l {lineto} bind def
+/m {moveto} bind def
+/rm {rmoveto} bind def
+/n {newpath} bind def
+/s {stroke} bind def
+/sh {show} bind def
+/slc {setlinecap} bind def
+/slj {setlinejoin} bind def
+/slw {setlinewidth} bind def
+/srgb {setrgbcolor} bind def
+/rot {rotate} bind def
+/sc {scale} bind def
+/sd {setdash} bind def
+/ff {findfont} bind def
+/sf {setfont} bind def
+/scf {scalefont} bind def
+/sw {stringwidth} bind def
+/tr {translate} bind def
+/tnt {dup dup currentrgbcolor
+ 4 -2 roll dup 1 exch sub 3 -1 roll mul add
+ 4 -2 roll dup 1 exch sub 3 -1 roll mul add
+ 4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
+ bind def
+/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
+ 4 -2 roll mul srgb} bind def
+/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
+/$F2psEnd {$F2psEnteredState restore end} def
+
+$F2psBegin
+10 setmiterlimit
+0 slj 0 slc
+ 0.06000 0.06000 sc
+%
+% Fig objects follow
+%
+%
+% here starts figure with depth 50
+% Polyline
+7.500 slw
+n 4570 1725 m 4495 1725 4495 2475 75 arcto 4 {pop} repeat
+ 4495 2550 7425 2550 75 arcto 4 {pop} repeat
+ 7500 2550 7500 1800 75 arcto 4 {pop} repeat
+ 7500 1725 4570 1725 75 arcto 4 {pop} repeat
+ cp gs col0 s gr
+/NewCenturySchlbk-BoldItalic ff 300.00 scf sf
+4650 2025 m
+gs 1 -1 sc (Hello, Xfig!) col9 sh gr
+/Times-Italic ff 150.00 scf sf
+6825 2475 m
+gs 1 -1 sc (LittleLeo) col18 sh gr
+% here ends figure;
+$F2psEnd
+rs
+showpage
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/figures/hello.fig b/Master/texmf-dist/doc/latex/thuthesis/example/figures/hello.fig
new file mode 100644
index 00000000000..8b50f5cdd02
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/figures/hello.fig
@@ -0,0 +1,13 @@
+#FIG 3.2
+Landscape
+Center
+Inches
+Letter
+100.00
+Single
+-2
+1200 2
+2 4 0 1 0 7 50 -1 -1 0.000 0 0 5 0 0 5
+ 7500 2550 7500 1725 4495 1725 4495 2550 7500 2550
+4 0 9 50 -1 27 20 0.0000 4 270 1605 4650 2025 Hello, Xfig!\001
+4 0 18 50 -1 1 10 0.0000 4 105 585 6825 2475 LittleLeo\001
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/main.pdf b/Master/texmf-dist/doc/latex/thuthesis/example/main.pdf
new file mode 100644
index 00000000000..00721b64271
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/main.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/main.tex b/Master/texmf-dist/doc/latex/thuthesis/example/main.tex
new file mode 100644
index 00000000000..82199808dc4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/main.tex
@@ -0,0 +1,64 @@
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
+
+\documentclass[doctor]{thuthesis}
+% \documentclass[bachelor|master|doctor,dvips|dvipdfm,secret,openany|openright,arialtoc,arialtitle]{thuthesis}
+
+% 所有其它可能用到的包都统一放到这里了,可以根据自己的实际添加或者删除。
+\usepackage{thutils}
+
+% 你可以在这里修改配置文件中的定义,导言区可以使用中文。
+% \def\myname{薛瑞尼}
+
+\begin{document}
+
+% 定义所有的eps文件在 figures 子目录下
+\graphicspath{{figures/}}
+
+
+%%% 封面部分
+\frontmatter
+\input{data/cover}
+\makecover
+
+% 目录
+\tableofcontents
+
+% 符号对照表
+\input{data/denotation}
+
+
+%%% 正文部分
+\mainmatter
+\include{data/chap01}
+\include{data/chap02}
+
+
+%%% 其它部分
+\backmatter
+% 插图索引
+\listoffigures
+% 表格索引
+\listoftables
+% 公式索引
+\listofequations
+
+
+% 参考文献
+\bibliographystyle{thubib}
+\bibliography{ref/refs}
+
+
+% 致谢
+\include{data/ack}
+
+% 附录
+\begin{appendix}
+\input{data/appendix01}
+\end{appendix}
+
+% 个人简历
+\include{data/resume}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/msmake.cmd b/Master/texmf-dist/doc/latex/thuthesis/example/msmake.cmd
new file mode 100644
index 00000000000..7bc188678a8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/msmake.cmd
@@ -0,0 +1,264 @@
+@rem -*- mode: conf; encoding: chinese-gbk-dos; -*-
+@rem ----------------------------------------------------------------------
+@rem START OF FILE
+@rem ----------------------------------------------------------------------
+@rem
+@rem Filename: msmake.cmd
+@rem Author: Fred Qi
+@rem Created: 2006-05-20 14:09:57(+0800)
+@rem Version:
+@rem
+@rem ----------------------------------------------------------------------
+@rem COMMENTARY
+@rem ----------------------------------------------------------------------
+@rem
+@rem 使用说明:
+@rem
+@rem 1.配置thuthesis宏包
+@rem msmake setup
+@rem   在当前目录下生成thuthesis宏包及说明文档thuthesis.pdf
+@rem
+@rem 2.生成示例文档
+@rem msmake [shuji|main|all|other]
+@rem   在当前目录下生成示例文档,或其中的一部分,或其他用户指定文档
+@rem 如果当前目录下无thuthesis.cls,将自动根据thuthesis.ins生成。
+@rem   - shuji 仅生成书脊
+@rem   - main 仅生成main.pdf
+@rem   - all 生成书脊和main.pdf,默认选项
+@rem   - other 用户指定的tex文件名,由该tex文件产生pdf文档
+@rem
+@rem 3.清理目录
+@rem msmake clean [other]
+@rem   清理当前目录下由thuthesis宏包生成的文件,具体包括
+@rem 宏包及其说明文档thuthesis.{cls,cfg,dvi,ps,pdf}
+@rem 示例文档shuji.pdf, main.{dvi,ps,pdf,aux,etc.}
+@rem 如果用户指定其他文件名,不删除main.*,而删除
+@rem other.{dvi,ps,pdf,lo?,aux,bbl,blg,out* toc thm}
+@rem
+@rem 4.辅助图形图像文件格式转换命令:
+@rem msmake epspdf [param]
+@rem 将当前目录下所有eps文件用epstopdf转为pdf格式
+@rem msmake bmpeps [param]
+@rem 将当前目录下所有bmp,jpg,png文件用bmeps转为eps格式
+@rem 以上两个命令中,[param]可以由用户指定转换程序所用的参数。
+@rem
+@rem ----------------------------------------------------------------------
+@rem CHANGE LOG
+@rem ----------------------------------------------------------------------
+@rem Last-Updated: 2006-05-26 11:47:40(+0800) [by Fred Qi@lab]
+@rem Update #: 312
+@rem ----------------------------------------------------------------------
+@rem 2006-05-20 16:53:38(+0800) Fred Qi@lab
+@rem msmake.cmd initial. prepaired for thuthesis 2.5
+@rem
+@rem
+@rem
+@rem ----------------------------------------------------------------------
+@rem ----------------------------------------------------------------------
+
+@echo off
+set thupkg=thuthesis
+set tmpfile=_clstemptest_
+set ltxparam=-quiet -c-style-errors
+if /i {%1}=={clean} goto clean
+if /i {%1}=={epspdf} goto epspdf
+if /i {%1}=={bmpeps} goto bmpeps
+if /i {%1}=={setup} goto setup
+goto testcls
+:clean
+@rem =============================================
+@rem 清除文档生成过程中产生的临时文件
+@rem =============================================
+echo 删除thuthesis宏包相关文件
+del /f /q %thupkg%.cls %thupkg%.cfg
+echo 删除thuthesis宏包的说明文档
+del /f /q %thupkg%.dvi %thupkg%.ps %thupkg%.pdf
+echo 删除shuji.pdf
+del /f /q shuji.pdf shuji.ps shuji.dvi
+echo 删除示例文档main.pdf及生成该文档过程中产生的文件
+if {%2}=={} (set targ=main) else (set targ=%2)
+del /f %targ%.dvi %targ%.ps %targ%.pdf
+del /f %targ%.lo? %targ%.aux %targ%.bbl %targ%.blg
+del /f %targ%.out* %targ%.toc %targ%.thm
+del /f data\*.aux
+echo 删除其它临时文件
+del /f /q *.log *.aux *.glo *.idx *.ilg *.ind *.out *.thm *.toc *.lot *.loe *.out.bak
+goto end
+@rem =============================================
+@rem 将当前目录下的eps文件转换为pdf格式
+@rem 需要用到epstopdf
+@rem =============================================
+:epspdf
+if /i {%2}=={} (
+ set conv=call epstopdf %%i
+) else (
+ set conv=call epstopdf %2 %%i
+)
+@echo on
+for %%i in (*.eps) do %conv%
+@echo off
+goto end
+@rem =============================================
+@rem 将当前目录下的bmp,jpg,png图形转换为eps格式
+@rem 需要用到bmeps
+@rem =============================================
+:bmpeps
+if /i {%2}=={} (set param=-c) else (set param=%2)
+set conv=call bmeps %param% %%i %%~ni.eps
+@echo on
+for %%i in (*.bmp *.jpg *.png) do %conv%
+@echo off
+goto end
+:testcls
+@rem =============================================
+echo 正在测试是否需要生成thuthesis宏包...
+@rem =============================================
+if not exist %thupkg%.cls goto presetup
+if not exist %thupkg%.cfg goto presetup
+goto choose
+@rem -----------------------------
+@rem this section of code is NOT used.
+echo \documentclass{%thupkg%}>%tmpfile%.tex
+echo \begin{document}>>%tmpfile%.tex
+echo \end{document}>>%tmpfile%.tex
+call latex %ltxparam% %tmpfile%.tex>nul
+IF ERRORLEVEL 1 (goto presetup) else goto choose
+@rem NOT used code block end.
+@rem -----------------------------
+:presetup
+@rem del /f /q %tmpfile%.*
+echo 您没有安装或配置好thuthesis宏包,
+echo 本程序试图重新生成并配置thuthesis宏包...
+:setup
+@rem =============================================
+@rem 生成thuthesis宏包及说明文档
+@rem =============================================
+if not exist %thupkg%.ins goto clserr4
+if exist %thupkg%.cls del /f /q %thupkg%.cls
+if exist %thupkg%.cfg del /f /q %thupkg%.cfg
+echo 正在生成%thupkg%宏包...
+call latex %ltxparam% %thupkg%.ins
+@rem IF errorlevel 1 goto clserr3
+echo 成功生成thuthesis宏包
+@rem ----------------------------------------------
+if not exist %thupkg%.dtx goto clserr2
+echo 正在生成%thupkg%宏包的说明文档...
+call latex %ltxparam% %thupkg%.dtx
+if errorlevel 1 goto clserr1
+call makeindex -s gind.ist -o %thupkg%.ind %thupkg%.idx
+if errorlevel 1 goto clserr1
+call makeindex -s gglo.ist -o %thupkg%.gls %thupkg%.glo
+if errorlevel 1 goto clserr1
+call latex %ltxparam% %thupkg%.dtx
+if errorlevel 1 goto clserr1
+call gbk2uni %thupkg%.out
+if errorlevel 1 goto clserr1
+call latex %ltxparam% %thupkg%.dtx
+if errorlevel 1 goto clserr1
+call dvips -Ppdf -G0 %thupkg%.dvi
+if errorlevel 1 goto clserr1
+call ps2pdf %thupkg%.ps
+if errorlevel 1 goto clserr1
+echo 成功生成thuthesis说明文档thuthesis.pdf
+@rem 清理说明文档生成过程中产生的临时文件
+del /f /q %thupkg%.log
+del /f /q %thupkg%.aux
+del /f /q %thupkg%.glo
+del /f /q %thupkg%.gls
+del /f /q %thupkg%.idx
+del /f /q %thupkg%.out
+del /f /q %thupkg%.out.bak
+del /f /q %thupkg%.ind
+del /f /q %thupkg%.ilg
+del /f /q %thupkg%.toc
+@rem del /f /q %thupkg%.dvi
+@rem del /f /q %thupkg%.ps
+goto choose
+@rem ----------------------------------------------
+:clserr2
+echo 没有找到thuthesis.dtx文件
+:clserr1
+echo 无法生成说明文档thuthesis.pdf
+goto end
+:clserr4
+echo 没有找到thuthesis.ins文件
+:clserr3
+echo 无法生成thuthesis宏包
+goto end
+:choose
+if /i {%1}=={setup} goto end
+set ltx=latex %ltxparam%
+if /i {%1}=={shuji} goto shuji
+if /i {%1}=={main} goto main
+if /i {%1}=={all} goto all
+if /i {%1}=={} (goto all) else goto other
+:dvips
+@rem =============================================
+@rem 使用latex->dvips->ps2pdf生成示例文档main.pdf
+@rem =============================================
+:other
+set targ=%2
+goto latex
+:all
+:shuji
+set targ=shuji
+set errmsg=pdflatex
+call pdflatex shuji.tex
+if errorlevel 1 goto error
+@rem set errmsg=dvipdfmx
+@rem dvipdfmx shuji.dvi
+@rem if errorlevel 1 goto error
+del /f /q %targ%.aux
+del /f /q %targ%.log
+del /f /q %targ%.out
+del /f /q %targ%.thm
+@rem del /f /q %targ%.dvi
+if /i {%1}=={shuji} goto end
+:main
+set targ=main
+goto latex
+:pdf
+@rem =============================================
+@rem 使用pdflatex生成示例文档main.pdf
+@rem =============================================
+@echo 未实现的功能。
+goto end
+:latex
+@rem =============================================
+@rem 生成示例文档
+@rem =============================================
+set errmsg=%ltx%
+call %ltx% %targ%
+if errorlevel 1 goto error
+set errmsg=bibtex
+call bibtex -quiet %targ%
+if errorlevel 1 goto error
+set errmsg=latex
+call %ltx% %targ%
+if errorlevel 1 goto error
+set errmsg=gbk2uni
+call gbk2uni %targ%
+if errorlevel 1 goto error
+set errmsg=latex
+call %ltx% %targ%
+if errorlevel 1 goto error
+if {%1}=={pdf} goto end
+set errmsg=dvips
+call dvips -Ppdf -G0 -ta4 %targ%.dvi
+if errorlevel 1 goto error
+set errmsg=ps2pdf
+call ps2pdf %targ%.ps
+if errorlevel 1 goto error
+goto end
+@rem =============================================
+@rem 示例文件生成过程中出错处理
+@rem =============================================
+:error
+echo 使用%errmsg%生成%targ%.pdf的过程中出错
+:end
+@rem =============================================
+@rem 执行结束
+@rem =============================================
+@rem ----------------------------------------------------------------------
+@rem END OF FILE
+@rem ----------------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/ref/refs.bib b/Master/texmf-dist/doc/latex/thuthesis/example/ref/refs.bib
new file mode 100644
index 00000000000..091323cc9cc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/ref/refs.bib
@@ -0,0 +1,178 @@
+@INCOLLECTION{Krasnogor2004e,
+ AUTHOR = {N. Krasnogor},
+ TITLE = {Towards robust memetic algorithms},
+ BOOKTITLE = {Recent Advances in Memetic Algorithms},
+ PUBLISHER = {Springer Berlin Heidelberg},
+ YEAR = {2004},
+ PAGES = {185-207},
+ EDITOR = {W.E. Hart and N. Krasnogor and J.E. Smith},
+ VOLUME = {166},
+ SERIES = {Studies in Fuzziness and Soft Computing},
+ ADDRESS = {New York},
+}
+
+@INCOLLECTION{zjsw,
+ AUTHOR = {班固},
+ TITLE = {苏武传},
+ BOOKTITLE = {传记散文英华},
+ PUBLISHER = {湖北人民出版社},
+ YEAR = {1998},
+ PAGES = {65-69},
+ EDITOR = {郑在瀛 and 汪超宏 and 周文复},
+ VOLUME = {2},
+ SERIES = {新古文观止丛书},
+ ADDRESS = {武汉},
+ lang = {zh},
+}
+
+
+@INBOOK{clzs,
+ AUTHOR = {阎真},
+ TITLE = {沧浪之水},
+ CHAPTER = {大人物还是讲人情的},
+ PAGES = {185-207},
+ PUBLISHER = {人民文学出版社},
+ YEAR = {2001},
+ lang = {zh},
+}
+
+@Book{tex,
+ author = "Donald E. Knuth",
+ title = "The {\TeX} Book",
+ publisher = "Addison-Wesley Publishing Company",
+ address = "Reading, MA",
+ year = 1989,
+ edition = "15th",
+}
+
+@Book{companion,
+ author = "Michel Goosens and Frank Mittelbach and Alexander Samarin",
+ title = "The {\LaTeX} Companion",
+ publisher = "Addison-Wesley Publishing Company",
+ address = "Reading, MA",
+ PAGES = "112--125",
+ year = 1994,
+}
+
+@ARTICLE{ELIDRISSI94,
+ AUTHOR = "{Chafik El Idrissi}, M. and {Roney}, A. and {Frigon}, C. and
+ {Larzilli{\`e}re}, M.",
+ TITLE = "Measurements of total kinetic-energy released to the {$N=2$}
+ dissociation limit of {H}$_2$ --- evidence of the dissociation
+ of very high vibrational {R}ydberg states of {H}$_2$ by
+ doubly-excited states",
+ JOURNAL = "Chemical Physics Letters",
+ PAGES = "260-266",
+ VOLUME = 224,
+ NUMBER = 10,
+ YEAR = 1994,
+}
+
+@ARTICLE{MELLINGER96,
+ AUTHOR = "Mellinger, A. and Vidal, C. R. and Jungen, Ch.",
+ TITLE = "Laser reduced fluorescence study of the carbon-monoxide nd
+ triplet {R}ydberg series-experimental results and multichannel
+ quantum-defect analysis",
+ JOURNAL = "J. Chem. Phys.",
+ PAGES = "8913-8921",
+ VOLUME = 104,
+ NUMBER = 5,
+ YEAR = 1996,
+}
+
+@ARTICLE{SHELL02,
+ AUTHOR = "Michael Shell",
+ TITLE = "How to Use the {IEEEtran \LaTeX} Class",
+ JOURNAL = "Journal of {\LaTeX} Class Files",
+ YEAR = 2002,
+ VOLUME = 12,
+ NUMBER = 4,
+ PAGES = "100-120"
+}
+
+@TechReport{NPB2,
+ title = {The {NAS} Parallel Benchmarks 2.0},
+ author = {Alex Woo and David Bailey and Maurice Yarrow and Wijngaart
+ Wijngaart and Tim Harris and William Saphir},
+ year = 1995,
+ month = dec # "~05",
+ institution = "The Pennsylvania State University CiteSeer Archives",
+ url = "http://www.nasa.org/"
+}
+
+@INPROCEEDINGS{DPMG,
+ author = {Kim, Sangbum and Woo, Namyoon and Yeom, Heon Y. and Park,
+ Taesoon and Park, Hyoungwoo},
+ title = {Design and {I}mplementation of {D}ynamic {P}rocess
+ {M}anagement for {G}rid-enabled {MPICH}},
+ booktitle = {the 10th European PVM/MPI Users' Group Conference},
+ year = 2003,
+ address = {Venice, Italy},
+ month = sep,
+}
+
+@INPROCEEDINGS{cnproceed,
+ author = {王重阳 and 黄药师 and 欧阳峰 and 洪七公 and 段皇帝},
+ title = {武林高手从入门到精通},
+ booktitle = {第~$N$~次华山论剑},
+ year = 2006,
+ address = {西安, 中国},
+ month = sep,
+ lang = "zh",
+}
+
+@ARTICLE{cnarticle,
+ AUTHOR = "贾宝玉 and 林黛玉 and 薛宝钗 and 贾探春",
+ TITLE = "论刘姥姥食量大如牛之现实意义",
+ JOURNAL = "红楼梦杂谈",
+ PAGES = "260--266",
+ VOLUME = 224,
+ YEAR = 1800,
+ LANG = "zh",
+}
+
+@MastersThesis{zhubajie,
+ author = {猪八戒},
+ title = {论流体食物的持久保存},
+ school = {广寒宫大学},
+ year = 2005,
+ address = {北京},
+ lang = "zh",
+}
+
+@PhdThesis{shaheshang,
+ author = {沙和尚},
+ title = {论流沙河的综合治理},
+ school = {清华大学},
+ year = 2005,
+ address = {北京},
+ lang = "zh",
+}
+
+@MastersThesis{metamori2004,
+ author = {Ashwin Raju Jeyakumar},
+ title = {Metamori: A library for Incremental File Checkpointing},
+ school = {Virgina Tech},
+ year = 2004,
+ month = jun # "~21",
+ address = {Blacksburg},
+}
+
+@PHDTHESIS{FistSystem01,
+ AUTHOR = "Erez Zadok",
+ TITLE = "{FiST: A System for Stackable File System Code Generation}",
+ YEAR = 2001,
+ MONTH = "May",
+ SCHOOL = "Computer Science Department, Columbia University",
+ ADDRESS = "USA"
+}
+
+@INBOOK{ColdSources,
+ AUTHOR = {P. Gr{\"o}ning and L. Nilsson and P. Ruffieux and R.
+ Clergereaux and O. Gr{\"o}ning},
+ TITLE = {Encyclopedia of Nanoscience and Nanotechnology},
+ pages = {547-579},
+ PUBLISHER = {American Scientific Publishers},
+ YEAR = 2004,
+ volume = 1,
+}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/shuji.pdf b/Master/texmf-dist/doc/latex/thuthesis/example/shuji.pdf
new file mode 100644
index 00000000000..10aa0766cf1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/shuji.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/shuji.tex b/Master/texmf-dist/doc/latex/thuthesis/example/shuji.tex
new file mode 100644
index 00000000000..c64637bc596
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/shuji.tex
@@ -0,0 +1,9 @@
+\documentclass[doctor]{thuthesis}
+\begin{document}
+\cauthor{薛~~瑞~~尼}
+
+\ctitle{没有英文的中文标题}
+\shuji
+
+\shuji[清华大学硕士~\hspace{0.2em}\raisebox{2pt}{\LaTeX}\hspace{-0.25em} 论文模板~\hspace{0.1em}\raisebox{2pt}{v\version}\hspace{-0.25em} 样例]
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/example/thutils.sty b/Master/texmf-dist/doc/latex/thuthesis/example/thutils.sty
new file mode 100644
index 00000000000..c3d83425d53
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/example/thutils.sty
@@ -0,0 +1,40 @@
+\ProvidesPackage{thutils}[2007/11/08 4.0 put any packages you would like to use here]
+
+% 处理数学公式中的黑斜体的宏包
+%\RequirePackage{bm}
+
+
+% 不同于~|\mathcal| or |\mathfrak| 之类的英文花体字体
+%\RequirePackage{mathrsfs}
+
+% 表格中支持跨行
+\RequirePackage{multirow}
+
+% 跨页表格
+%\RequirePackage{longtable}
+
+% 固定宽度的表格
+\RequirePackage{tabularx}
+
+% 表格中的反斜线
+\RequirePackage{slashbox}
+
+% 确定浮动对象的位置,可以使用~H,强制将浮动对象放到这里(可能效果很差)
+\RequirePackage{float}
+
+% 浮动图形控制宏包。
+% 允许上一个~section 的浮动图形出现在下一个~section 的开始部分
+% 该宏包提供处理浮动对象的~|\FloatBarrier| 命令,使所有未处
+% 理的浮动图形立即被处理。这三个宏包仅供参考,未必使用:
+ % \RequirePackage[below]{placeins}
+ % \RequirePackage{floatflt} % 图文混排用宏包
+ % \RequirePackage{rotating} % 图形和表格的控制旋转
+
+% 给自定义的宏后面自动加空白
+% \RequirePackage{xspace}
+
+
+% 定义自己常用的东西
+\newcommand{\china}{中华人民共和国}
+
+\endinput