summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-01-11 22:12:17 +0000
committerKarl Berry <karl@freefriends.org>2016-01-11 22:12:17 +0000
commit4d5ecf8fcf4e6667025feb557ddbb30c9f671c7a (patch)
treeb4673eb7b310c02a8d5a222d5a654fdf0a9ebab0 /Master/texmf-dist/doc
parent8e4a709fa64caddcfe3600d3a8ba56826ef750e1 (diff)
thuthesis (11jan16)
git-svn-id: svn://tug.org/texlive/trunk@39351 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/README.md6
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/appendix01.tex28
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex18
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/cover.tex9
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/resume.tex61
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/dtx-style.sty174
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/figures/hello.eps111
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/figures/hello.fig13
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/figures/hello.pdfbin5259 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/latexmkrc7
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/main.pdfbin796245 -> 799346 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/main.tex52
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/shuji.pdfbin21353 -> 21562 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/shuji.tex4
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdfbin666062 -> 770042 bytes
16 files changed, 219 insertions, 266 deletions
diff --git a/Master/texmf-dist/doc/latex/thuthesis/README.md b/Master/texmf-dist/doc/latex/thuthesis/README.md
index 060e9ac17cf..9e8038934df 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/README.md
+++ b/Master/texmf-dist/doc/latex/thuthesis/README.md
@@ -47,9 +47,9 @@ ThuThesis为 <b>T</b>sing<b>h</b>ua <b>U</b>niversity <b>Thesis</b> LaTeX Templa
* `make thesis` 生成论文 main.pdf;
* `make shuji` 生成书脊 shuji.pdf;
* `make doc` 生成使用说明书 thuthesis.pdf;
-* `make clean` 删除 pdf 外的所有中间文件和目标文件;
-* `make cleanall` 删除包括 pdf 在内的所有中间文件和目标文件;
-* `make distclean` 表示清除包括 cls 在内的所有中间文件和目标文件。
+* `make clean` 删除示例文件的中间文件(不含main.pdf);
+* `make cleanall` 删除示例文件的中间文件和main.pdf;
+* `make distclean` 删除示例文件和模板的所有中间文件和PDF。
## 参数
* **METHOD**:指定生成 pdf 的方式,缺省采用 latexmk。
diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/appendix01.tex b/Master/texmf-dist/doc/latex/thuthesis/data/appendix01.tex
index cb0476875f5..d0bbcb534fa 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/appendix01.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/appendix01.tex
@@ -5,12 +5,16 @@
\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$^{[1]}$.
+
+\title{The title of the English paper}
+
+\textbf{Abstract:} As one of the most widely used techniques in operations
+research, \emph{ mathematical programming} is defined as a means of maximizing a
+quantity known as \emph{bjective 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$^{[1]}$.
It is impossible to cover in a single chapter every concept of mathematical
programming. This chapter introduces only the basic concepts and techniques of
@@ -173,14 +177,20 @@ the {\em branch-and-bound enumeration} developed by Balas (1965) and Dakin
\noindent{\itshape NOTE: These references are only for demonstration. They are
not real citations in the original text.}
-\begin{enumerate}[{$[$}1{$]$}]
+\begin{translationbib}
\item Donald E. Knuth. The \TeX book. Addison-Wesley, 1984. ISBN: 0-201-13448-9
\item Paul W. Abrahams, Karl Berry and Kathryn A. Hargreaves. \TeX\ for the
Impatient. Addison-Wesley, 1990. ISBN: 0-201-51375-7
\item David Salomon. The advanced \TeX book. New York : Springer, 1995. ISBN:0-387-94556-3
-\end{enumerate}
+\end{translationbib}
\chapter{外文资料的调研阅读报告或书面翻译}
+
+\title{英文资料的中文标题}
+
+{\heiti 摘要:} 本章为外文资料翻译内容。如果有摘要可以直接写上来,这部分好像没有
+明确的规定。
+
\section{单目标规划}
北冥有鱼,其名为鲲。鲲之大,不知其几千里也。化而为鸟,其名为鹏。鹏之背,不知其几
千里也。怒而飞,其翼若垂天之云。是鸟也,海运则将徙于南冥。南冥者,天池也。
@@ -233,7 +243,7 @@ the {\em branch-and-bound enumeration} developed by Balas (1965) and Dakin
跖,为天下害,而弗能教也,丘窃为先生羞之。丘请为先生往说之。”
\begin{figure}[h]
\centering
- \includegraphics{hello}
+ \includegraphics{thu-whole-logo}
\caption*{图~1\hskip1em 这是手动编号但不出现索引中的图片的例子}
\label{tab:badfigure3}
\end{figure}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex b/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex
index cd7f0005a3d..56993629715 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex
@@ -46,21 +46,21 @@
能爱。范围天地之化而不过,曲成万物而不遗,通乎昼夜之道而知,故神无方而易无体。}
% 非本科生一般用不到幼圆与隶书字体。需要的同学可以使用 ctex-fontset-thuthesis.def 文件
-{\ifcsname youyuan\endcsname\youyuan 有天地,然后万物生焉。盈天地之间者,唯万物,
- 故受之以屯;屯者盈也,屯者物之始生也。物生必蒙,故受之以蒙;蒙者蒙也,物之穉也。
- 物穉不可不养也,故受之以需;需者饮食之道也。饮食必有讼,故受之以讼。讼必有众起,
- 故受之以师;师者众也。众必有所比,故受之以比;比者比也。比必有所畜也,故受之以
- 小畜。物畜然后有礼,故受之以履。\fi}
+{\ifcsname youyuan\endcsname\youyuan\else[无 \cs{youyuan} 字体。]\fi 有天地,然后
+ 万物生焉。盈天地之间者,唯万物,故受之以屯;屯者盈也,屯者物之始生也。物生必蒙,
+ 故受之以蒙;蒙者蒙也,物之穉也。物穉不可不养也,故受之以需;需者饮食之道也。饮
+ 食必有讼,故受之以讼。讼必有众起,故受之以师;师者众也。众必有所比,故受之以比;
+ 比者比也。比必有所畜也,故受之以小畜。物畜然后有礼,故受之以履。}
{\heiti 履而泰,然后安,故受之以泰;泰者通也。物不可以终通,故受之以否。物不可以终
否,故受之以同人。与人同者,物必归焉,故受之以大有。有大者不可以盈,故受之以谦。
有大而能谦,必豫,故受之以豫。豫必有随,故受之以随。以喜随人者,必有事,故受
之以蛊;蛊者事也。}
-{\ifcsname lishu\endcsname\lishu 有事而后可大,故受之以临;临者大也。物大然后可观,
- 故受之以观。可观而后有所合,故受之以噬嗑;嗑者合也。物不可以苟合而已,故受之以
- 贲;贲者饰也。致饰然后亨,则尽矣,故受之以剥;剥者剥也。物不可以终尽,剥穷上反
- 下,故受之以复。复则不妄矣,故受之以无妄。\fi}
+{\ifcsname lishu\endcsname\lishu\else[无 \cs{lishu} 字体。]\fi 有事而后可大,故受
+ 之以临;临者大也。物大然后可观,故受之以观。可观而后有所合,故受之以噬嗑;嗑者
+ 合也。物不可以苟合而已,故受之以贲;贲者饰也。致饰然后亨,则尽矣,故受之以剥;
+ 剥者剥也。物不可以终尽,剥穷上反下,故受之以复。复则不妄矣,故受之以无妄。}
{\songti 有无妄然后可畜,故受之以大畜。物畜然后可养,故受之以颐;颐者养也。不养则不
可动,故受之以大过。物不可以终过,故受之以坎;坎者陷也。陷必有所丽,故受之以
diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex b/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex
index 75057458b36..71c2d278618 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex
@@ -38,7 +38,7 @@ jPicEdt, jaxdraw 等等。
它提供了 \texttt{[H]} 参数,比如图~\ref{fig:xfig1}。
\begin{figure}[H] % use float package if you want it here
\centering
- \includegraphics{hello}
+ \includegraphics{thu-whole-logo}
\caption{利用 Xfig 制图}
\label{fig:xfig1}
\end{figure}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/cover.tex b/Master/texmf-dist/doc/latex/thuthesis/data/cover.tex
index 7281174007d..3495a696221 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/cover.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/cover.tex
@@ -14,8 +14,7 @@
% 中文信息
ctitle={清华大学学位论文 \LaTeX\ 模板\\使用示例文档},
cdegree={工学硕士},
- % cdepartment允许在[]中输入简称
- cdepartment={[计算机]{计算机科学与技术系}},
+ cdepartment={计算机科学与技术系},
cmajor={计算机科学与技术},
cauthor={薛瑞尼},
csupervisor={郑纬民教授},
@@ -29,9 +28,9 @@
% cfirstdiscipline={计算机科学与技术},
% cseconddiscipline={系统结构},
% postdoctordate={2009年7月——2011年7月},
- % id={what?},
- % udc={what?},
- % catalognumber={what},
+ % id={编号},
+ % udc={UDC},
+ % catalognumber={分类号},
%
% 英文信息
etitle={An Introduction to \LaTeX{} Thesis Template of Tsinghua University},
diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex b/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex
index 354ce18607e..890bd51305a 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex
@@ -9,42 +9,43 @@
xxxx 年 9 月免试进入 xx 大学 xx 系攻读 xx 学位至今。
\researchitem{发表的学术论文} % 发表的和录用的合在一起
-% 学位论文写作指南:
-% 在学期间发表的学术论文分以下三部分按顺序分别列出,每部分之间空 1
-% 行,序号可连续排列
-% 1. 已经刊载的学术论文(本人是第一作者,或者导师为第一作者本人是第二作者)
-% 2. 尚未刊载,但已经接到正式录用函的学术论文(本人为第一作者,或者
-% 导师为第一作者本人是第二作者)。
-% 3. 其他学术论文。可列出除上述两种情况以外的其他学术论文,但必须是
-% 已经刊载或者收到正式录用函的论文。
+
+ % 1. 已经刊载的学术论文(本人是第一作者,或者导师为第一作者本人是第二作者)
\begin{publications}
- \item Yang Y, Ren T L, Zhang L T, et al. Miniature microphone with silicon-
- based ferroelectric thin films. Integrated Ferroelectrics, 2003,
- 52:229-235. (SCI 收录, 检索号:758FZ.)
- \item 杨轶, 张宁欣, 任天令, 等. 硅基铁电微声学器件中薄膜残余应力的研究. 中国机
- 械工程, 2005, 16(14):1289-1291. (EI 收录, 检索号:0534931 2907.)
- \item 杨轶, 张宁欣, 任天令, 等. 集成铁电器件中的关键工艺研究. 仪器仪表学报,
- 2003, 24(S4):192-193. (EI 源刊.)
+ \item Yang Y, Ren T L, Zhang L T, et al. Miniature microphone with silicon-
+ based ferroelectric thin films. Integrated Ferroelectrics, 2003,
+ 52:229-235. (SCI 收录, 检索号:758FZ.)
+ \item 杨轶, 张宁欣, 任天令, 等. 硅基铁电微声学器件中薄膜残余应力的研究. 中国机
+ 械工程, 2005, 16(14):1289-1291. (EI 收录, 检索号:0534931 2907.)
+ \item 杨轶, 张宁欣, 任天令, 等. 集成铁电器件中的关键工艺研究. 仪器仪表学报,
+ 2003, 24(S4):192-193. (EI 源刊.)
\end{publications}
- \begin{publications}
- \item Yang Y, Ren T L, Zhu Y P, et al. PMUTs for handwriting recognition. In
- press. (已被 Integrated Ferroelectrics 录用. SCI 源刊.)
+
+ % 2. 尚未刊载,但已经接到正式录用函的学术论文(本人为第一作者,或者
+ % 导师为第一作者本人是第二作者)。
+ \begin{publications}[before=\publicationskip,after=\publicationskip]
+ \item Yang Y, Ren T L, Zhu Y P, et al. PMUTs for handwriting recognition. In
+ press. (已被 Integrated Ferroelectrics 录用. SCI 源刊.)
\end{publications}
- \begin{publications}[after=] % 最后一个学术论文列表加上 [after=],避免引入多余空白。
- \item Wu X M, Yang Y, Cai J, et al. Measurements of ferroelectric MEMS
- microphones. Integrated Ferroelectrics, 2005, 69:417-429. (SCI 收录, 检索号
- :896KM.)
- \item 贾泽, 杨轶, 陈兢, 等. 用于压电和电容微麦克风的体硅腐蚀相关研究. 压电与声
- 光, 2006, 28(1):117-119. (EI 收录, 检索号:06129773469.)
- \item 伍晓明, 杨轶, 张宁欣, 等. 基于MEMS技术的集成铁电硅微麦克风. 中国集成电路,
- 2003, 53:59-61.
+
+ % 3. 其他学术论文。可列出除上述两种情况以外的其他学术论文,但必须是
+ % 已经刊载或者收到正式录用函的论文。
+ \begin{publications}
+ \item Wu X M, Yang Y, Cai J, et al. Measurements of ferroelectric MEMS
+ microphones. Integrated Ferroelectrics, 2005, 69:417-429. (SCI 收录, 检索号
+ :896KM)
+ \item 贾泽, 杨轶, 陈兢, 等. 用于压电和电容微麦克风的体硅腐蚀相关研究. 压电与声
+ 光, 2006, 28(1):117-119. (EI 收录, 检索号:06129773469)
+ \item 伍晓明, 杨轶, 张宁欣, 等. 基于MEMS技术的集成铁电硅微麦克风. 中国集成电路,
+ 2003, 53:59-61.
\end{publications}
\researchitem{研究成果} % 有就写,没有就删除
\begin{achievements}
- \item 任天令, 杨轶, 朱一平, 等. 硅基铁电微声学传感器畴极化区域控制和电极连接的
- 方法: 中国, CN1602118A. (中国专利公开号.)
- \item Ren T L, Yang Y, Zhu Y P, et al. Piezoelectric micro acoustic sensor
- based on ferroelectric materials: USA, No.11/215, 102. (美国发明专利申请号.)
+ \item 任天令, 杨轶, 朱一平, 等. 硅基铁电微声学传感器畴极化区域控制和电极连接的
+ 方法: 中国, CN1602118A. (中国专利公开号)
+ \item Ren T L, Yang Y, Zhu Y P, et al. Piezoelectric micro acoustic sensor
+ based on ferroelectric materials: USA, No.11/215, 102. (美国发明专利申请号)
\end{achievements}
+
\end{resume}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/dtx-style.sty b/Master/texmf-dist/doc/latex/thuthesis/dtx-style.sty
index c4c0e773198..f2279b5bedd 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/dtx-style.sty
+++ b/Master/texmf-dist/doc/latex/thuthesis/dtx-style.sty
@@ -1,67 +1,135 @@
+%%
+%% This is file `dtx-style.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% thuthesis.dtx (with options: `dtx-style')
+%%
+%% This is a generated file.
+%%
+%% Copyright (C) 2005-2016 by Ruini Xue <xueruini@gmail.com>
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3a
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3a or later is part of all distributions of LaTeX
+%% version 2004/10/01 or later.
+%%
+%% To produce the documentation run the original source files ending with `.dtx'
+%% through LaTeX.
+%%
+%% \end{latex}
\ProvidesPackage{dtx-style}
-
+\RequirePackage{hypdoc}
\RequirePackage[UTF8,scheme=chinese]{ctex}
-\RequirePackage[top=2.5cm, bottom=2.5cm, headsep=5mm]{geometry}
-
+\RequirePackage[
+ top=2.5cm, bottom=2.5cm,
+ left=4cm, right=2cm,
+ headsep=3mm]{geometry}
\RequirePackage{calc}
-\RequirePackage{array,longtable}
-\RequirePackage{fancybox,fancyvrb}
+\RequirePackage{array,longtable,booktabs}
+\RequirePackage{listings}
\RequirePackage{fancyhdr}
\RequirePackage{xcolor}
-\RequirePackage{url}
-\RequirePackage{hyperref}
\RequirePackage{enumitem}
-\RequirePackage{ifxetex}
+\RequirePackage{etoolbox}
-\hypersetup{%
- bookmarksnumbered=true,
- bookmarksopen=true,
- bookmarksopenlevel=1,
- breaklinks=true,
- colorlinks=true,
- linkcolor=blue,
- plainpages=false,
- pdfborder=0 0 0}
-\ifxetex
- \hypersetup{%
- CJKbookmarks=true}
-\else
- \hypersetup{%
- unicode=true,
- CJKbookmarks=false}
-\fi
+\colorlet{thu@macro}{blue!60!black}
+\colorlet{thu@env}{blue!70!black}
+\colorlet{thu@option}{purple}
+\patchcmd{\PrintMacroName}{\MacroFont}{\MacroFont\bfseries\color{thu@macro}}{}{}
+\patchcmd{\PrintDescribeMacro}{\MacroFont}{\MacroFont\bfseries\color{thu@macro}}{}{}
+\patchcmd{\PrintDescribeEnv}{\MacroFont}{\MacroFont\bfseries\color{thu@env}}{}{}
+\patchcmd{\PrintEnvName}{\MacroFont}{\MacroFont\bfseries\color{thu@env}}{}{}
-\setlist{nosep}
-\def\SpecialOptionIndex#1{\@bsphack%
- \index{#1\actualchar{\protect\bfseries #1}}\@esphack}
-\newenvironment{options}
- {\list{}{\setlength\labelwidth{2cm}%
- \setlength\labelsep{3pt}%
- \setlength\leftmargin{\labelwidth+\labelsep}%
- \addtolength{\itemsep}{3pt}%
- \renewcommand\makelabel[1]{%
- \ovalbox{\color{magenta}\bfseries\sffamily ##1}%
- \SpecialOptionIndex{##1}}}
- }{\endlist}
+\def\DescribeOption{%
+ \leavevmode\@bsphack\begingroup\MakePrivateLetters%
+ \Describe@Option}
+\def\Describe@Option#1{\endgroup
+ \marginpar{\raggedleft\PrintDescribeOption{#1}}%
+ \thu@special@index{option}{#1}\@esphack\ignorespaces}
+\def\PrintDescribeOption#1{\strut \MacroFont\bfseries\sffamily\color{thu@option} #1\ }
+\def\thu@special@index#1#2{\@bsphack
+ \begingroup
+ \HD@target
+ \let\HDorg@encapchar\encapchar
+ \edef\encapchar usage{%
+ \HDorg@encapchar hdclindex{\the\c@HD@hypercount}{usage}%
+ }%
+ \index{#2\actualchar{\string\ttfamily\space#2}
+ (#1)\encapchar usage}%
+ \index{#1:\levelchar#2\actualchar
+ {\string\ttfamily\space#2}\encapchar usage}%
+ \endgroup
+ \@esphack}
-\DefineVerbatimEnvironment{example}{Verbatim}%
- {frame=single,framerule=0.3mm,rulecolor=\color{violet},%
- fillcolor=\color{violet!5},framesep=1mm,baselinestretch=1.2,%
- fontsize=\small,gobble=1}
+\lstdefinestyle{lstStyleBase}{%
+ basicstyle=\small\ttfamily,
+ aboveskip=\medskipamount,
+ belowskip=\medskipamount,
+ lineskip=0pt,
+ boxpos=c,
+ showlines=false,
+ extendedchars=true,
+ upquote=true,
+ tabsize=2,
+ showtabs=false,
+ showspaces=false,
+ showstringspaces=false,
+ numbers=none,
+ linewidth=\linewidth,
+ xleftmargin=4pt,
+ xrightmargin=0pt,
+ resetmargins=false,
+ breaklines=true,
+ breakatwhitespace=false,
+ breakindent=0pt,
+ breakautoindent=true,
+ columns=flexible,
+ keepspaces=true,
+ gobble=2,
+ framesep=3pt,
+ rulesep=1pt,
+ framerule=1pt,
+ backgroundcolor=\color{gray!5},
+ stringstyle=\color{green!40!black!100},
+ keywordstyle=\bfseries\color{blue!50!black},
+ commentstyle=\slshape\color{black!60}}
-\DefineVerbatimEnvironment{shell}{Verbatim}%
- {frame=single,framerule=0.3mm,rulecolor=\color{olive},%
- fillcolor=\color{olive!5},framesep=1mm,fontsize=\small,gobble=1}
+\lstdefinestyle{lstStyleShell}{%
+ style=lstStyleBase,
+ frame=l,
+ rulecolor=\color{purple},
+ language=bash}
-\newcommand{\myentry}[1]{\vskip5pt\par%
- \noindent\llap{{\color{purple}\bfseries #1}}%
- \marginpar{\strut}\hskip\parindent}
+\lstdefinestyle{lstStyleLaTeX}{%
+ style=lstStyleBase,
+ frame=l,
+ rulecolor=\color{violet},
+ language=[LaTeX]TeX}
+
+\lstnewenvironment{latex}{\lstset{style=lstStyleLaTeX}}{}
+\lstnewenvironment{shell}{\lstset{style=lstStyleShell}}{}
+
+\setlist{nosep}
-\MakeShortVerb{\|}
+\DeclareDocumentCommand{\option}{m}{\textsf{#1}}
+\DeclareDocumentCommand{\env}{m}{\texttt{#1}}
+\DeclareDocumentCommand{\pkg}{s m}{%
+ \texttt{#2}\IfBooleanF#1{\thu@special@index{package}{#2}}}
+\DeclareDocumentCommand{\file}{s m}{%
+ \texttt{#2}\IfBooleanF#1{\thu@special@index{file}{#2}}}
+\newcommand{\myentry}[1]{%
+ \marginpar{\raggedleft\color{purple}\bfseries\strut #1}}
+\newcommand{\note}[1]{{%
+ \color{magenta}{\bfseries 说明:}\emph{#1}}}
-\newcommand*\pkg[1]{\texttt{#1}}
-\newcommand*\option[1]{\textsf{#1}}
-\newcommand*\file[1]{\textsl{#1}}
\def\thuthesis{\textsc{Thu}\-\textsc{Thesis}}
-\newcommand{\note}[1]{\par%
- {\color{magenta}{\bfseries 说明:}\emph{#1}}}
+\endinput
+%%
+%% End of file `dtx-style.sty'.
diff --git a/Master/texmf-dist/doc/latex/thuthesis/figures/hello.eps b/Master/texmf-dist/doc/latex/thuthesis/figures/hello.eps
deleted file mode 100644
index 5b6f2887a9e..00000000000
--- a/Master/texmf-dist/doc/latex/thuthesis/figures/hello.eps
+++ /dev/null
@@ -1,111 +0,0 @@
-%!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/figures/hello.fig b/Master/texmf-dist/doc/latex/thuthesis/figures/hello.fig
deleted file mode 100644
index 8b50f5cdd02..00000000000
--- a/Master/texmf-dist/doc/latex/thuthesis/figures/hello.fig
+++ /dev/null
@@ -1,13 +0,0 @@
-#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/figures/hello.pdf b/Master/texmf-dist/doc/latex/thuthesis/figures/hello.pdf
deleted file mode 100644
index f24c8272bcb..00000000000
--- a/Master/texmf-dist/doc/latex/thuthesis/figures/hello.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thuthesis/latexmkrc b/Master/texmf-dist/doc/latex/thuthesis/latexmkrc
new file mode 100644
index 00000000000..f28a2e2394f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/latexmkrc
@@ -0,0 +1,7 @@
+# vim: set ft=perl:
+$clean_ext = 'thm glo gls bbl hd loe';
+$makeindex = 'makeindex -s gind.ist %O -o %D %S';
+add_cus_dep('glo', 'gls', 0, 'makeglo2gls');
+sub makeglo2gls {
+ system("makeindex -s gglo.ist -o \"$_[0].gls\" \"$_[0].glo\"");
+}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/main.pdf b/Master/texmf-dist/doc/latex/thuthesis/main.pdf
index d2935a36509..ae6b845cf9a 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/main.pdf
+++ b/Master/texmf-dist/doc/latex/thuthesis/main.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thuthesis/main.tex b/Master/texmf-dist/doc/latex/thuthesis/main.tex
index ec87346d311..27ca5753dc4 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/main.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/main.tex
@@ -1,14 +1,10 @@
-%%% Local Variables:
-%%% mode: latex
-%%% TeX-master: t
-%%% End:
-
\documentclass[type=master]{thuthesis}
-% \documentclass[%
-% type=[bachelor|master|doctor|postdoctor], % mandatory option
-% secret,
-% openany|openright,
-% arialtoc,arialtitle]{thuthesis}
+% 选项:
+% type=[bachelor|master|doctor|postdoctor], % 必选
+% secret, % 可选
+% openany|openright, % 可选,基本不用
+% arialtoc, % 可选,基本不用
+% arialtitle % 可选,基本不用
% 所有其它可能用到的包都统一放到这里了,可以根据自己的实际添加或者删除。
\usepackage{thuthesis}
@@ -28,10 +24,10 @@
% \makecover[scan-auth.pdf]
\makecover
-% 目录
+%% 目录
\tableofcontents
-% 符号对照表
+%% 符号对照表
\input{data/denotation}
@@ -44,34 +40,30 @@
%%% 其它部分
\backmatter
-% 本科生要这几个索引,研究生不要。选择性留下。
-\makeatletter
-\ifthu@bachelor
- % 插图索引
- \listoffigures
- % 表格索引
- \listoftables
- % 公式索引
- %\listofequations
-\fi
-\makeatother
-
-
-% 参考文献
-% 注意至少需要引用一篇参考文献,否则下面两行可能引起编译错误。
+%% 本科生要这几个索引,研究生不要。选择性留下。
+% 插图索引
+\listoffigures
+% 表格索引
+\listoftables
+% 公式索引
+\listofequations
+
+
+%% 参考文献
+% 注意:至少需要引用一篇参考文献,否则下面两行可能引起编译错误。
% 如果不需要参考文献,请将下面两行删除或注释掉。
\bibliographystyle{thuthesis}
\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/shuji.pdf b/Master/texmf-dist/doc/latex/thuthesis/shuji.pdf
index 5809699807f..790546a2a49 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/shuji.pdf
+++ b/Master/texmf-dist/doc/latex/thuthesis/shuji.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thuthesis/shuji.tex b/Master/texmf-dist/doc/latex/thuthesis/shuji.tex
index 66973cfdb3b..7454ab27395 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/shuji.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/shuji.tex
@@ -19,8 +19,8 @@
\shuji[同时修改标题和作者的标题][尼瑞薛]
\ifxetex
- \shuji[清华大学学位\hspace{0.2em}\raisebox{-5pt}{\LaTeX}\hspace{-0.25em} 论文模板 \hspace{0.1em}\raisebox{-5pt}{v\version}\hspace{-0.25em} 样例]
+ \shuji[清华大学学位 \raisebox{-5pt}{\LaTeX} 论文模板 \raisebox{-5pt}{v\version} 样例]
\else
- \shuji[清华大学学位\hspace{0.2em}\raisebox{8pt}{\LaTeX}\hspace{-0.25em} 论文模板 \hspace{0.1em}\raisebox{8pt}{v\version}\hspace{-0.25em} 样例]
+ \shuji[清华大学学位 \raisebox{8pt}{\LaTeX} 论文模板 \raisebox{8pt}{v\version} 样例]
\fi
\end{document}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf
index d07befa1f52..118dc386809 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf
+++ b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf
Binary files differ