From e409d1dee3be50818e789e45ec949a95770aa1b7 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 17 Nov 2007 21:08:48 +0000 Subject: new package thuthesis (-> publishers) git-svn-id: svn://tug.org/texlive/trunk@5488 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/thuthesis/Readme | 128 +++++ .../doc/latex/thuthesis/example/Makefile | 159 +++++++ .../doc/latex/thuthesis/example/data/ack.tex | 16 + .../latex/thuthesis/example/data/appendix01.tex | 248 ++++++++++ .../doc/latex/thuthesis/example/data/chap01.tex | 525 +++++++++++++++++++++ .../doc/latex/thuthesis/example/data/chap02.tex | 111 +++++ .../doc/latex/thuthesis/example/data/cover.tex | 71 +++ .../latex/thuthesis/example/data/denotation.tex | 32 ++ .../doc/latex/thuthesis/example/data/resume.tex | 45 ++ .../doc/latex/thuthesis/example/figures/hello.eps | 111 +++++ .../doc/latex/thuthesis/example/figures/hello.fig | 13 + .../doc/latex/thuthesis/example/main.pdf | Bin 0 -> 936087 bytes .../doc/latex/thuthesis/example/main.tex | 64 +++ .../doc/latex/thuthesis/example/msmake.cmd | 264 +++++++++++ .../doc/latex/thuthesis/example/ref/refs.bib | 178 +++++++ .../doc/latex/thuthesis/example/shuji.pdf | Bin 0 -> 146099 bytes .../doc/latex/thuthesis/example/shuji.tex | 9 + .../doc/latex/thuthesis/example/thutils.sty | 40 ++ .../texmf-dist/doc/latex/thuthesis/thuthesis.pdf | Bin 0 -> 766429 bytes 19 files changed, 2014 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/thuthesis/Readme create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/Makefile create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/data/ack.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/data/appendix01.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/data/chap01.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/data/chap02.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/data/cover.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/data/denotation.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/data/resume.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/figures/hello.eps create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/figures/hello.fig create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/main.pdf create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/main.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/msmake.cmd create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/ref/refs.bib create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/shuji.pdf create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/shuji.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/example/thutils.sty create mode 100644 Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/thuthesis/Readme b/Master/texmf-dist/doc/latex/thuthesis/Readme new file mode 100644 index 00000000000..bb3133c2ff7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/thuthesis/Readme @@ -0,0 +1,128 @@ +========== +What's it? +========== +ThuThesis is a LaTeX thesis template package for Tsinghua University in order to +make it easy to write thesises for either bachelor, master or doctor. ThuThesis +是清华大学学位论文LaTeX模板,支持本科、硕士、博士论文格式。 + + +======== +使用方法 +======== +1. 编译示例文档 + latex main + bibtex main + latex main + gbk2uni main # 可选 + latex main + dvips main.dvi + ps2pdf main.ps + + 说明:也可以使用pdflatex或dvipdfm(x)生成文档。 + +2. 编写自己的论文 + 参考示例文档: + main.tex 主控文档 + data/ 论文具体内容 + ref/ 参考文献目录 + figures/ 图片目录 + + +======== +如何升级 +======== +1. 下载新模板并解压缩 +2. 将thuthesis.cls, thuthesis.cfg, thubib.bst作相应替换即可。 + + +====================================== +Makefile Howto (by edyfox & littleleo) +====================================== +1. 获取帮助文档 + + make doc 得到 thuthesis.pdf,帮助文档,里面有详细的说明。 + +2. 生成示例文档 + + make thesis + +3. 生成书脊示例 + + make shuji + +附录: Makefile 命令详解: + +Makefile: + + 使用方法: + + make [{all|thesis|shuji|doc|clean|distclean}] \ + [METHOD={ps2pdf|dvipdfm}] \ + [TEXI2DVI=] + + 参数说明: + + make all 等于 make thesis && make shuji && make doc; + make cls 生成模板文件,相当于 make -f thesis.mak cls; + make thesis 生成论文,相当于 make -f thesis.mak; + make shuji 生成书脊,相当于 make -f shuji.mak; + make doc 生成使用说明书,相当于 make -f doc.mak; + make clean 表示清除除了 pdf 外的所有中间文件和目标文件; + make distclean 表示清除包括 pdf 在内的所有中间文件和目标文件。 + + METHOD 参数用来指定生成 pdf 的方式, + + METHOD=ps2pdf 表示使用 texi2dvi -> dvips ->ps2pdf 的方式生成 pdf; + METHOD=dvipdfm 表示使用 texi2dvi -> dvipdfm 的方式生成 pdf; + + 如果缺省,则采用 ps2pdf 方式。 + + TEXI2DVI 表示 texi2dvi 实用工具的文件名,该工具的作用是自动重复运行 + latex 若干遍,直至所有交叉引用都正确为止。在有的发行版中该工具的文件名 + 不叫 texi2dvi,譬如 CTeX 下的这个工具就叫 texify。遇到这种情况你可以在 + 命令行通过 TEXI2DVI=texify 命令指定使用其它的 texi2dvi 工具。 + + + +=========================== +msmake.cmd Howto (by Truel) +=========================== +1.配置thuthesis宏包 + + msmake setup +   在当前目录下生成thuthesis宏包及说明文档thuthesis.pdf + +2.生成示例文档 + + msmake [shuji|main|all|other] +   + 在当前目录下生成示例文档,或其中的一部分,或其他用户指定文档 + 如果当前目录下无thuthesis.cls,将自动根据thuthesis.ins生成。 +  - shuji 仅生成书脊 +  - main 仅生成main.pdf +  - all 生成书脊和main.pdf,默认选项 +  - other 用户指定的tex文件名,由该tex文件产生pdf文档 + +3.清理目录 + + msmake clean [other] + +  清理当前目录下由thuthesis宏包生成的文件,具体包括 + - 宏包及其说明文档thuthesis.{cls,cfg,dvi,ps,pdf} + - 示例文档shuji.pdf, main.{dvi,ps,pdf,aux,etc.} + - 其它临时文件 *.log *.aux *.glo *.idx *.ilg *.ind *.out *.thm *.toc *.lot *.loe *.out.bak + - 如果用户指定其他文件名,不删除main.*,而删除 other.{dvi,ps,pdf,lo?,aux,bbl,blg,out* toc thm} + +4.辅助图形图像文件格式转换命令: + + msmake epspdf [param] + + 将当前目录下所有eps文件用epstopdf转为pdf格式 + + msmake bmpeps [param] + + 将当前目录下所有bmp,jpg,png文件用bmeps转为eps格式 + + 以上两个命令中,param可以由用户指定转换程序所用的参数。 + +# $Id: Readme 117 2007-06-26 13:28:05Z littleleo $ 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="; \ + 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{Թ滮} +ҶΪĻݾţ֮֮У֮ģϥ֮УȻȻ൶dȻĪ +ɣ֮裬о֮ᡣ +\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} + +ĻݾԻգ˺Ҷ͵Ի֮ߵҲӡʼ֮ +ţ֮ʱ޷ȫţߣ֮δȫţҲ֮ʱĿӣ +ֹ֪СSUȻ֮δq +Ҳ¸Ҳ֮ʮӣǧţӣ· +ʡ˽м޺޺м䣬ֺֻбӡʮ +·ʡȻÿ壬ΪȻΪ䣬ΪֹΪ٣΢ +fȻѽ⣬ίءᵶΪ֮ĹˣΪ֮־Ƶ֮ + +ĻݾԻգҶ֮ԣɡ + + +\subsection{Թ滮} +¼Ϊѣ¼֮ԻšŴǧˣ£ֱѨ +ţȡ˸Ṵ̊ף˸ĸֵܣ档֮أسǣС +뱣֮ν¼ԻΪ˸ߣگӣΪߣܽ +گӣֲܽܣ޹ֵ֮ӡ֮ʿҲΪ +ţΪºܽҲΪ֮Ϊ˵֮ +\begin{figure}[h] + \centering + \includegraphics{hello.eps} + \caption*{ͼ~1\hskip1em ֶŵеͼƬӡ} + \label{tab:badfigure3} +\end{figure} + +¼ԻΪ˸߱گӣΪ߱ܽܣӲ֮گܲ +̣֮֮磬֮գ֮ΪҲӿȪƮ磬ǿԾУ +ηǡ˳ϲŭԡ + +ӲջΪԦӹΪңš + +\subsection{滮} +˷ͽɽ֮˸ζJ֮³ǰԻ³˿Ž +壬ٰߡ֮ͨŭĿǣָڣԻ˷³֮ +α˿аΪҸ֮ġ䣬֦ľ֮ڣţ֮в +˵ʳ֯£ҡ࣬Ƿǣ֮ʹѧʿ䱾 +ТܣڷҲ֮أ߹飡ȻҽӸJ֮š + + +\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dz򵥣һᡣ\footnote{˵ǿôأ} + +\section{} +\label{sec:first} + +1037-1101ѧҡ黭ҡհŶ¾ʿüüɽĴ +ӡӽʿʱԱɣ򷴶ʯ·ְκͨУ +֪ݡݡݡʫڨ͢ ݡʱκѧʿ֪ +ӱݵȣ顣ֱػݡݡڶ겡ݡʱ׷ +븸䭵ޣϳơաھɵҲиĸҪ +׳ Ϊΰ˴ҡ֮һʫºÿűַ +߷ʫƪҲܷӳ伲ָ࣬ͳߵݳ޽ݡʿһɣԺ +Ӱ졣ūڻšˮͷ㡣 + +{\kai ó顢飬ȡߡơ䡢ʽԴ⡣ñʷ + 崣֮Ȥ塢ͥᡢơļҡܻѧͬ Ҳ + ϲľʯۻšơΪۻƣͯڡ߶ۡʫ + лʫ衣ʫС߼ȡ鼣Слʦ + Ƽġǰڸݺʳʫȡ Сľʯͼ + ʯͼȡ} + +{\fs ׼֮ԹģԲ춵ǹ֪֮ʡԭ + ʼգ֪֮˵ΪλΪ䣬ǹ֪֮״ƣʲΥ + ֪ܺ£ʲж֪ʲǡغʣ + ܰΧ֮ţͨҹ֪֮޷塣} + +{\you أȻɡӯ֮ߣΨ֮ͣӯҲ֮ + ʼҲɣ֮ɣҲ֮aҲaɲҲ֮裻 + ʳ֮Ҳʳϣ֮ϡϱ𣬹֮ʦʦҲڱ + ȣ֮Աȣ߱ҲȱҲ֮СȻ񣬹֮ + ġ} + +{\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|DzòСҳУ +ýĿΪСҳĿȣעŸۡ + +\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| ڱͷ +뷴бߡ + + +IJŷһ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{} ıûеôǿ󣬲ֻҪ㹻棬㹻ϸ£ô +ͬųdzӷdzƯıο~\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} + +еͬѧijͼƬ棬ôʹ~\verb|\caption*{}| +ţҲdzֻбֶûС~XXͼ~XX +ŲԵòײ࣬Ҳ~\LaTeX{} ǺĬϵĹ + +ĶDZͬѧӢϷ벿֣ø¼Ӣԭеıͼ +Ƭʾɡ ͡ͼܲЭĻһܺõİ취~\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} + +ԻǬԪʼͳ졣ʩƷΡʼգλʱɣʱ +졣Ǭ仯ϴͣꡣ׳ + +ԻнǿϢDZãҲʩҲǬǬ +ҲԾԨ޾Ҳ죬ҲлڣӯɾҲþţ +²ΪҲ + +\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} +ɵdzdz֮ʼ֮ĸ ʳޣԹ +УԹ衣ߣͬͬν֮֮֮šˮˮ +֮񣬹ʼڵȫֱӯ£࣬ + ˷أط죬취Ȼ֪ǣ֪ʤʤ +ǿ֪߸ǿ־ʧ߾á١ + +\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} + +ǣţǣӺŮ +ߪ֣Ū̡ +ղ£ꡣ +Ӻdzȥ +ӯӯһˮ䣬 + +\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} + شDzشǸ⡣ +\end{problem} + +ö~\ref{the:theorem1} أ~\verb|label| ʹ~\verb|ref| ɡ + +\section{ο} +\label{sec:bib} +Ȼο׿ֱд~bibitemȻѵ㹦򣬵ǺÿƣָʽԼ +д + +ģƼʹ~BIB\TeXʽļΪ~thubib.bstѧУIJο׸ʽר +δϸԣӣ\cite{tex, companion, ColdSources}Щ\cite{Krasnogor2004e, clzs, zjsw}־\cite{ELIDRISSI94, + MELLINGER96, SHELL02}˶ʿ\cite{zhubajie, metamori2004}ʿ +\cite{shaheshang, FistSystem01}\cite{DPMG}\cite{NPB2}IJ +\cite{cnarticle}Ӧ~\texttt{lang=``chinese''}~ֶΣԱӦ +⣬~bst~\cite{cnproceed}ֲ֧ʮȫʮвĵط +ֶ޸~bbl ļ + +ʱҪϱ꣬ô~\onlinecite{shaheshang}dzҪ + +\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} еѹ +ҪһЩDz⣬ԼҲԵ~\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)WinFigTpxIpeDia +InkscapeLaTeXPiXjPicEdtjaxdraw ȵȡ + +\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} + +֮ѧ߱ʦʦߣԴҵҲ˷֪֮ߣ޻󣿻 +ʦ ΪҲղӡǰŵҲȺᣬӶʦ֮ᣬ +ҲȺᣬӶʦ֮ʦҲӹ֪֮ǹ޹޼޳ +٣֮棬ʦ֮Ҳ + +ൺʦ֮Ҳӣ֮޻Ҳӡ֮ʥˣҲԶӣҴʦ +ɣ֮ˣʥҲԶӣѧʦǹʥʥޡʥ֮Ϊ +ʥ֮ΪޣԳ춴˺ӣʦ֮Ҳʦɣ +ɡ֮ͯʦ֮ϰߣνҲ֪֮֮ +⣬ʦɣ ɣСѧţδҲҽʦٹ֮˲ʦ +ʿ֮ԻʦԻӡ֮ߣȺ۶Ц֮֮Ի +ҲҲλߣʢġغʦ֪֮ӡҽʦ +֮ˡӲݣ˷ܼɹҲ죣ʥ޳ʦʦ۰ӡӡʦ +塢۰֮ͽͲӡԻУʦǹʵӲز +ʦʦ춵ӡŵᣬҵרǶѡ + +ҪѱŵͼβţôСҳͷdzˣ +\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{ijijij} +% ԶɣҪԼд͸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 ÷ϻ޹ؽҪIJ֣ + \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 Binary files /dev/null and b/Master/texmf-dist/doc/latex/thuthesis/example/main.pdf 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} + + +%%% IJ +\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]ûָתõIJ +@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 = {ʳij־ñ}, + 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 Binary files /dev/null and b/Master/texmf-dist/doc/latex/thuthesis/example/shuji.pdf 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 diff --git a/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf new file mode 100644 index 00000000000..9edf8958721 Binary files /dev/null and b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf differ -- cgit v1.2.3