From d9deede12964dba7eb0bc52e805ceadbd9e22d52 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 14 Oct 2020 21:43:48 +0000 Subject: thuthesis (14oct20) git-svn-id: svn://tug.org/texlive/trunk@56659 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md | 21 +- Master/texmf-dist/doc/latex/thuthesis/Makefile | 4 +- Master/texmf-dist/doc/latex/thuthesis/README.md | 2 + .../doc/latex/thuthesis/data/abstract.tex | 61 +- .../doc/latex/thuthesis/data/acknowledgements.tex | 11 +- .../doc/latex/thuthesis/data/appendix-survey.tex | 199 ++--- .../latex/thuthesis/data/appendix-translation.tex | 109 +-- .../doc/latex/thuthesis/data/appendix.tex | 94 +-- .../texmf-dist/doc/latex/thuthesis/data/chap01.tex | 668 ++--------------- .../texmf-dist/doc/latex/thuthesis/data/chap02.tex | 177 ++--- .../texmf-dist/doc/latex/thuthesis/data/chap03.tex | 76 ++ .../texmf-dist/doc/latex/thuthesis/data/chap04.tex | 73 ++ .../doc/latex/thuthesis/data/denotation.tex | 120 +-- .../doc/latex/thuthesis/data/resolution.tex | 2 +- .../texmf-dist/doc/latex/thuthesis/data/resume.tex | 70 +- .../doc/latex/thuthesis/figures/committee.pdf | Bin 35129 -> 0 bytes .../doc/latex/thuthesis/figures/scan-copyright.pdf | Bin 35716 -> 0 bytes .../doc/latex/thuthesis/figures/scan-record.pdf | Bin 108783 -> 0 bytes .../doc/latex/thuthesis/figures/scan-statement.pdf | Bin 31558 -> 0 bytes .../doc/latex/thuthesis/figures/thu-fig-logo.pdf | Bin 111420 -> 0 bytes .../doc/latex/thuthesis/figures/thu-lib-logo.pdf | Bin 7726 -> 0 bytes .../doc/latex/thuthesis/figures/thu-text-logo.pdf | Bin 22013 -> 0 bytes .../doc/latex/thuthesis/figures/thu-whole-logo.pdf | Bin 121086 -> 0 bytes Master/texmf-dist/doc/latex/thuthesis/ref/refs.bib | 550 ++++++++------ Master/texmf-dist/doc/latex/thuthesis/spine.pdf | Bin 17118 -> 17199 bytes Master/texmf-dist/doc/latex/thuthesis/thusetup.tex | 54 +- .../doc/latex/thuthesis/thuthesis-example.pdf | Bin 891653 -> 449650 bytes .../doc/latex/thuthesis/thuthesis-example.tex | 6 +- .../texmf-dist/doc/latex/thuthesis/thuthesis.pdf | Bin 1156739 -> 1027021 bytes .../source/latex/thuthesis/thuthesis.dtx | 833 ++++++++++++--------- .../texmf-dist/tex/latex/thuthesis/thuthesis.cls | 539 ++++++++----- 31 files changed, 1744 insertions(+), 1925 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/thuthesis/data/chap03.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/data/chap04.tex delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/figures/committee.pdf delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/figures/scan-copyright.pdf delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/figures/scan-record.pdf delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/figures/scan-statement.pdf delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/figures/thu-fig-logo.pdf delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/figures/thu-lib-logo.pdf delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/figures/thu-text-logo.pdf delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/figures/thu-whole-logo.pdf diff --git a/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md b/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md index 015689074a4..05e7be0d81c 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md @@ -6,6 +6,24 @@ ## [Unreleased] +## [v7.1.0] - 2020-10-14 +### Changed +- 更新摘要的标题格式(研究生 2020-09-18 版)。 +- 更新目录的格式(研究生 2020-09-18 版)。 +- 图表浮动体的位置参数默认为 `h`。 +- 更新示例文档。 + +### Fixed +- 修正 “keywords” 的拼写。 +- 修正授权使用说明的内容。 +- 修正授伪粗字体的粗度。 +- 修正 `\small` 等字号命令的行距。 +- 修正数学公式前后的距离。 +- 修正个人简历和学术成果的格式。 +- 修正图表标题的行距。 +- 禁止同一条参考文献中间分页。 +- 修正脚注的行距和缩进距离。 + ## [v7.0.0] - 2020-09-09 ### Changed - 更新 2020 年版目录、插图和附表清单的格式。 @@ -624,7 +642,8 @@ -[Unreleased]: https://github.com/tuna/thuthesis/compare/v7.0.0...HEAD +[Unreleased]: https://github.com/tuna/thuthesis/compare/v7.1.0...HEAD +[v7.1.0]: https://github.com/tuna/thuthesis/compare/v7.0.0...v7.1.0 [v7.0.0]: https://github.com/tuna/thuthesis/compare/v6.1.3...v7.0.0 [v6.1.3]: https://github.com/tuna/thuthesis/compare/v6.1.2...v6.1.3 [v6.1.2]: https://github.com/tuna/thuthesis/compare/v6.1.1...v6.1.2 diff --git a/Master/texmf-dist/doc/latex/thuthesis/Makefile b/Master/texmf-dist/doc/latex/thuthesis/Makefile index 3ab76d06e38..1a7fd816414 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/Makefile +++ b/Master/texmf-dist/doc/latex/thuthesis/Makefile @@ -82,8 +82,8 @@ check: FORCE_MAKE ifeq ($(version),) @echo "Error: version missing: \"make [check|dist] version=X.Y.Z\""; exit 1 else - @[[ $(shell grep -E -c '$(version) Tsinghua University Thesis Template|\\def\\version\{$(version)\}' thuthesis.dtx) -eq 3 ]] || (echo "update version in thuthesis.dtx before release"; exit 1) - @[[ $(shell grep -E -c '"version": "$(version)"' package.json) -eq 1 ]] || (echo "update version in package.json before release"; exit 1) + @[[ $(shell grep -E -c '$(version) Tsinghua University Thesis Template|\\def\\version\{$(version)\}' thuthesis.dtx) -eq 3 ]] || (echo "update version with \'l3build tag\" before release"; exit 1) + @[[ $(shell grep -E -c '"version": "$(version)"' package.json) -eq 1 ]] || (echo "update version with \'l3build tag\" before release"; exit 1) endif dist: check all-dev diff --git a/Master/texmf-dist/doc/latex/thuthesis/README.md b/Master/texmf-dist/doc/latex/thuthesis/README.md index 6e6eb06a319..ed0788a5ad7 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/README.md +++ b/Master/texmf-dist/doc/latex/thuthesis/README.md @@ -34,6 +34,7 @@ Scroll down for the English version of README. * [CTAN](https://www.ctan.org/pkg/thuthesis):可能滞后正式发布少许时间。 * [GitHub Releases](https://github.com/tuna/thuthesis/releases):最新版的及时发布途径。 * [TUNA 镜像站](https://mirrors.tuna.tsinghua.edu.cn/github-release/tuna/thuthesis/):GitHub Releases 的镜像。 + * [Overleaf](https://www.overleaf.com/latex/templates/thuthesis-tsinghua-university-thesis-latex-template/wddqnwbyhtnk):Overleaf 的模板。 * 开发版:[GitHub](https://github.com/tuna/thuthesis) ## 更新日志 @@ -102,6 +103,7 @@ Developer versions contain only source code but no pre-compiled `cls` file and d * [CTAN](https://www.ctan.org/pkg/thuthesis) * [GitHub Releases](https://github.com/tuna/thuthesis/releases) * [TUNA Mirrors](https://mirrors.tuna.tsinghua.edu.cn/github-release/tuna/thuthesis/): mirror of GitHub Releases + * [Overleaf Template](https://www.overleaf.com/latex/templates/thuthesis-tsinghua-university-thesis-latex-template/wddqnwbyhtnk) * Developer versions: [GitHub](https://github.com/tuna/thuthesis) ## Changelog diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/abstract.tex b/Master/texmf-dist/doc/latex/thuthesis/data/abstract.tex index 5567a1ed953..babbca3f46b 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/abstract.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/abstract.tex @@ -3,54 +3,37 @@ % 中英文摘要和关键字 \begin{abstract} - 论文的摘要是对论文研究内容和成果的高度概括。摘要应对论文所研究的问题及其研究目 - 的进行描述,对研究方法和过程进行简单介绍,对研究成果和所得结论进行概括。摘要应 - 具有独立性和自明性,其内容应包含与论文全文同等量的主要信息。使读者即使不阅读全 - 文,通过摘要就能了解论文的总体内容和主要成果。 + 论文的摘要是对论文研究内容和成果的高度概括。 + 摘要应对论文所研究的问题及其研究目的进行描述,对研究方法和过程进行简单介绍,对研究成果和所得结论进行概括。 + 摘要应具有独立性和自明性,其内容应包含与论文全文同等量的主要信息。 + 使读者即使不阅读全文,通过摘要就能了解论文的总体内容和主要成果。 - 论文摘要的书写应力求精确、简明。切忌写成对论文书写内容进行提要的形式,尤其要避 - 免“第 1 章……;第 2 章……;……”这种或类似的陈述方式。 + 论文摘要的书写应力求精确、简明。 + 切忌写成对论文书写内容进行提要的形式,尤其要避免“第 1 章……;第 2 章……;……”这种或类似的陈述方式。 - 本文介绍清华大学论文模板 \thuthesis{} 的使用方法。本模板符合学校的本科、硕士、 - 博士论文格式要求。 + 关键词是为了文献标引工作、用以表示全文主要内容信息的单词或术语。 + 关键词不超过 5 个,每个关键词中间用分号分隔。 - 本文的创新点主要有: - \begin{itemize} - \item 用例子来解释模板的使用方法; - \item 用废话来填充无关紧要的部分; - \item 一边学习摸索一边编写新代码。 - \end{itemize} - - 关键词是为了文献标引工作、用以表示全文主要内容信息的单词或术语。关键词不超过 5 - 个,每个关键词中间用分号分隔。(模板作者注:关键词分隔符不用考虑,模板会自动处 - 理。英文关键词同理。) - - % 关键词用“英文逗号”分隔 + % 关键词用“英文逗号”分隔,输出时会自动处理为正确的分隔符 \thusetup{ - keywords = {TeX, LaTeX, CJK, 模板, 论文}, + keywords = {关键词 1, 关键词 2, 关键词 3, 关键词 4, 关键词 5}, } \end{abstract} \begin{abstract*} - An abstract of a dissertation is a summary and extraction of research work - and contributions. Included in an abstract should be description of research - topic and research objective, brief introduction to methodology and research - process, and summarization of conclusion and contributions of the - research. An abstract should be characterized by independence and clarity and - carry identical information with the dissertation. It should be such that the - general idea and major contributions of the dissertation are conveyed without - reading the dissertation. - - An abstract should be concise and to the point. It is a misunderstanding to - make an abstract an outline of the dissertation and words ``the first - chapter'', ``the second chapter'' and the like should be avoided in the - abstract. - - Key words are terms used in a dissertation for indexing, reflecting core - information of the dissertation. An abstract may contain a maximum of 5 key - words, with semi-colons used in between to separate one another. + An abstract of a dissertation is a summary and extraction of research work and contributions. + Included in an abstract should be description of research topic and research objective, brief introduction to methodology and research process, and summarization of conclusion and contributions of the research. + An abstract should be characterized by independence and clarity and carry identical information with the dissertation. + It should be such that the general idea and major contributions of the dissertation are conveyed without reading the dissertation. + + An abstract should be concise and to the point. + It is a misunderstanding to make an abstract an outline of the dissertation and words “the first chapter”, “the second chapter” and the like should be avoided in the abstract. + + Keywords are terms used in a dissertation for indexing, reflecting core information of the dissertation. + An abstract may contain a maximum of 5 keywords, with semi-colons used in between to separate one another. + % Use comma as seperator when inputting \thusetup{ - keywords* = {TeX, LaTeX, CJK, template, thesis}, + keywords* = {keyword 1, keyword 2, keyword 3, keyword 4, keyword 5}, } \end{abstract*} diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/acknowledgements.tex b/Master/texmf-dist/doc/latex/thuthesis/data/acknowledgements.tex index 04026682bb1..43437169d21 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/acknowledgements.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/acknowledgements.tex @@ -1,12 +1,11 @@ % !TeX root = ../thuthesis-example.tex \begin{acknowledgements} - 衷心感谢导师 xxx 教授和物理系 xxx 副教授对本人的精心指导。他们的言传身教将使 - 我终生受益。 + 衷心感谢导师×××教授和物理系××副教授对本人的精心指导。他们的言传身教将使我终生受益。 - 在美国麻省理工学院化学系进行九个月的合作研究期间,承蒙 xxx 教授热心指导与帮助,不 - 胜感激。感谢 xx 实验室主任 xx 教授,以及实验室全体老师和同学们的热情帮助和支 - 持!本课题承蒙国家自然科学基金资助,特此致谢。 + 在美国麻省理工学院化学系进行九个月的合作研究期间,承蒙 Robert Field 教授热心指导与帮助,不胜感激。 - 感谢 \LaTeX{} 和 \thuthesis\cite{thuthesis},帮我节省了不少时间。 + 感谢×××××实验室主任×××教授,以及实验室全体老师和同窗们学的热情帮助和支持! + + 本课题承蒙国家自然科学基金资助,特此致谢。 \end{acknowledgements} diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/appendix-survey.tex b/Master/texmf-dist/doc/latex/thuthesis/data/appendix-survey.tex index 5c09088a383..5dd97a7a084 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/appendix-survey.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/appendix-survey.tex @@ -6,168 +6,67 @@ \title{Title of the Survey} \maketitle -写出至少 5000 外文印刷字符的调研阅读报告或者书面翻译 1-2 篇(不少于 2 万外文印刷符)。 - \tableofcontents -\section{Single-Objective Programming} - -It is impossible to cover in a single chapter every concept of mathematical -programming\cite{tex}. This chapter introduces only the basic concepts and techniques of -mathematical programming such that readers gain an understanding of them -throughout the book.~\cite{abrahams99tex,salomon1995advanced}. - -The general form of single-objective programming (SOP) is written -as follows, -\begin{equation*} % 如果附录中的公式不想让它出现在公式索引中,那就请 - % 用 equation* -\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*} -S=\left\{x\in\real^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~\eqref{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 -\eqref{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 \emph{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 \emph{simplex - algorithm} which was developed by Dantzig as a very efficient method for -solving linear programming. -\begin{table}[ht] -\centering - \centering - \caption{This is an example for table} - \label{tab:badtabular2} - \begin{tabular}[c]{|m{1.5cm}|c|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}{1.5cm}{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. +\section{Figures and Tables} -\subsection{Nonlinear Programming} +\subsection{Figures} -If at least one of the functions $f(x),g_j(x),j=1,2,\dots,p$ is nonlinear, then -SOP is called a \emph{nonlinear programming}. +An example figure in appendix (Figure~\ref{fig:appendix-survey-figure}). -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] +\begin{figure} \centering - \includegraphics{thu-lib-logo.pdf} - \caption{This is an example for figure.} - \label{tab:badfigure2} + \includegraphics[width=0.6\linewidth]{example-image-a.pdf} + \caption{Example figure in appendix} + \label{fig:appendix-survey-figure} \end{figure} -Now we consider a nonlinear programming which is confronted solely with -maximizing a real-valued function with domain $\real^n$. Whether derivatives are -available or not, the usual strategy is first to select a point in $\real^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 \emph{ascent methods}, which can be classified as \emph{direct methods}, -\emph{gradient methods}, and \emph{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} - -\emph{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 \emph{ - mixed integer programming}. If all the variables are assumed either 0 or 1, -then the problem is termed a \emph{zero-one programming}. Although integer -programming can be solved by an \emph{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 \emph{branch-and-bound enumeration} developed by Balas (1965) and Dakin -(1965). The other technique to integer programming is the \emph{cutting plane - method} developed by Gomory (1959). - -\hfill\textit{Uncertain Programming\/}\quad(\textsl{BaoDing Liu, 2006.2}) + +\subsection{Tables} + +An example table in appendix (Table~\ref{tab:appendix-survey-table}). + +\begin{table} + \centering + \caption{Example table in appendix} + \begin{tabular}{ll} + \toprule + File name & Description \\ + \midrule + thuthesis.dtx & The source file including documentaion and comments \\ + thuthesis.cls & The template file \\ + thuthesis-*.bst & BibTeX styles \\ + thuthesis-*.bbx & BibLaTeX styles for bibliographies \\ + thuthesis-*.cbx & BibLaTeX styles for citations \\ + \bottomrule + \end{tabular} + \label{tab:appendix-survey-table} +\end{table} + + +\section{Equations} + +An example equation in appendix (Equation~\eqref{eq:appendix-survey-equation}). +\begin{equation} + \frac{1}{2 \symup{\pi} \symup{i}} \int_\gamma f = \sum_{k=1}^m n(\gamma; a_k) \mathscr{R}(f; a_k) + \label{eq:appendix-survey-equation} +\end{equation} + + +\section{Citations} + +Example citations in appendix. +\cite{abrahams99tex} +\cite{salomon1995advanced} +\cite{abrahams99tex,salomon1995advanced} + \bibliographystyle{unsrtnat} -\bibliography{ref/refs,ref/appendix} +\bibliography{ref/appendix} \end{survey} diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/appendix-translation.tex b/Master/texmf-dist/doc/latex/thuthesis/data/appendix-translation.tex index 84719cc8241..891e416b064 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/appendix-translation.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/appendix-translation.tex @@ -9,92 +9,63 @@ \tableofcontents -\section{单目标规划} -北冥有鱼,其名为鲲。鲲之大,不知其几千里也。化而为鸟,其名为鹏。鹏之背,不知其几 -千里也。怒而飞,其翼若垂天之云。是鸟也,海运则将徙于南冥。南冥者,天池也。\cite{abrahams99tex} -\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} +本科生的外文资料书面翻译。 + + +\section{图表示例} + +\subsection{图} -吾生也有涯,而知也无涯。以有涯随无涯,殆已!已而为知者,殆而已矣!为善无近名,为 -恶无近刑,缘督以为经,可以保身,可以全生,可以养亲,可以尽年。 +附录中的图片示例(图~\ref{fig:appendix-translation-figure})。 -\subsection{线性规划} -庖丁为文惠君解牛,手之所触,肩之所倚,足之所履,膝之所倚,砉然响然,奏刀騞然,莫 -不中音,合于桑林之舞,乃中经首之会。 -\begin{table}[ht] -\centering +\begin{figure} \centering - \caption{这是一个表格例子} - \label{tab:badtabular3} - \begin{tabular}[c]{|m{1.5cm}|c|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}{1.5cm}{Xue} & Rui & Ni &\multicolumn{4}{c|}{\multirow{2}*{\thuthesis}}\\\cline{2-3} - & \multicolumn{2}{c|}{ABCDEF} &\multicolumn{4}{c|}{} \\\hline -\end{tabular} -\end{table} + \includegraphics[width=0.6\linewidth]{example-image-a.pdf} + \caption{附录中的图片示例} + \label{fig:appendix-translation-figure} +\end{figure} -文惠君曰:“嘻,善哉!技盖至此乎?”庖丁释刀对曰:“臣之所好者道也,进乎技矣。始臣之 -解牛之时,所见无非全牛者;三年之后,未尝见全牛也;方今之时,臣以神遇而不以目视, -官知止而神欲行。依乎天理,批大郤,导大窾,因其固然。技经肯綮之未尝,而况大坬乎! -良庖岁更刀,割也;族庖月更刀,折也;今臣之刀十九年矣,所解数千牛矣,而刀刃若新发 -于硎。彼节者有间而刀刃者无厚,以无厚入有间,恢恢乎其于游刃必有余地矣。是以十九年 -而刀刃若新发于硎。虽然,每至于族,吾见其难为,怵然为戒,视为止,行为迟,动刀甚微, -謋然已解,如土委地。提刀而立,为之而四顾,为之踌躇满志,善刀而藏之。” -文惠君曰:“善哉!吾闻庖丁之言,得养生焉。” +\subsection{表格} +附录中的表格示例(表~\ref{tab:appendix-translation-table})。 -\subsection{非线性规划} -孔子与柳下季为友,柳下季之弟名曰盗跖。盗跖从卒九千人,横行天下,侵暴诸侯。穴室枢 -户,驱人牛马,取人妇女。贪得忘亲,不顾父母兄弟,不祭先祖。所过之邑,大国守城,小 -国入保,万民苦之。孔子谓柳下季曰:“夫为人父者,必能诏其子;为人兄者,必能教其弟。 -若父不能诏其子,兄不能教其弟,则无贵父子兄弟之亲矣。今先生,世之才士也,弟为盗 -跖,为天下害,而弗能教也,丘窃为先生羞之。丘请为先生往说之。” -\begin{figure}[h] +\begin{table} \centering - \includegraphics{thu-whole-logo.pdf} - \caption{这是图片的例子} - \label{tab:badfigure3} -\end{figure} + \caption{附录中的表格示例} + \begin{tabular}{ll} + \toprule + 文件名 & 描述 \\ + \midrule + thuthesis.dtx & 模板的源文件,包括文档和注释 \\ + thuthesis.cls & 模板文件 \\ + thuthesis-*.bst & BibTeX 参考文献表样式文件 \\ + thuthesis-*.bbx & BibLaTeX 参考文献表样式文件 \\ + thuthesis-*.cbx & BibLaTeX 引用样式文件 \\ + \bottomrule + \end{tabular} + \label{tab:appendix-translation-table} +\end{table} + -柳下季曰:“先生言为人父者必能诏其子,为人兄者必能教其弟,若子不听父之诏,弟不受 -兄之教,虽今先生之辩,将奈之何哉?且跖之为人也,心如涌泉,意如飘风,强足以距敌, -辩足以饰非。顺其心则喜,逆其心则怒,易辱人以言。先生必无往。” +\section{数学公式} + +附录中的数学公式示例(公式~\eqref{eq:appendix-translation-equation})。 +\begin{equation} + \frac{1}{2 \symup{\pi} \symup{i}} \int_\gamma f = \sum_{k=1}^m n(\gamma; a_k) \mathscr{R}(f; a_k) + \label{eq:appendix-translation-equation} +\end{equation} -孔子不听,颜回为驭,子贡为右,往见盗跖。 -\subsection{整数规划} -盗跖乃方休卒徒大山之阳,脍人肝而餔之。孔子下车而前,见谒者曰:“鲁人孔丘,闻将军 -高义,敬再拜谒者。”谒者入通。盗跖闻之大怒,目如明星,发上指冠,曰:“此夫鲁国之 -巧伪人孔丘非邪?为我告之:尔作言造语,妄称文、武,冠枝木之冠,带死牛之胁,多辞缪 -说,不耕而食,不织而衣,摇唇鼓舌,擅生是非,以迷天下之主,使天下学士不反其本,妄 -作孝弟,而侥幸于封侯富贵者也。子之罪大极重,疾走归!不然,我将以子肝益昼餔之膳。” +\section{文献引用} + +文献引用示例\cite{abrahams99tex}。 % 书面翻译的参考文献 \bibliographystyle{unsrtnat} \bibliography{ref/appendix} -% 也可以使用 thebiliography 环境手写 -% \begin{thebibliography}{2} -% \bibitem{abrahams99tex} -% P.~W. Abrahams, K.~Berry, and K.~A. Hargreaves, \emph{{\TeX} for the -% Impatient}.\hskip 1em plus 0.5em minus 0.4em\relax Addison-Wesley, 1990. - -% \bibitem{salomon1995advanced} -% D.~Salomon, ``The advanced {\TeX}book.''\hskip 1em plus 0.5em minus 0.4em\relax -% New York: Springer, 1995. -% \end{thebibliography} - % 书面翻译对应的原文索引 \begin{translation-index} \nocite{salomon1995advanced} diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/appendix.tex b/Master/texmf-dist/doc/latex/thuthesis/data/appendix.tex index 179bc376a9d..94b17439317 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/appendix.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/appendix.tex @@ -1,70 +1,48 @@ -\chapter{单目标规划} +\chapter{补充内容} -\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} +附录是与论文内容密切相关、但编入正文又影响整篇论文编排的条理和逻辑性的资料,例如某些重要的数据表格、计算程序、统计表等,是论文主体的补充内容,可根据需要设置。 + + +\section{图表示例} -吾生也有涯,而知也无涯。以有涯随无涯,殆已!已而为知者,殆而已矣!为善无近名,为 -恶无近刑,缘督以为经,可以保身,可以全生,可以养亲,可以尽年。 +\subsection{图} -\subsection{线性规划} -庖丁为文惠君解牛,手之所触,肩之所倚,足之所履,膝之所倚,砉然响然,奏刀騞然,莫 -不中音,合于桑林之舞,乃中经首之会。 -\begin{table}[ht] +附录中的图片示例(图~\ref{fig:appendix-figure})。 + +\begin{figure} \centering - \caption{这是一个表格例子} - \label{tab:badtabular3} - \begin{tabular}[c]{|m{1.5cm}|c|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}{1.5cm}{Xue} & Rui & Ni &\multicolumn{4}{c|}{\multirow{2}*{\thuthesis}}\\\cline{2-3} - & \multicolumn{2}{c|}{ABCDEF} &\multicolumn{4}{c|}{} \\\hline -\end{tabular} -\end{table} + \includegraphics[width=0.6\linewidth]{example-image-a.pdf} + \caption{附录中的图片示例} + \label{fig:appendix-figure} +\end{figure} -文惠君曰:“嘻,善哉!技盖至此乎?”庖丁释刀对曰:“臣之所好者道也,进乎技矣。始臣之 -解牛之时,所见无非全牛者;三年之后,未尝见全牛也;方今之时,臣以神遇而不以目视, -官知止而神欲行。依乎天理,批大郤,导大窾,因其固然。技经肯綮之未尝,而况大坬乎! -良庖岁更刀,割也;族庖月更刀,折也;今臣之刀十九年矣,所解数千牛矣,而刀刃若新发 -于硎。彼节者有间而刀刃者无厚,以无厚入有间,恢恢乎其于游刃必有余地矣。是以十九年 -而刀刃若新发于硎。虽然,每至于族,吾见其难为,怵然为戒,视为止,行为迟,动刀甚微, -謋然已解,如土委地。提刀而立,为之而四顾,为之踌躇满志,善刀而藏之。” -文惠君曰:“善哉!吾闻庖丁之言,得养生焉。” +\subsection{表格} +附录中的表格示例(表~\ref{tab:appendix-table})。 -\subsection{非线性规划} -孔子与柳下季为友,柳下季之弟名曰盗跖。盗跖从卒九千人,横行天下,侵暴诸侯。穴室枢 -户,驱人牛马,取人妇女。贪得忘亲,不顾父母兄弟,不祭先祖。所过之邑,大国守城,小 -国入保,万民苦之。孔子谓柳下季曰:“夫为人父者,必能诏其子;为人兄者,必能教其弟。 -若父不能诏其子,兄不能教其弟,则无贵父子兄弟之亲矣。今先生,世之才士也,弟为盗 -跖,为天下害,而弗能教也,丘窃为先生羞之。丘请为先生往说之。” -\begin{figure}[h] +\begin{table} \centering - \includegraphics{thu-whole-logo.pdf} - \caption{这是图片的例子} - \label{tab:badfigure3} -\end{figure} + \caption{附录中的表格示例} + \begin{tabular}{ll} + \toprule + 文件名 & 描述 \\ + \midrule + thuthesis.dtx & 模板的源文件,包括文档和注释 \\ + thuthesis.cls & 模板文件 \\ + thuthesis-*.bst & BibTeX 参考文献表样式文件 \\ + thuthesis-*.bbx & BibLaTeX 参考文献表样式文件 \\ + thuthesis-*.cbx & BibLaTeX 引用样式文件 \\ + \bottomrule + \end{tabular} + \label{tab:appendix-table} +\end{table} -柳下季曰:“先生言为人父者必能诏其子,为人兄者必能教其弟,若子不听父之诏,弟不受 -兄之教,虽今先生之辩,将奈之何哉?且跖之为人也,心如涌泉,意如飘风,强足以距敌, -辩足以饰非。顺其心则喜,逆其心则怒,易辱人以言。先生必无往。” -孔子不听,颜回为驭,子贡为右,往见盗跖。 +\section{数学公式} -\subsection{整数规划} -盗跖乃方休卒徒大山之阳,脍人肝而餔之。孔子下车而前,见谒者曰:“鲁人孔丘,闻将军 -高义,敬再拜谒者。”谒者入通。盗跖闻之大怒,目如明星,发上指冠,曰:“此夫鲁国之 -巧伪人孔丘非邪?为我告之:尔作言造语,妄称文、武,冠枝木之冠,带死牛之胁,多辞缪 -说,不耕而食,不织而衣,摇唇鼓舌,擅生是非,以迷天下之主,使天下学士不反其本,妄 -作孝弟,而侥幸于封侯富贵者也。子之罪大极重,疾走归!不然,我将以子肝益昼餔之膳。” +附录中的数学公式示例(公式~\eqref{eq:appendix-equation})。 +\begin{equation} + \frac{1}{2 \symup{\pi} \symup{i}} \int_\gamma f = \sum_{k=1}^m n(\gamma; a_k) \mathscr{R}(f; a_k) + \label{eq:appendix-equation} +\end{equation} diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex b/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex index 24337472963..a1ce9626fc8 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex @@ -1,594 +1,78 @@ % !TeX root = ../thuthesis-example.tex -\chapter{带 English 的标题} -\label{cha:intro} - -这是 \thuthesis\cite{thuthesis} 的示例文档,基本上覆盖了模板中所有格式的设置。建 -议大家在使用模板之前,除了阅读《\thuthesis{} 用户手册》,这个示例文档也最好能看一 -看。 - -小老鼠偷吃热凉粉;短长虫环绕矮高粱\footnote{韩愈(768-824),字退之,河南河阳( - 今河南孟县)人,自称郡望昌黎,世称韩昌黎。幼孤贫刻苦好学,德宗贞元八年进士。曾 - 任监察御史,因上疏请免关中赋役,贬为阳山县令。后随宰相裴度平定淮西迁刑部侍郎, - 又因上表谏迎佛骨,贬潮州刺史。做过吏部侍郎,死谥文公,故世称韩吏部、韩文公。是 - 唐代古文运动领袖,与柳宗元合称韩柳。诗力求险怪新奇,雄浑重气势。}。 - - -\section{封面相关} -封面的例子请参看 \texttt{cover.tex}。主要符号表参看 \texttt{denotation.tex},附录和 -个人简历分别参看 \texttt{appendix01.tex} 和 \texttt{resume.tex}。里面的命令都很直 -观,一看即会\footnote{你说还是看不懂?怎么会呢?}。 - -\section{字体命令} -\label{sec:first} - -苏轼(1037-1101),北宋文学家、书画家。字子瞻,号东坡居士,眉州眉山(今属四川)人 -。苏洵子。嘉佑进士。神宗时曾任祠部员外郎,因反对王安石新法而求外职,任杭州通判, -知密州、徐州、湖州。后以作诗“谤讪朝廷”罪贬黄州。哲宗时任翰林学士,曾出知杭州、 -颖州等,官至礼部尚书。后又贬谪惠州、儋州。北还后第二年病死常州。南宋时追谥文忠。 -与父洵弟辙,合称“三苏”。在政治上属于旧党,但也有改革弊政的要求。其文汪洋恣肆, -明白畅达,为“唐宋八大家”之一。 其诗清新豪健,善用夸张比喻,在艺术表现方面独具 -风格。少数诗篇也能反映民间疾苦,指责统治者的奢侈骄纵。词开豪放一派,对后代很有影 -响。《念奴娇·赤壁怀古》、《水调歌头·丙辰中秋》传诵甚广。 - -{\kaishu 坡仙擅长行书、楷书,取法李邕、徐浩、颜真卿、杨凝式,而能自创新意。用笔丰腴 - 跌宕,有天真烂漫之趣。与蔡襄、黄庭坚、米芾并称“宋四家”。能画竹,学文同,也喜 - 作枯木怪石。论画主张“神似”,认为“论画以形似,见与儿童邻”;高度评价“诗中有 - 画,画中有诗”的艺术造诣。诗文有《东坡七集》等。存世书迹有《答谢民师论文帖》、 - 《祭黄几道文》、《前赤壁赋》、《黄州寒食诗帖》等。 画迹有《枯木怪石图》、《 - 竹石图》等。} - -{\fangsong 易与天地准,故能弥纶天地之道。仰以观於天文,俯以察於地理,是故知幽明之故。原 - 始反终,故知死生之说。精气为物,游魂为变,是故知鬼神之情状。与天地相似,故不违。 - 知周乎万物,而道济天下,故不过。旁行而不流,乐天知命,故不忧。安土敦乎仁,故 - 能爱。范围天地之化而不过,曲成万物而不遗,通乎昼夜之道而知,故神无方而易无体。} - -{\heiti 履而泰,然后安,故受之以泰;泰者通也。物不可以终通,故受之以否。物不可以终 - 否,故受之以同人。与人同者,物必归焉,故受之以大有。有大者不可以盈,故受之以谦。 - 有大而能谦,必豫,故受之以豫。豫必有随,故受之以随。以喜随人者,必有事,故受 - 之以蛊;蛊者事也。} - -{\songti 有无妄然后可畜,故受之以大畜。物畜然后可养,故受之以颐;颐者养也。不养则不 - 可动,故受之以大过。物不可以终过,故受之以坎;坎者陷也。陷必有所丽,故受之以 - 离;离者丽也。} - -\section{表格样本} -\label{chap1:sample:table} - -\subsection{基本表格} -\label{sec:basictable} - -模板中关于表格的宏包有三个:\pkg{booktabs}、\pkg{array} 和 \pkg{longtable}。 -三线表可以用 \pkg{booktabs} 提供 的 \cs{toprule}、\cs{midrule} 和 \cs{bottomrule}。 -它们与 \pkg{longtable} 能很好的配合使用。 -\begin{table}[htb] - \centering - \begin{threeparttable}[b] - \caption[模板文件]{模板文件。如果表格的标题很长,那么在表格索引中就会很不美 - 观,所以要像 chapter 那样在前面用中括号写一个简短的标题。这个标题会出现在索 - 引中。} - \label{tab:template-files} - \begin{tabular}{ll} - \toprule - {\heiti 文件名} & {\heiti 描述} \\\midrule - thuthesis.ins & \LaTeX{} 安装文件,DocStrip。\tnote{1} \\ - thuthesis.dtx & 所有的一切都在这里面。\tnote{b}\\ - thuthesis.cls & 模板类文件。\\ - thuthesis-numeric.bst & 参考文献 BibTeX 样式文件。\\ - thuthesis-author-year.bst & 参考文献 BibTeX 样式文件。\\ - thusetup.tex & 基本配置和常用的包、命令,减轻主文件的负担。\\ - \bottomrule - \end{tabular} - \begin{tablenotes} - \item [1] 表格中的脚注。如果脚注比较长,那么换行后的效果是这样的,需要更多的文字。 - 现在能看到么? - \item [b] 再来一个。可以使用不同的 symbol。 - \end{tablenotes} - \end{threeparttable} -\end{table} - -首先来看一个最简单的表格。表 \ref{tab:template-files} 列举了本模板主要文件及其功 -能。请大家注意三线表中各条线对应的命令。这个例子还展示了如何在表格中正确使用脚注。 -由于 \LaTeX{} 本身不支持在表格中使用 \cs{footnote},所以我们不得不将表格放在 -小页中,而且最好将表格的宽度设置为小页的宽度,这样脚注看起来才更美观。 - -\subsection{复杂表格} -\label{sec:complicatedtable} - -我们经常会在表格下方标注数据来源,或者对表格里面的条目进行解释。前面的脚注是一种 -不错的方法,如果不喜欢脚注,可以在表格后面写注释,比如表~\ref{tab:tabexamp1}。 -\begin{table}[htbp] - \centering - \caption{复杂表格示例 1。这个引用 \cite{tex} 不会导致编号混乱。} - \label{tab:tabexamp1} - \begin{minipage}[t]{0.8\textwidth} - \begin{tabularx}{\linewidth}{|l|X|X|X|X|} - \hline - \multirow{2}*{} & \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} 同时还演示了通过 \pkg{tabularx} 的 - \texttt{|X|} 扩展实现表格自动放大功能。 - -为了使我们的例子更接近实际情况,我会在必要的时候插入一些“无关”文字,以免太多图 -表同时出现,导致排版效果不太理想。第一个出场的当然是我的最爱:风流潇洒、骏马绝尘、 -健笔凌云的{\heiti 李太白}了。 - -李白,字太白,陇西成纪人。凉武昭王暠九世孙。或曰山东人,或曰蜀人。白少有逸才,志 -气宏放,飘然有超世之心。初隐岷山,益州长史苏颋见而异之,曰:“是子天才英特,可比 -相如。”天宝初,至长安,往见贺知章。知章见其文,叹曰:“子谪仙人也。”言于明皇, -召见金銮殿,奏颂一篇。帝赐食,亲为调羹,有诏供奉翰林。白犹与酒徒饮于市,帝坐沉香 -亭子,意有所感,欲得白为乐章,召入,而白已醉。左右以水颒面,稍解,援笔成文,婉丽 -精切。帝爱其才,数宴见。白常侍帝,醉,使高力士脱靴。力士素贵,耻之,摘其诗以激杨 -贵妃。帝欲官白,妃辄沮止。白自知不为亲近所容,恳求还山。帝赐金放还。乃浪迹江湖, -终日沉饮。永王璘都督江陵,辟为僚佐。璘谋乱,兵败,白坐长流夜郎,会赦得还。族人阳 -冰为当涂令,白往依之。代宗立,以左拾遗召,而白已卒。文宗时,诏以白歌诗、裴旻剑舞、 -张旭草书为三绝云。集三十卷。今编诗二十五卷。\hfill —— 《全唐诗》诗人小传 - -浮动体的并排放置一般有两种情况:1)二者没有关系,为两个独立的浮动体;2)二者隶属 -于同一个浮动体。对表格来说并排表格既可以像图~\ref{tab:parallel1}、 -图~\ref{tab:parallel2} 使用小页环境,也可以如图~\ref{tab:subtable} 使用子表格来做。 -图的例子参见第~\ref{sec:multifig} 节。 - -\begin{table}[htbp] -\noindent\begin{minipage}{0.5\textwidth} -\centering -\caption{第一个并排子表格} -\label{tab:parallel1} -\begin{tabular}{p{2cm}p{2cm}} -\toprule -111 & 222 \\\midrule -222 & 333 \\\bottomrule -\end{tabular} -\end{minipage}% -\begin{minipage}{0.5\textwidth} -\centering -\caption{第二个并排子表格} -\label{tab:parallel2} -\begin{tabular}{p{2cm}p{2cm}} -\toprule -111 & 222 \\\midrule -222 & 333 \\\bottomrule -\end{tabular} -\end{minipage} -\end{table} - -然后就是忧国忧民,诗家楷模杜工部了。杜甫,字子美,其先襄阳人,曾祖依艺为巩令,因 -居巩。甫天宝初应进士,不第。后献《三大礼赋》,明皇奇之,召试文章,授京兆府兵曹参 -军。安禄山陷京师,肃宗即位灵武,甫自贼中遁赴行在,拜左拾遗。以论救房琯,出为华州 -司功参军。关辅饥乱,寓居同州同谷县,身自负薪采梠,餔糒不给。久之,召补京兆府功曹, -道阻不赴。严武镇成都,奏为参谋、检校工部员外郎,赐绯。武与甫世旧,待遇甚厚。乃于 -成都浣花里种竹植树,枕江结庐,纵酒啸歌其中。武卒,甫无所依,乃之东蜀就高適。既至 -而適卒。是岁,蜀帅相攻杀,蜀大扰。甫携家避乱荆楚,扁舟下峡,未维舟而江陵亦乱。乃 -溯沿湘流,游衡山,寓居耒阳。卒年五十九。元和中,归葬偃师首阳山,元稹志其墓。天宝 -间,甫与李白齐名,时称李杜。然元稹之言曰:“李白壮浪纵恣,摆去拘束,诚亦差肩子美 -矣。至若铺陈终始,排比声韵,大或千言,次犹数百,词气豪迈,而风调清深,属对律切, -而脱弃凡近,则李尚不能历其藩翰,况堂奥乎。”白居易亦云:“杜诗贯穿古今, 尽工尽 -善,殆过于李。”元、白之论如此。盖其出处劳佚,喜乐悲愤,好贤恶恶,一见之于诗。而 -又以忠君忧国、伤时念乱为本旨。读其诗可以知其世,故当时谓之“诗史”。旧集诗文共六 -十卷,今编诗十九卷。 - -\begin{table}[htbp] -\centering -\caption{并排子表格} -\label{tab:subtable} -\subcaptionbox{第一个子表格} -{ -\begin{tabular}{p{2cm}p{2cm}} -\toprule -111 & 222 \\\midrule -222 & 333 \\\bottomrule -\end{tabular} -} -\hskip2cm -\subcaptionbox{第二个子表格} -{ -\begin{tabular}{p{2cm}p{2cm}} -\toprule -111 & 222 \\\midrule -222 & 333 \\\bottomrule -\end{tabular} -} -\end{table} - -不可否认 \LaTeX{} 的表格功能没有想象中的那么强大,不过只要足够认真,足够细致, -同样可以排出来非常复杂非常漂亮的表格。请参看表~\ref{tab:tabexamp2}。 -\begin{table}[htbp] - \centering\dawu[1.3] - \caption{复杂表格示例 2} - \label{tab:tabexamp2} - \begin{tabular}[c]{|m{1.5cm}|c|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}{1.5em}{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}{1.5cm}{Xue} & Rui & Ni &\multicolumn{4}{c|}{\multirow{2}*{\thuthesis}}\\\cline{2-3} - & \multicolumn{2}{c|}{ABCDEF} &\multicolumn{4}{c|}{} \\\hline -\end{tabular} -\end{table} - -最后就是清新飘逸、文约意赅、空谷绝响的王大侠了。王维,字摩诘,河东人。工书画,与 -弟缙俱有俊才。开元九年,进士擢第,调太乐丞。坐累为济州司仓参军,历右拾遗、监察御 -史、左补阙、库部郎中,拜吏部郎中。天宝末,为给事中。安禄山陷两都,维为贼所得,服 -药阳喑,拘于菩提寺。禄山宴凝碧池,维潜赋诗悲悼,闻于行在。贼平,陷贼官三等定罪, -特原之,责授太子中允,迁中庶子、中书舍人。复拜给事中,转尚书右丞。维以诗名盛于开 -元、天宝间,宁薛诸王驸马豪贵之门,无不拂席迎之。得宋之问辋川别墅,山水绝胜,与道 -友裴迪,浮舟往来,弹琴赋诗,啸咏终日。笃于奉佛,晚年长斋禅诵。一日,忽索笔作书 -数纸,别弟缙及平生亲故,舍笔而卒。赠秘书监。宝应中,代宗问缙:“朕常于诸王坐闻维 -乐章,今存几何?”缙集诗六卷,文四卷,表上之。敕答云,卿伯氏位列先朝,名高希代。 -抗行周雅,长揖楚辞。诗家者流,时论归美。克成编录,叹息良深。殷璠谓维诗词秀调雅, -意新理惬。在泉成珠,著壁成绘。苏轼亦云:“维诗中有画,画中有诗也。”今编诗四卷。 - -\begin{longtable}[c]{c*{6}{r}} -\caption{实验数据}\label{tab:performance}\\ -\toprule - 测试程序 & \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 -\endfirsthead -\multicolumn{7}{c}{续表~\thetable\hskip1em 实验数据}\\ -\toprule - 测试程序 & \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 -\endhead -\hline -\multicolumn{7}{r}{续下页} -\endfoot -\endlastfoot -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 -\end{longtable} - -要想用好论文模板还是得提前学习一些 \TeX/\LaTeX{} 的相关知识,具备一些基本能力,掌 -握一些常见技巧,否则一旦遇到问题还真是比较麻烦。我们见过很多这样的同学,一直以来 -都是使用 Word 等字处理工具,以为 \LaTeX{} 模板的用法也应该类似,所以就沿袭同样的思 -路来对待这种所见非所得的排版工具,结果被折腾的焦头烂额,疲惫不堪。 - -如果您要排版的表格长度超过一页,那么推荐使用 \pkg{longtable} 或者 \pkg{supertabular} -宏包,模板对 \pkg{longtable} 进行了相应的设置,所以用起来可能简单一些。 -表~\ref{tab:performance} 就是 \pkg{longtable} 的示例。 - -\subsection{其它} -\label{sec:tableother} -如果不想让某个表格或者图片出现在索引里面,请使用命令 \cs{caption*}。 -这个命令不会给表格编号,也就是出来的只有标题文字而没有“表~XX”,“图~XX”,否则 -索引里面序号不连续就显得不伦不类,这也是 \LaTeX{} 里星号命令默认的规则。 - -有这种需求的多是本科同学的英文资料翻译部分,如果觉得附录中英文原文中的表格和图 -片显示成“表”和“图”不协调的话,一个很好的办法就是用 \cs{caption*},参数 -随便自己写,比如不守规矩的表~1.111 和图~1.111 能满足这种特殊需要(可以参看附录部 -分)。 -\begin{table}[ht] - \begin{minipage}{0.4\linewidth} - \centering - \caption*{表~1.111\quad 这是一个手动编号,不出现在索引中的表格。} - \label{tab:badtabular} - \framebox(150,50)[c]{\thuthesis} - \end{minipage}% - \hfill% - \begin{minipage}{0.4\linewidth} - \centering - \caption*{Figure~1.111\quad 这是一个手动编号,不出现在索引中的图。} - \label{tab:badfigure} - \framebox(150,50)[c]{薛瑞尼} - \end{minipage} -\end{table} - -如果的确想让它编号,但又不想让它出现在索引中的话,目前模板上不支持。 - -最后,虽然大家不一定会独立使用小页,但是关于小页中的脚注还是有必要提一下。请看下 -面的例子。 - -\begin{minipage}[t]{\linewidth-2\parindent} - 柳宗元,字子厚(773-819),河东(今永济县)人\footnote{山西永济水饺。},是唐代 - 杰出的文学家,哲学家,同时也是一位政治改革家。与韩愈共同倡导唐代古文运动,并称 - 韩柳\footnote{唐宋八大家之首二位。}。 -\end{minipage} -\\ - -唐朝安史之乱后,宦官专权,藩镇割据,土地兼并日渐严重,社会生产破坏严重,民不聊生。柳宗 -元对这种社会现实极为不满,他积极参加了王叔文领导的“永济革新”,并成为这一 -运动的中坚人物。他们革除弊政,打击权奸,触犯了宦官和官僚贵族利益,在他们的联合反 -扑下,改革失败了,柳宗元被贬为永州司马。 - -\section{数学符号和公式} - -\subsection{数学符号} -数学符号应遵循 GB/T 3102.11-1993《物理科学和技术中使用的数学符号》 -(原 GB 3102.11-1993), -模板中使用 \pkg{unicode-math} 宏包来配置数学符号, -与 \LaTeX{} 默认的英美国家的符号习惯有所差异: -\begin{enumerate} - \item 大写希腊字母默认为斜体,如 \cs{Delta}:$\Delta$。 - \item 有限增量符号 $\increment$(U+2206)应使用 \pkg{unicode-math} 宏包提供的 - \cs{increment} 命令。 - \item 向量、矩阵和张量要求粗斜体,应使用 \cs{symbf} 命令, - 如 \verb|\symbf{A}|、\verb|\symbf{\alpha}|。 - \item 数学常数和特殊函数要求用正体,应使用 \cs{symup} 命令, - 如 $\symup{\pi} = 3.14\dots$; $\symup{e} = 2.718\dots$, - \item 微分号和积分号使用使用正体,比如 $\int f(x) \dif x$。 -\end{enumerate} - -关于数学符号更多的用法,参考 -\href{http://mirrors.ctan.org/macros/latex/contrib/unicode-math/unicode-math.pdf}{\pkg{unicode-math}} -宏包的使用说明, -全部数学符号命的令参考 -\href{http://mirrors.ctan.org/macros/latex/contrib/unicode-math/unimath-symbols.pdf}{\pkg{unimath-symbols}}。 - -关于量和单位推荐使用 -\href{http://mirrors.ctan.org/macros/latex/contrib/siunitx/siunitx.pdf}{\pkg{siunitx}} -宏包,比如: -\SI{6.4e6}{m}, -\SI{9}{\micro\meter}, -\si{kg.m.s^{-1}}, -\SIrange{10}{20}{\degreeCelsius}。 - -\subsection{数学公式} -\label{sec:equation} - -贝叶斯公式如式~(\ref{equ:chap1:bayes}),其中 $p(y|\vx)$ 为后验; -$p(\vx)$ 为先验;分母 $p(\vx)$ 为归一化因子。 -\begin{equation} -\label{equ:chap1:bayes} -p(y|\vx) = \frac{p(\vx,y)}{p(\vx)}= -\frac{p(\vx|y)p(y)}{p(\vx)} -\end{equation} - -论文里面公式越多,\TeX{} 就越 happy。再看一个 \pkg{amsmath} 的例子: -\newcommand{\envert}[1]{\left\lvert#1\right\rvert} -\begin{equation}\label{detK2} -\det\mK(t=1,t_1,\dots,t_n)=\sum_{I\in\vn}(-1)^{\envert{I}} -\prod_{i\in I}t_i\prod_{j\in I}(D_j+\lambda_jt_j)\det\mA -^{(\lambda)}(\overline{I}|\overline{I})=0. -\end{equation} - -前面定理示例部分列举了很多公式环境,可以说把常见的情况都覆盖了,大家在写公式的时 -候一定要好好看 \pkg{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)\dif x\biggr\}\dif y \\ - =\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\}\dif y -\end{multline*} - -其实还可以看看这个多级规划: -\begin{equation} - \label{bilevel} - \begin{cases} - \max_{\bm{x}} F(\bm{x}, y_1^*, y_2^*, \dots, y_m^*) \\ - \text{subject to:} \\ - \qquad G(\bm{x}) \le 0 \\ - \qquad (y_1^*, y_2^*, \dots, y_m^*) \text{ solves problems } - (i = 1, 2, \dots, m) \\ - \qquad - \begin{cases} - \max_{\bm{x}} f_i(\bm{x}, y_1, y_2, \dots, y_m) \\ - \text{subject to:} \\ - \qquad g_i(\bm{x}, y_1, y_2, \dots, y_m) \le 0. - \end{cases} - \end{cases} -\end{equation} -这些跟规划相关的公式都来自于刘宝碇老师《不确定规划》的课件。 - -\section{定理环境} -\label{sec:theorem} - -给大家演示一下各种和证明有关的环境,比如公式~\eqref{eq:eqnxmp}: - -\begin{assumption} -待月西厢下,迎风户半开;隔墙花影动,疑是玉人来。 -\begin{align} - \label{eq:eqnxmp} - c & = a^2 - b^2 \\ - & = (a+b)(a-b) -\end{align} -\end{assumption} - -千辛万苦,历尽艰难,得有今日。然相从数千里,未曾哀戚。今将渡江,方图百年欢笑,如 -何反起悲伤?(引自《杜十娘怒沉百宝箱》) - -\begin{definition} -\label{def:ziyue} -子曰:「道千乘之国,敬事而信,节用而爱人,使民以时。」 -\end{definition} - -千古第一定义!问世间、情为何物,只教生死相许?天南地北双飞客,老翅几回寒暑。欢乐趣,离别苦,就中更有痴儿女。 -君应有语,渺万里层云,千山暮雪,只影向谁去? - -横汾路,寂寞当年箫鼓,荒烟依旧平楚。招魂楚些何嗟及,山鬼暗谛风雨。天也妒,未信与,莺儿燕子俱黄土。 -千秋万古,为留待骚人,狂歌痛饮,来访雁丘处。(参见定义~\ref{def:ziyue}) - -\begin{proposition} - 曾子曰:「吾日三省吾身 —— 为人谋而不忠乎?与朋友交而不信乎?传不习乎?」 -\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)\dif x\biggr\}\dif y \\ - =\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\}\dif y -\end{multline*} -\end{lemma} - -行行重行行,与君生别离。相去万余里,各在天一涯。道路阻且长,会面安可知。胡马依北 -风,越鸟巢南枝。相去日已远,衣带日已缓。浮云蔽白日,游子不顾返。思君令人老,岁月 -忽已晚。 弃捐勿复道,努力加餐饭。 - -\begin{theorem}\label{the:theorem1} -犯我强汉者,虽远必诛\hfill —— 陈汤(汉) -\end{theorem} - -下面演示了子公式编号: -\begin{subequations} -\begin{align} -y & = 1 \\ -y & = 0 -\end{align} -\end{subequations} - -道可道,非常道。名可名,非常名。无名天地之始;有名万物之母。故常无,欲以观其妙; -常有,欲以观其徼。此两者,同出而异名,同谓之玄。玄之又玄,众妙之门。上善若水。水 -善利万物而不争,处众人之所恶,故几于道。曲则全,枉则直,洼则盈,敝则新,少则多, -多则惑。人法地,地法天,天法道,道法自然。知人者智,自知者明。胜人者有力,自胜 -者强。知足者富。强行者有志。不失其所者久。死而不亡者寿。 - -\begin{proof} -燕赵古称多感慨悲歌之士。董生举进士,连不得志于有司,怀抱利器,郁郁适兹土,吾 -知其必有合也。董生勉乎哉? - -夫以子之不遇时,苟慕义强仁者,皆爱惜焉,矧燕、赵之士出乎其性者哉!然吾尝闻 -风俗与化移易,吾恶知其今不异于古所云邪?聊以吾子之行卜之也。董生勉乎哉? - -吾因子有所感矣。为我吊望诸君之墓,而观于其市,复有昔时屠狗者乎?为我谢 -曰:“明天子在上,可以出而仕矣!” \hfill —— 韩愈《送董邵南序》 -\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} - \begin{cases} - \nabla f(\bm{x}^*) - \sum_{j=1}^p \lambda_j \nabla g_j(\bm{x}^*) - = 0 \\[0.3cm] - \lambda_j g_j(\bm{x}^*) = 0, \quad j = 1, 2, \dots, p \\[0.2cm] - \lambda_j \ge 0, \quad j = 1, 2, \dots, p. - \end{cases} -\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} 呢?加上 \cs{label} 使用 \cs{ref} 即可。妾发 -初覆额,折花门前剧。郎骑竹马来,绕床弄青梅。同居长干里,两小无嫌猜。 十四为君妇, -羞颜未尝开。低头向暗壁,千唤不一回。十五始展眉,愿同尘与灰。常存抱柱信,岂上望夫 -台。 十六君远行,瞿塘滟滪堆。五月不可触,猿声天上哀。门前迟行迹,一一生绿苔。苔深 -不能扫,落叶秋风早。八月蝴蝶来,双飞西园草。感此伤妾心,坐愁红颜老。 - -\section{参考文献} -\label{sec:bib} - -本模板推荐使用 BibTeX,分别提供数字引用(\texttt{thuthesis-numeric.bst})和作 -者年份引用(\texttt{thuthesis-author-year.bst})样式。 -看看这个例子,关于书的~\cite{tex, companion, - ColdSources},还有这些~\cite{Krasnogor2004e, clzs, zjsw},关于期刊 -的~\cite{ELIDRISSI94, MELLINGER96, SHELL02},硕士论文~\cite{zhubajie, - metamori2004},博士论文~\cite{shaheshang, FistSystem01},标准文 -件~\cite{IEEE-1363},会议论文~\cite{DPMG,kocher99},技术报告~\cite{NPB2},电子文 -献~\cite{chuban2001,oclc2000}。 -若使用著者-出版年制,中文参考文献~\cite{cnarticle}应增加 -\texttt{key=\{pinyin\}} 字段,以便正确进行排序~\cite{cnproceed}。 -另外,如果对参考文献有不如意的地方,请手动修改 \texttt{bbl} 文件。 - -如果需要标出引文页码\cite[42]{tex},引文页码放在方括号外\cite[73]{tex}。 - -有时候不想要上标,那么可以这样~\inlinecite{shaheshang}。 +\chapter{论文主要部分的写法} + +研究生学位论文撰写,除表达形式上需要符合一定的格式要求外,内容方面上也要遵循一些共性原则。 + +通常研究生学位论文只能有一个主题(不能是几块工作拼凑在一起),该主题应针对某学科领域中的一个具体问题展开深入、系统的研究,并得出有价值的研究结论。 +学位论文的研究主题切忌过大,例如,“中国国有企业改制问题研究”这样的研究主题过大,因为“国企改制”涉及的问题范围太广,很难在一本研究生学位论文中完全研究透彻。 + + + +\section{论文的语言及表述} + +除国际研究生外,学位论文一律须用汉语书写。 +学位论文应当用规范汉字进行撰写,除古汉语研究中涉及的古文字和参考文献中引用的外文文献之外,均采用简体汉字撰写。 + +国际研究生一般应以中文或英文书写学位论文,格式要求同上。 +论文须用中文封面。 + +研究生学位论文是学术作品,因此其表述要严谨简明,重点突出,专业常识应简写或不写,做到立论正确、数据可靠、说明透彻、推理严谨、文字凝练、层次分明,避免使用文学性质的或带感情色彩的非学术性语言。 + +论文中如出现一个非通用性的新名词、新术语或新概念,需随即解释清楚。 + + + +\section{论文题目的写法} + +论文题目应简明扼要地反映论文工作的主要内容,力求精炼、准确,切忌笼统。 +论文题目是对研究对象的准确、具体描述,一般要在一定程度上体现研究结论,因此,论文题目不仅应告诉读者这本论文研究了什么问题,更要告诉读者这个研究得出的结论。 +例如:“在事实与虚构之间:梅乐、卡彭特、沃尔夫的新闻观”就比“三个美国作家的新闻观研究”更专业、更准确。 + + + +\section{摘要的写法} + +论文摘要是对论文研究内容的高度概括,应具有独立性和自含性,即应是 一篇简短但意义完整的文章。 +通过阅读论文摘要,读者应该能够对论文的研究 方法及结论有一个整体性的了解,因此摘要的写法应力求精确简明。 +论文摘要 应包括对问题及研究目的的描述、对使用的方法和研究过程进行的简要介绍、 对研究结论的高度凝练等,重点是结果和结论。 + +论文摘要切忌写成全文的提纲,尤其要避免“第 1 章……;第 2 章……;……”这样的陈述方式。 + + + +\section{引言的写法} + +一篇学位论文的引言大致包含如下几个部分: +1、问题的提出; +2、选题背 景及意义; +3、文献综述; +4、研究方法; +5、论文结构安排。 +\begin{itemize} + \item 问题的提出:要清晰地阐述所要研究的问题“是什么”。 + \footnote{选题时切记要有“问题意识”,不要选不是问题的问题来研究。} + \item 选题背景及意义:论述清楚为什么选择这个题目来研究,即阐述该研究对学科发展的贡献、对国计民生的理论与现实意义等。 + \item 文献综述:对本研究主题范围内的文献进行详尽的综合述评,“述”的同时一定要有“评”,指出现有研究状态,仍存在哪些尚待解决的问题,讲出自己的研究有哪些探索性内容。 + \item 研究方法:讲清论文所使用的学术研究方法。 + \item 论文结构安排:介绍本论文的写作结构安排。 +\end{itemize} + + + +\section{正文的写法} + +本部分是论文作者的研究内容,不能将他人研究成果不加区分地掺和进来。 +已经在引言的文献综述部分讲过的内容,这里不需要再重复。 +各章之间要存在有机联系,符合逻辑顺序。 + + + +\section{结论的写法} + +结论是对论文主要研究结果、论点的提炼与概括,应精炼、准确、完整,使读者看后能全面了解论文的意义、目的和工作内容。 +结论是最终的、总体的结论,不是正文各章小结的简单重复。 +结论应包括论文的核心观点,主要阐述作者的创造性工作及所取得的研究成果在本领域中的地位、作用和意义,交代研究工作的局限,提出未来工作的意见或建议。 +同时,要严格区分自己取得的成果与指导教师及他人的学术成果。 + +在评价自己的研究工作成果时,要实事求是,除非有足够的证据表明自己的研究是“首次”、“领先”、“填补空白”的,否则应避免使用这些或类似词语。 diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex b/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex index 3721ede72b9..31f7032e1af 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex @@ -1,126 +1,85 @@ % !TeX root = ../thuthesis-example.tex -\chapter{图表公式例子} -\label{cha:chapter02} +\chapter{图表示例} -\section{其它例子} -\label{sec:other} +\section{插图} -在第~\ref{cha:intro} 章中我们学习了贝叶斯公式~(\ref{equ:chap1:bayes}),这里我们复 -习一下: -\begin{equation} -\label{equ:chap2:bayes} -p(y|\vx) = \frac{p(\vx,y)}{p(\vx)}= -\frac{p(\vx|y)p(y)}{p(\vx)} -\end{equation} +图片通常在 \env{figure} 环境中使用 \cs{includegraphics} 插入,如图~\ref{fig:example} 的源代码。 +建议矢量图片使用 PDF 格式,比如数据可视化的绘图; +照片应使用 JPG 格式; +其他的栅格图应使用无损的 PNG 格式。 +注意,LaTeX 不支持 TIFF 格式;EPS 格式已经过时。 -\subsection{绘图} -\label{sec:draw} - -本模板不再预先装载任何绘图包(如 \pkg{pstricks,pgf} 等),完全由用户来决定。 -个人觉得 \pkg{pgf} 不错,不依赖于 Postscript。此外还有很多针对 \LaTeX{} 的 - GUI 作图工具,如 XFig(jFig), WinFig, Tpx, Ipe, Dia, Inkscape, LaTeXPiX, -jPicEdt, jaxdraw 等等。 - -\subsection{插图} -\label{sec:graphs} - -强烈推荐《\LaTeXe{} 插图指南》!关于子图形的使用细节请参看 \pkg{subcaption} 宏包的说明文档。 - -\subsubsection{一个图形} -\label{sec:onefig} -一般图形都是处在浮动环境中。之所以称为浮动是指最终排版效果图形的位置不一定与源文 -件中的位置对应\footnote{This is not a bug, but a feature of \LaTeX!},这也是刚使 -用 \LaTeX{} 同学可能遇到的问题。如果要强制固定浮动图形的位置,请使用 \pkg{float} 宏包, -它提供了 \texttt{[H]} 参数,比如图~\ref{fig:xfig1}。 -\begin{figure}[H] % use float package if you want it here +\begin{figure} \centering - \includegraphics{thu-whole-logo.pdf} - \caption{利用 Xfig 制图} - \label{fig:xfig1} + \includegraphics[width=0.6\linewidth]{example-image-a.pdf} + \caption{示例图片} + \label{fig:example} \end{figure} -大学之道,在明明德,在亲民,在止于至善。知止而后有定;定而后能静;静而后能安;安 -而后能虑;虑而后能得。物有本末,事有终始。知所先后,则近道矣。古之欲明明德于天 -下者,先治其国;欲治其国者,先齐其家;欲齐其家者,先修其身;欲修其身者,先正其心; -欲正其心者,先诚其意;欲诚其意者,先致其知;致知在格物。物格而后知至;知至而后 -意诚;意诚而后心正;心正而后身 修;身修而后家齐;家齐而后国治;国治而后天下 -平。自天子以至于庶人,壹是皆以修身为本。其本乱而未治者 否矣。其所厚者薄,而其所 -薄者厚,未之有也! - -\hfill —— 《大学》 +若图或表中有附注,采用英文小写字母顺序编号,附注写在图或表的下方。 +% LaTeX 传统上一般将附注的内容同图表的标题写在一起,形成很长的一段文字。 +如果一个图由两个或两个以上分图组成时,各分图分别以(a)、(b)、(c)...... 作为图序,并须有分图题。 +推荐使用 \pkg{subcaption} 宏包来处理, 比如图~\ref{fig:subfig-a} 和图~\ref{fig:subfig-b}。 -\subsubsection{多个图形} -\label{sec:multifig} +\begin{figure} + \centering + \subcaptionbox{分图 A\label{fig:subfig-a}} + {\includegraphics[width=0.45\linewidth]{example-image-a.pdf}} + \subcaptionbox{分图 B\label{fig:subfig-b}} + {\includegraphics[width=0.45\linewidth]{example-image-b.pdf}} + \caption{多个分图的示例} + \label{fig:multi-image} +\end{figure} -如果多个图形相互独立,并不共用一个图形计数器,那么 -用 \texttt{minipage} 或者\texttt{parbox} 就可以。否则,请参看 -图~\ref{fig:big1-subcaptionbox},它包含两个小图,分别是图~\ref{fig:subfig1}和 -图~\ref{fig:subfig2}。推荐使用 \cs{subcaptionbox},因为可以像 -图~\ref{fig:big1-subcaptionbox} 那样对齐子图的标题,也可以使用 \pkg{subcaption} -宏包的 \cs{subcaption}(放在 minipage中,用法同\cs{caption})或 -是 \pkg{subfigure} 、\pkg{subtable}环境,像图~\ref{fig:big1-subfigure},不要再 -用 \cs{subfloat}、\cs{subfigure} 和 \cs{subtable}。 -\begin{figure}[h] - \centering% - \subcaptionbox{第一个小图形\label{fig:subfig1}}[3cm] %标题的长度,超过则会换行,如下一个小图。 - {\includegraphics[height=3cm]{thu-fig-logo.pdf}}% - \hspace{4em}% - \subcaptionbox{第二个小图形,注意这个图略矮些。如果标题很长的话,它会自动换行\label{fig:subfig2}} - {\includegraphics[height=2cm]{thu-text-logo.pdf}} - \caption{包含子图形的大图形(subcaptionbox示例)} - \label{fig:big1-subcaptionbox} -\end{figure} -\begin{figure}[h] - \centering% - \begin{subfigure}{3cm} - \includegraphics[height=3cm]{thu-fig-logo.pdf} - \caption{第一个小图形} - \end{subfigure}% - \hspace{4em}% - \begin{subfigure}{0.5\textwidth} - \includegraphics[height=2cm]{thu-text-logo.pdf} - \caption{第二个小图形,注意这个图略矮些。subfigure中同一行的子图在顶端对齐。} - \end{subfigure} - \caption{包含子图形的大图形(subfigure示例)} - \label{fig:big1-subfigure} -\end{figure} -古之学者必有师。师者,所以传道受业解惑也。人非生而知之者,孰能无惑?惑而不从师, -其为惑也,终不解矣。生乎吾前,其闻道也固先乎吾,吾从而师之;生乎吾後,其闻道也亦 -先乎吾,吾从而师之。吾师道也,夫庸知其年之先後生於吾乎!是故无贵无贱无长无少,道 -之所存,师之所存也。 +\section{表格} -嗟乎!师道之不传也久矣,欲人之无惑也难矣。古之圣人,其出人也远矣,犹且从师而问焉; -今之众人,其下圣人也亦远矣,而耻学於师。是故圣益圣,愚益愚。圣人之所以为圣,愚 -人之所以为愚,其皆出於此乎?爱其子,择师而教之,於其身也,则耻师焉,惑焉。彼童子 -之师,授之书而习其句读者,非吾所谓传其道、解其惑者也。句读之不知,惑之不解,或师 -焉,或不焉,小学而大遗,吾未见其明也。巫医、乐师、百工之人不耻相师, 士大夫之族 -曰“师”曰“弟子”之云者,则群聚而笑之。问之,则曰:彼与彼年相若也,道相似也,位 -卑则足羞,官盛则近谀。呜呼!师道之不复,可知矣。巫医、乐师、百工之人。吾子不齿, -今其智乃反不能及,其可怪也欤!圣人无常师。孔子师郯子、苌子、师襄、老聃。郯子之徒, -其贤不及孔子。孔子曰:“三人行,必有我师。”是故弟子不必不如师,师不必贤於弟子。 -闻道有先後,术业有专攻,如是而已。 +表应具有自明性。为使表格简洁易读,尽可能采用三线表,如表~\ref{tab:three-line}。 +三条线可以使用 \pkg{booktabs} 宏包提供的命令生成。 -如果要把编号的两个图形并排,那么小页就非常有用了: -\begin{figure} -\begin{minipage}{0.48\textwidth} +\begin{table} \centering - \includegraphics[height=2cm]{thu-whole-logo.pdf} - \caption{并排第一个图} - \label{fig:parallel1} -\end{minipage}\hfill -\begin{minipage}{0.48\textwidth} + \caption{三线表示例} + \begin{tabular}{ll} + \toprule + 文件名 & 描述 \\ + \midrule + thuthesis.dtx & 模板的源文件,包括文档和注释 \\ + thuthesis.cls & 模板文件 \\ + thuthesis-*.bst & BibTeX 参考文献表样式文件 \\ + thuthesis-*.bbx & BibLaTeX 参考文献表样式文件 \\ + thuthesis-*.cbx & BibLaTeX 引用样式文件 \\ + \bottomrule + \end{tabular} + \label{tab:three-line} +\end{table} + +表格如果有附注,尤其是需要在表格中进行标注时,可以使用 \pkg{threeparttable} 宏包。 +研究生要求使用英文小写字母 a、b、c……顺序编号,本科生使用圈码 ①、②、③……编号。 + +\begin{table} \centering - \includegraphics[height=2cm]{thu-whole-logo.pdf} - \caption{并排第二个图} - \label{fig:parallel2} -\end{minipage} -\end{figure} - -李氏子蟠,年十七,好古文、六艺,经传皆通习之,不拘於时,学於余。余嘉其能行古 -道,作师说以贻之。 - -\hfill —— 韩愈(唐) + \begin{threeparttable}[c] + \caption{带附注的表格示例} + \label{tab:three-part-table} + \begin{tabular}{ll} + \toprule + 文件名 & 描述 \\ + \midrule + thuthesis.dtx\tnote{a} & 模板的源文件,包括文档和注释 \\ + thuthesis.cls\tnote{b} & 模板文件 \\ + thuthesis-*.bst & BibTeX 参考文献表样式文件 \\ + thuthesis-*.bbx & BibLaTeX 参考文献表样式文件 \\ + thuthesis-*.cbx & BibLaTeX 引用样式文件 \\ + \bottomrule + \end{tabular} + \begin{tablenotes} + \item [a] 可以通过 xelatex 编译生成模板的使用说明文档; + 使用 xetex 编译 \file{thuthesis.ins} 时则会从 \file{.dtx} 中去除掉文档和注释,得到精简的 \file{.cls} 文件。 + \item [b] 更新模板时,一定要记得编译生成 \file{.cls} 文件,否则编译论文时载入的依然是旧版的模板。 + \end{tablenotes} + \end{threeparttable} +\end{table} diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/chap03.tex b/Master/texmf-dist/doc/latex/thuthesis/data/chap03.tex new file mode 100644 index 00000000000..2cb452b0be8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/thuthesis/data/chap03.tex @@ -0,0 +1,76 @@ +% !TeX root = ../thuthesis-example.tex + +\chapter{数学符号和公式} + +\section{数学符号} + +研究生《写作指南》要求量及其单位所使用的符号应符合国家标准《国际单位制及其应用》(GB 3100—1993)、《有关量、单位和符号的一般原则》(GB/T 3101—1993) 的规定。 +模板中使用 \pkg{unicode-math} 宏包来配置数学符号, +与 \LaTeX{} 默认的英美国家的符号习惯有所差异: +\begin{enumerate} + \item 大写希腊字母默认为斜体,如 \cs{Delta}:$\Delta$。 + \item 有限增量符号 $\increment$(U+2206)应使用 \pkg{unicode-math} 宏包提供的 + \cs{increment} 命令。 + \item 向量、矩阵和张量要求粗斜体,应该使用 \pkg{unicode-math} 的 \cs{symbf} 命令, + 如 \verb|\symbf{A}|、\verb|\symbf{\alpha}|。 + \item 数学常数和特殊函数要求用正体,应使用 \cs{symup} 命令, + 如 $\symup{\pi} = 3.14\dots$; $\symup{e} = 2.718\dots$, + \item 微分号和积分号使用使用正体,比如 $\int f(x) \dif x$。 +\end{enumerate} + +关于数学符号更多的用法,参考 +\href{http://mirrors.ctan.org/macros/latex/contrib/unicode-math/unicode-math.pdf}{\pkg{unicode-math}} +宏包的使用说明, +全部数学符号命的令参考 +\href{http://mirrors.ctan.org/macros/latex/contrib/unicode-math/unimath-symbols.pdf}{\pkg{unimath-symbols}}。 + +关于量和单位推荐使用 +\href{http://mirrors.ctan.org/macros/latex/contrib/siunitx/siunitx.pdf}{\pkg{siunitx}} +宏包, +可以方便地处理希腊字母以及数字与单位之间的空白, +比如: +\SI{6.4e6}{m}, +\SI{9}{\micro\meter}, +\si{kg.m.s^{-1}}, +\SIrange{10}{20}{\degreeCelsius}。 + + + +\section{数学公式} + +数学公式可以使用 \env{equation} 和 \env{equation*} 环境。 +注意数学公式的引用应前后带括号,建议使用 \cs{eqref} 命令,比如式 \eqref{eq:example}。 +\begin{equation} + \frac{1}{2 \symup{\pi} \symup{i}} \int_\gamma f = \sum_{k=1}^m n(\gamma; a_k) \mathscr{R}(f; a_k) + \label{eq:example} +\end{equation} +注意公式编号的引用应含有圆括号,可以使用 \cs{eqref} 命令。 + +多行公式尽可能在“=”处对齐,推荐使用 \env{align} 环境。 +\begin{align} + a & = b + c + d + e \\ + & = f + g +\end{align} + + + +\section{数学定理} + +定理环境的格式可以使用 \pkg{amsthm} 或者 \pkg{ntheorem} 宏包配置。 +用户在导言区载入这两者之一后,模板会自动配置 \env{thoerem}、\env{proof} 等环境。 + +\begin{theorem}[Lindeberg--Lévy 中心极限定理] + 设随机变量 $X_1, X_2, \dots, X_n$ 独立同分布, 且具有期望 $\mu$ 和有限的方差 $\sigma^2 \ne 0$, + 记 $\bar{X}_n = \frac{1}{n} \sum_{i+1}^n X_i$,则 + \begin{equation} + \lim_{n \to \infty} P \left(\frac{\sqrt{n} \left( \bar{X}_n - \mu \right)}{\sigma} \le z \right) = \Phi(z), + \end{equation} + 其中 $\Phi(z)$ 是标准正态分布的分布函数。 +\end{theorem} +\begin{proof} + Trivial. +\end{proof} + +同时模板还提供了 \env{assumption}、\env{definition}、\env{proposition}、 +\env{lemma}、\env{theorem}、\env{axiom}、\env{corollary}、\env{exercise}、 +\env{example}、\env{remar}、\env{problem}、\env{conjecture} 这些相关的环境。 diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/chap04.tex b/Master/texmf-dist/doc/latex/thuthesis/data/chap04.tex new file mode 100644 index 00000000000..a7fcc1439f8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/thuthesis/data/chap04.tex @@ -0,0 +1,73 @@ +% !TeX root = ../thuthesis-example.tex + +\chapter{引用文献的标注} + +模板支持 BibTeX 和 BibLaTeX 两种方式处理参考文献。 +下文主要介绍 BibTeX 配合 \pkg{natbib} 宏包的主要使用方法。 + + +\section{顺序编码制} + +在顺序编码制下,默认的 \cs{cite} 命令同 \cs{citep} 一样,序号置于方括号中, +引文页码会放在括号外。 +统一处引用的连续序号会自动用短横线连接。 + +\thusetup{ + cite-style = super, +} +\begin{tabular}{l@{\quad$\Rightarrow$\quad}l} + \verb|\cite{zhangkun1994}| & \cite{zhangkun1994} \\ + \verb|\citet{zhangkun1994}| & \citet{zhangkun1994} \\ + \verb|\citep{zhangkun1994}| & \citep{zhangkun1994} \\ + \verb|\cite[42]{zhangkun1994}| & \cite[42]{zhangkun1994} \\ + \verb|\cite{zhangkun1994,zhukezhen1973}| & \cite{zhangkun1994,zhukezhen1973} \\ +\end{tabular} + + +也可以取消上标格式,将数字序号作为文字的一部分。 +建议全文统一使用相同的格式。 + +\thusetup{ + cite-style = inline, +} +\begin{tabular}{l@{\quad$\Rightarrow$\quad}l} + \verb|\cite{zhangkun1994}| & \cite{zhangkun1994} \\ + \verb|\citet{zhangkun1994}| & \citet{zhangkun1994} \\ + \verb|\citep{zhangkun1994}| & \citep{zhangkun1994} \\ + \verb|\cite[42]{zhangkun1994}| & \cite[42]{zhangkun1994} \\ + \verb|\cite{zhangkun1994,zhukezhen1973}| & \cite{zhangkun1994,zhukezhen1973} \\ +\end{tabular} + + + +\section{著者-出版年制} + +著者-出版年制下的 \cs{cite} 跟 \cs{citet} 一样。 + +\thusetup{ + cite-style = author-year, +} +\begin{tabular}{l@{\quad$\Rightarrow$\quad}l} + \verb|\cite{zhangkun1994}| & \cite{zhangkun1994} \\ + \verb|\citet{zhangkun1994}| & \citet{zhangkun1994} \\ + \verb|\citep{zhangkun1994}| & \citep{zhangkun1994} \\ + \verb|\cite[42]{zhangkun1994}| & \cite[42]{zhangkun1994} \\ + \verb|\citep{zhangkun1994,zhukezhen1973}| & \citep{zhangkun1994,zhukezhen1973} \\ +\end{tabular} + +\vskip 2ex +\thusetup{ + cite-style = super, +} +注意,引文参考文献的每条都要在正文中标注 +\cite{zhangkun1994,zhukezhen1973,dupont1974bone,zhengkaiqing1987,% + jiangxizhou1980,jianduju1994,merkt1995rotational,mellinger1996laser,% + bixon1996dynamics,mahui1995,carlson1981two,taylor1983scanning,% + taylor1981study,shimizu1983laser,atkinson1982experimental,% + kusch1975perturbations,guangxi1993,huosini1989guwu,wangfuzhi1865songlun,% + zhaoyaodong1998xinshidai,biaozhunhua2002tushu,chubanzhuanye2004,% + who1970factors,peebles2001probability,baishunong1998zhiwu,% + weinstein1974pathogenic,hanjiren1985lun,dizhi1936dizhi,% + tushuguan1957tushuguanxue,aaas1883science,fugang2000fengsha,% + xiaoyu2001chubanye,oclc2000about,scitor2000project% +}。 diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/denotation.tex b/Master/texmf-dist/doc/latex/thuthesis/data/denotation.tex index d3aa4f13bbb..914288e3eb5 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/denotation.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/denotation.tex @@ -1,59 +1,93 @@ % !TeX root = ../thuthesis-example.tex \begin{denotation}[3cm] -\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[$\increment G$] 活化自由能 (Activation Free Energy) -\item[$\chi$] 传输系数 (Transmission Coefficient) -\item[$E$] 能量 -\item[$m$] 质量 -\item[$c$] 光速 -\item[$P$] 概率 -\item[$T$] 时间 -\item[$v$] 速度 -\item[劝学] 君子曰:学不可以已。青,取之于蓝,而青于蓝;冰,水为之,而寒于水。木 - 直中绳。輮以为轮,其曲中规。虽有槁暴,不复挺者,輮使之然也。故木受绳则直,金就 - 砺则利,君子博学而日参省乎己,则知明而行无过矣。吾尝终日而思矣,不如须臾之所学 - 也;吾尝跂而望矣,不如登高之博见也。登高而招,臂非加长也,而见者远;顺风而呼, - 声非加疾也,而闻者彰。假舆马者,非利足也,而致千里;假舟楫者,非能水也,而绝江 - 河,君子生非异也,善假于物也。积土成山,风雨兴焉;积水成渊,蛟龙生焉;积善成德, - 而神明自得,圣心备焉。故不积跬步,无以至千里;不积小流,无以成江海。骐骥一跃, - 不能十步;驽马十驾,功在不舍。锲而舍之,朽木不折;锲而不舍,金石可镂。蚓无爪牙 - 之利,筋骨之强,上食埃土,下饮黄泉,用心一也。蟹六跪而二螯,非蛇鳝之穴无可寄托 - 者,用心躁也。—— 荀况 + \item[PI] 聚酰亚胺 + \item[MPI] 聚酰亚胺模型化合物,N-苯基邻苯酰亚胺 + \item[PBI] 聚苯并咪唑 + \item[MPBI] 聚苯并咪唑模型化合物,N-苯基苯并咪唑 + \item[PY] 聚吡咙 + \item[PMDA-BDA] 均苯四酸二酐与联苯四胺合成的聚吡咙薄膜 + \item[MPY] 聚吡咙模型化合物 + \item[As-PPT] 聚苯基不对称三嗪 + \item[MAsPPT] 聚苯基不对称三嗪单模型化合物,3,5,6-三苯基-1,2,4-三嗪 + \item[DMAsPPT] 聚苯基不对称三嗪双模型化合物(水解实验模型化合物) + \item[S-PPT] 聚苯基对称三嗪 + \item[MSPPT] 聚苯基对称三嗪模型化合物,2,4,6-三苯基-1,3,5-三嗪 + \item[PPQ] 聚苯基喹噁啉 + \item[MPPQ] 聚苯基喹噁啉模型化合物,3,4-二苯基苯并二嗪 + \item[HMPI] 聚酰亚胺模型化合物的质子化产物 + \item[HMPY] 聚吡咙模型化合物的质子化产物 + \item[HMPBI] 聚苯并咪唑模型化合物的质子化产物 + \item[HMAsPPT] 聚苯基不对称三嗪模型化合物的质子化产物 + \item[HMSPPT] 聚苯基对称三嗪模型化合物的质子化产物 + \item[HMPPQ] 聚苯基喹噁啉模型化合物的质子化产物 + \item[PDT] 热分解温度 + \item[HPLC] 高效液相色谱 (High Performance Liquid Chromatography) + \item[HPCE] 高效毛细管电泳色谱 (High Performance Capillary lectrophoresis) + \item[LC-MS] 液相色谱-质谱联用 (Liquid chromatography-Mass Spectrum) + \item[TIC] 总离子浓度 (Total Ion Content) + \item[\textit{ab initio}] 基于第一原理的量子化学计算方法,常称从头算法 + \item[DFT] 密度泛函理论 (Density Functional Theory) + \item[$E_a$] 化学反应的活化能 (Activation Energy) + \item[ZPE] 零点振动能 (Zero Vibration Energy) + \item[PES] 势能面 (Potential Energy Surface) + \item[TS] 过渡态 (Transition State) + \item[TST] 过渡态理论 (Transition State Theory) + \item[$\increment G^\neq$] 活化自由能(Activation Free Energy) + \item[$\kappa$] 传输系数 (Transmission Coefficient) + \item[IRC] 内禀反应坐标 (Intrinsic Reaction Coordinates) + \item[$\nu_i$] 虚频 (Imaginary Frequency) + \item[ONIOM] 分层算法 (Our own N-layered Integrated molecular Orbital and molecular Mechanics) + \item[SCF] 自洽场 (Self-Consistent Field) + \item[SCRF] 自洽反应场 (Self-Consistent Reaction Field) \end{denotation} -% % 也可以使用 nomencl 宏包: +% 也可以使用 nomencl 宏包,需要在导言区 +% \usepackage{nomencl} +% \makenomenclature +% 在这里输出符号说明 % \printnomenclature[3cm] -% \nomenclature{HPC}{高性能计算 (High Performance Computing)} -% \nomenclature{cluster}{集群} -% \nomenclature{Itanium}{安腾} -% \nomenclature{SMP}{对称多处理} -% \nomenclature{API}{应用程序编程接口} +% 在正文中的任意为都可以标题 % \nomenclature{PI}{聚酰亚胺} % \nomenclature{MPI}{聚酰亚胺模型化合物,N-苯基邻苯酰亚胺} % \nomenclature{PBI}{聚苯并咪唑} % \nomenclature{MPBI}{聚苯并咪唑模型化合物,N-苯基苯并咪唑} % \nomenclature{PY}{聚吡咙} % \nomenclature{PMDA-BDA}{均苯四酸二酐与联苯四胺合成的聚吡咙薄膜} -% \nomenclature{$\increment G$}{活化自由能 (Activation Free Energy)} -% \nomenclature{$\chi$}{传输系数 (Transmission Coefficient)} -% \nomenclature{$E$}{能量} -% \nomenclature{$m$}{质量} -% \nomenclature{$c$}{光速} -% \nomenclature{$P$}{概率} -% \nomenclature{$T$}{时间} -% \nomenclature{$v$}{速度} +% \nomenclature{MPY}{聚吡咙模型化合物} +% \nomenclature{As-PPT}{聚苯基不对称三嗪} +% \nomenclature{MAsPPT}{聚苯基不对称三嗪单模型化合物,3,5,6-三苯基-1,2,4-三嗪} +% \nomenclature{DMAsPPT}{聚苯基不对称三嗪双模型化合物(水解实验模型化合物)} +% \nomenclature{S-PPT}{聚苯基对称三嗪} +% \nomenclature{MSPPT}{聚苯基对称三嗪模型化合物,2,4,6-三苯基-1,3,5-三嗪} +% \nomenclature{PPQ}{聚苯基喹噁啉} +% \nomenclature{MPPQ}{聚苯基喹噁啉模型化合物,3,4-二苯基苯并二嗪} +% \nomenclature{HMPI}{聚酰亚胺模型化合物的质子化产物} +% \nomenclature{HMPY}{聚吡咙模型化合物的质子化产物} +% \nomenclature{HMPBI}{聚苯并咪唑模型化合物的质子化产物} +% \nomenclature{HMAsPPT}{聚苯基不对称三嗪模型化合物的质子化产物} +% \nomenclature{HMSPPT}{聚苯基对称三嗪模型化合物的质子化产物} +% \nomenclature{HMPPQ}{聚苯基喹噁啉模型化合物的质子化产物} +% \nomenclature{PDT}{热分解温度} +% \nomenclature{HPLC}{高效液相色谱 (High Performance Liquid Chromatography)} +% \nomenclature{HPCE}{高效毛细管电泳色谱 (High Performance Capillary lectrophoresis)} +% \nomenclature{LC-MS}{液相色谱-质谱联用 (Liquid chromatography-Mass Spectrum)} +% \nomenclature{TIC}{总离子浓度 (Total Ion Content)} +% \nomenclature{\textit{ab initio}}{基于第一原理的量子化学计算方法,常称从头算法} +% \nomenclature{DFT}{密度泛函理论 (Density Functional Theory)} +% \nomenclature{$E_a$}{化学反应的活化能 (Activation Energy)} +% \nomenclature{ZPE}{零点振动能 (Zero Vibration Energy)} +% \nomenclature{PES}{势能面 (Potential Energy Surface)} +% \nomenclature{TS}{过渡态 (Transition State)} +% \nomenclature{TST}{过渡态理论 (Transition State Theory)} +% \nomenclature{$\increment G^\neq$}{活化自由能(Activation Free Energy)} +% \nomenclature{$\kappa$}{传输系数 (Transmission Coefficient)} +% \nomenclature{IRC}{内禀反应坐标 (Intrinsic Reaction Coordinates)} +% \nomenclature{$\nu_i$}{虚频 (Imaginary Frequency)} +% \nomenclature{ONIOM}{分层算法 (Our own N-layered Integrated molecular Orbital and molecular Mechanics)} +% \nomenclature{SCF}{自洽场 (Self-Consistent Field)} +% \nomenclature{SCRF}{自洽反应场 (Self-Consistent Reaction Field)} diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/resolution.tex b/Master/texmf-dist/doc/latex/thuthesis/data/resolution.tex index e3d7c3dab67..81091ea9a3d 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/resolution.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/resolution.tex @@ -12,6 +12,6 @@ 3. …… -论文工作表明作者在×××××具有×××××知识,具有×××××能力,论文××××××××××,答辩×××××××××××××××。 +论文工作表明作者在×××××具有×××××知识,具有××××能力,论文××××,答辩××××。 答辩委员会表决,(×票/一致)同意通过论文答辩,并建议授予×××(姓名)×××(门类)学博士/硕士学位。 diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex b/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex index 02d777bbf18..025bf58e766 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex @@ -2,52 +2,32 @@ \begin{resume} - \resumeitem{个人简历} - - xxxx 年 xx 月 xx 日出生于 xx 省 xx 县。 - - xxxx 年 9 月考入 xx 大学 xx 系 xx 专业,xxxx 年 7 月本科毕业并获得 xx 学士学位。 - - xxxx 年 9 月免试进入 xx 大学 xx 系攻读 xx 学位至今。 - - \researchitem{发表的学术论文} % 发表的和录用的合在一起 - - % 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 源刊.) - \end{publications} - - % 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} - - % 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{研究成果} % 有就写,没有就删除 + \section*{个人简历} + + 197× 年 ×× 月 ×× 日出生于四川××县。 + + 1992 年 9 月考入××大学化学系××化学专业,1996 年 7 月本科毕业并获得理学学士学位。 + + 1996 年 9 月免试进入清华大学化学系攻读××化学博士至今。 + + + \section*{在学期间完成的相关学术成果} + + \subsection*{学术论文} + + \begin{achievements} + \item Yang Y, Ren T L, Zhang L T, et al. Miniature microphone with silicon-based ferroelectric thin films[J]. Integrated Ferroelectrics, 2003, 52:229-235. + \item 杨轶, 张宁欣, 任天令, 等. 硅基铁电微声学器件中薄膜残余应力的研究[J]. 中国机械工程, 2005, 16(14):1289-1291. + \item 杨轶, 张宁欣, 任天令, 等. 集成铁电器件中的关键工艺研究[J]. 仪器仪表学报, 2003, 24(S4):192-193. + \item Yang Y, Ren T L, Zhu Y P, et al. PMUTs for handwriting recognition. In press[J]. (已被Integrated Ferroelectrics录用) + \end{achievements} + + + \subsection*{专利} + \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[P]. 2005-03-30. + \item Ren T L, Yang Y, Zhu Y P, et al. Piezoelectric micro acoustic sensor based on ferroelectric materials: USA, No.11/215, 102[P]. (美国发明专利申请号.) \end{achievements} \end{resume} diff --git a/Master/texmf-dist/doc/latex/thuthesis/figures/committee.pdf b/Master/texmf-dist/doc/latex/thuthesis/figures/committee.pdf deleted file mode 100644 index 37f210a1157..00000000000 Binary files a/Master/texmf-dist/doc/latex/thuthesis/figures/committee.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/figures/scan-copyright.pdf b/Master/texmf-dist/doc/latex/thuthesis/figures/scan-copyright.pdf deleted file mode 100644 index 9d5c5a56654..00000000000 Binary files a/Master/texmf-dist/doc/latex/thuthesis/figures/scan-copyright.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/figures/scan-record.pdf b/Master/texmf-dist/doc/latex/thuthesis/figures/scan-record.pdf deleted file mode 100644 index db0dcef7b25..00000000000 Binary files a/Master/texmf-dist/doc/latex/thuthesis/figures/scan-record.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/figures/scan-statement.pdf b/Master/texmf-dist/doc/latex/thuthesis/figures/scan-statement.pdf deleted file mode 100644 index 25e1494d7ac..00000000000 Binary files a/Master/texmf-dist/doc/latex/thuthesis/figures/scan-statement.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/figures/thu-fig-logo.pdf b/Master/texmf-dist/doc/latex/thuthesis/figures/thu-fig-logo.pdf deleted file mode 100644 index 594a3429578..00000000000 Binary files a/Master/texmf-dist/doc/latex/thuthesis/figures/thu-fig-logo.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/figures/thu-lib-logo.pdf b/Master/texmf-dist/doc/latex/thuthesis/figures/thu-lib-logo.pdf deleted file mode 100644 index 996961e825d..00000000000 Binary files a/Master/texmf-dist/doc/latex/thuthesis/figures/thu-lib-logo.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/figures/thu-text-logo.pdf b/Master/texmf-dist/doc/latex/thuthesis/figures/thu-text-logo.pdf deleted file mode 100644 index 7f20baf74bb..00000000000 Binary files a/Master/texmf-dist/doc/latex/thuthesis/figures/thu-text-logo.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/figures/thu-whole-logo.pdf b/Master/texmf-dist/doc/latex/thuthesis/figures/thu-whole-logo.pdf deleted file mode 100644 index 1107b0d3ae9..00000000000 Binary files a/Master/texmf-dist/doc/latex/thuthesis/figures/thu-whole-logo.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/ref/refs.bib b/Master/texmf-dist/doc/latex/thuthesis/ref/refs.bib index 120569caab0..ff2b667a716 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/ref/refs.bib +++ b/Master/texmf-dist/doc/latex/thuthesis/ref/refs.bib @@ -1,222 +1,330 @@ -@book{IEEE-1363, - author = {{IEEE Std 1363-2000}}, - title = {{IEEE} Standard Specifications for Public-Key Cryptography}, - address = {New York}, - publisher = {IEEE}, - year = 2000 -} - -@inproceedings{kocher99, - author = {C. Kocher and J. Jaffe and B. Jun}, - title = {Differential Power Analysis}, - editor = {M. Wiener}, - booktitle = {Advances in Cryptology ({CRYPTO}~'99)}, - series = {Lecture Notes in Computer Science}, - volume = 1666, - pages = {388-397}, - publisher = {Springer-Verlag}, - address = {Germany}, - month = {August}, - year = 1999 -} - -@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 = {武汉}, -} - -@inbook{clzs, - author = {阎真}, - title = {沧浪之水}, - chapter = {大人物还是讲人情的}, - pages = {185-207}, - publisher = {人民文学出版社}, - address = {北京}, - year = 2001, -} - -@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}, - editor = {Jack Dongarra and Domenico Laforenza and Salvatore Orlando}, - publisher = {Springer-Verlag}, - year = 2003, - address = {Venice, Italy}, - month = sep, -} - -@inproceedings{cnproceed, - author = {王重阳 and 黄药师 and 欧阳峰 and 洪七公 and 段皇帝}, - publisher = {金大庸}, - title = {武林高手从入门到精通}, - booktitle = {第~$N$~次华山论剑}, - year = 2006, - address = {西安, 中国}, - month = sep, -} - -@article{cnarticle, - author = "贾宝玉 and 林黛玉 and 薛宝钗 and 贾探春", - title = "论刘姥姥食量大如牛之现实意义", - journal = "红楼梦杂谈", - pages = "260--266", - volume = 224, - year = 1800, -} - -@mastersthesis{zhubajie, - author = {猪八戒}, - title = {论流体食物的持久保存}, - school = {广寒宫大学}, - year = 2005, - address = {北京}, -} - -@phdthesis{shaheshang, - author = {沙和尚}, - title = {论流沙河的综合治理}, - school = {清华大学}, - year = 2005, - address = {北京}, -} - -@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, - address = {USA}, -} - -@online{chuban2001, - author = {萧钰}, - title = {出版业信息化迈入快车道}, - date = {2001-12-19}, - urldate = {2002-04-15}, - url = {http://www.creader.com/news/200112190019.htm}, -} - -@online{oclc2000, - author = {{Online Computer Library Center, Inc.}}, - title = {History of {OCLC}}, - year = 2000, - urldate = {2000-01-08}, - url = {http://www.oclc.org/about/history/default.htm}, -} - -@online{thuthesis, - author = {薛瑞尼}, - title = {ThuThesis: 清华大学学位论文模板}, - urldate = {2019-04-27}, - url = {https://github.com/xueruini/thuthesis}, - year = 2017, +@article{zhangkun1994, + author = {张昆 and 冯立群 and 余昌钰 and others}, + title = {机器人柔性手腕的球面齿轮设计研究}, + journal = {清华大学学报: 自然科学版}, + volume = {34}, + number = {2}, + pages = {1--7}, + year = {1994}, + key = {zhang1 kun1}, +} + +@book{zhukezhen1973, + author = {竺可桢}, + title = {物理学论}, + address = {北京}, + publisher = {科学出版社}, + year = {1973}, + pages = {56--60}, + key = {zhu2 ke3 zhen1}, +} + +@inproceedings{dupont1974bone, + author = {Dupont, B}, + title = {Bone marrow transplantation in severe combined immunodeficiency with an unrelated MLC compatible donor}, + editor = {White, H J and Smith, R}, + booktitle = {Proceedings of the third annual meeting of the International Society for Experimental Hematology}, + address = {Houston}, + publisher = {International Society for Experimental Hematology}, + year = {1974}, + pages = {44--46}, +} + +@mastersthesis{zhengkaiqing1987, + author = {郑开青}, + title = {通讯系统模拟及软件}, + address = {北京}, + school = {清华大学无线电系}, + year = {1987}, + key = {zheng4 kai1 qing1}, +} + +@patent{jiangxizhou1980, + author = {姜锡洲}, + title = {一种温热外敷药制备方案: 中国, 88105607.3}, + date = {1980-07-26}, + key = {jiang1 xi1 zhou1}, +} + +@standard{jianduju1994, + author = {中华人民共和国国家技术监督局}, + title = {GB3100-3102. 中华人民共和国国家标准-量与单位}, + address = {北京}, + publisher = {中国标准出版社}, + year = {1994}, + key = {zhong1 hua2 ren2 min2 gong4 he2 guo2}, +} + +@article{merkt1995rotational, + author = {Merkt, Fr{\'e}d{\'e}ric and Mackenzie, S R and Softley, Timothy P}, + title = {Rotational Autoionization Dynamics in High Rydberg States of Nitrogen}, + journal = {J Chem Phys}, + year = {1995}, + volume = {103}, + pages = {4509--4518}, +} + +@article{mellinger1996laser, + author = {Mellinger, A and Vidal, C R and Jungen, {Ch}}, + title = {Laser reduced fluorescence study of the carbon monoxide nd triplet Rydberg series - Experimental results and multichannel quantum defect analysis}, + journal = {J Chem Phys}, + year = {1996}, + volume = {104}, + pages = {8913--8921}, +} + +@article{bixon1996dynamics, + author = {Bixon, M and Jortner, Joshua}, + title = {The dynamics of predissociating high {Rydberg} states of {NO}}, + journal = {J Chem Phys}, + year = {1996}, + volume = {105}, + pages = {1363--1382}, +} + +@article{mahui1995, + author = {马辉 and 李俭 and 刘耀明 and others}, + title = {利用 {REMPI} 方法测量 {BaF} 高里德堡系列光谱}, + journal = {化学物理学报}, + year = {1995}, + volume = {8}, + pages = {308--311}, + key = {ma3 hui1}, +} + +@article{carlson1981two, + author = {Carlson, N W and Taylor, A J and Jones, K M and Schawlow, A L}, + title = {Two-step polarization-labeling spectroscopy of excited states of {Na2}}, + journal = {Phys Rev A}, + year = {1981}, + volume = {24}, + pages = {822--834}, +} + +@article{taylor1983scanning, + author = {Taylor, A J and Jones, K M and Schawlow, A L}, + title = {Scanning pulsed-polarization spectrometer applied to {Na2}}, + journal = {J Opt Soc Am}, + year = {1983}, + volume = {73}, + pages = {994--998}, +} + +@article{taylor1981study, + author = {Taylor, A J and Jones, K M and Schawlow, A L}, + title = {A study of the excited {1$\Sigma$g+} states in {Na2}}, + journal = {Opt Commun}, + year = {1981}, + volume = {39}, + pages = {47--50}, +} + +@article{shimizu1983laser, + author = {Shimizu, Kazuko and Shimizu, Fujio}, + title = {Laser induced fluorescence spectra of the a {3$\Pi$u--X 1$\Sigma$g+} band of {Na2} by molecular beam}, + journal = {J Chem Phys}, + year = {1983}, + volume = {78}, + pages = {1126--1131}, +} + +@article{atkinson1982experimental, + author = {Atkinson, J B and Becker, J and Demtr{\"o}der, W}, + title = {Experimental observation of the a {3$\Pi$u} state of {Na2}}, + journal = {Chem Phys Lett}, + year = {1982}, + volume = {87}, + pages = {92--97}, +} + +@article{kusch1975perturbations, + author = {Kusch, P and Hessel, M M}, + title = {Perturbations in the A {1$\Sigma$u+} state of {Na2}}, + journal = {J Chem Phys}, + year = {1975}, + volume = {63}, + pages = {4087--4088}, +} + +@book{guangxi1993, + author = {广西壮族自治区林业厅}, + title = {广西自然保护区}, + address = {北京}, + publisher = {中国林业出版社}, + year = {1993}, + key = {guang3 xi1 zhuang4 zu2 zi4 zhi4 qu1}, +} + +@book{huosini1989guwu, + author = {霍斯尼}, + title = {谷物科学与工艺学原理}, + translator = {李庆龙}, + edition = {2}, + address = {北京}, + publisher = {中国食品出版社}, + year = {1989}, + pages = {15--20}, + key = {huo4 si1 ni2}, +} + +@book{wangfuzhi1865songlun, + author = {王夫之}, + title = {宋论}, + edition = {刻本}, + address = {金陵}, + publisher = {曾氏}, + year = {1865(清同治四年)}, + key = {wang2 fu1 zhi1}, +} + +@book{zhaoyaodong1998xinshidai, + author = {赵耀东}, + title = {新时代的工业工程师}, + address = {台北}, + publisher = {天下文化出版社}, + year = {1998}, + urldate = {1998-09-26}, + url = {http://www.ie.nthu.edu.tw/info/ie.newie.htm}, + key = {zhao4 yao4 dong1}, +} + +@standard{biaozhunhua2002tushu, + author = {全国信息与文献工作标准化技术委员会出版物格式分委员会}, + title = {GB/T 12450-2001 图书书名页}, + address = {北京}, + publisher = {中国标准出版社}, + year = {2002}, + key = {quan2 guo2 xin4 xi1}, +} + +@book{chubanzhuanye2004, + author = {全国出版专业职业资格考试办公室}, + title = {全国出版专业职业资格考试辅导教材: 出版专业理论与实务•中级}, + edition = {2014}, + address = {上海}, + publisher = {上海辞书出版社}, + year = {2004}, + pages = {299--307}, + key = {quan2 guo2 chu1 ban3 ye4}, +} + +@techreport{who1970factors, + author = {{World Health Organization}}, + title = {Factors Regulating the Immune Response: Report of {WHO Scientific Group}}, + address = {Geneva}, + publisher = {WHO}, + year = {1970}, +} + +@book{peebles2001probability, + author = {Peebles, Jr, Peyton Z.}, + title = {Probability, Random Variables, and Random Signal Principles}, + edition = {4}, + address = {New York}, + publisher = {McGraw Hill}, + year = {2001}, +} + +@incollection{baishunong1998zhiwu, + author = {白书农}, + title = {植物开花研究}, + editor = {李承森}, + booktitle = {植物科学进展}, + address = {北京}, + publisher = {高等教育出版社}, + year = {1998}, + pages = {146--163}, + key = {bai2 shu1 nong2}, +} + +@incollection{weinstein1974pathogenic, + author = {Weinstein, L and Swertz, M N}, + title = {Pathogenic Properties of Invading Microorganism}, + editor = {Sodeman, Jr, William A and Sodeman, William A}, + booktitle = {Pathologic physiology: mechanisms of disease}, + address = {Philadelphia}, + publisher = {Saunders}, + year = {1974}, + pages = {745--772}, +} + +@inproceedings{hanjiren1985lun, + author = {韩吉人}, + title = {论职工教育的特点}, + editor = {中国职工教育研究会}, + booktitle = {职工教育研究论文集}, + address = {北京}, + publisher = {人民教育出版社}, + year = {1985}, + pages = {90--99}, + key = {han2 ji2 ren2}, +} + +@periodical{dizhi1936dizhi, + author = {中国地质学会}, + title = {地质评论}, + year = {1936}, + volume = {1}, + number = {1}, + address = {北京}, + publisher = {地质出版社}, + key = {zhong1 guo2 di4 zhi3 xue2 hui4}, +} + +@periodical{tushuguan1957tushuguanxue, + author = {中国图书馆学会}, + title = {图书馆学通讯}, + year = {1957/1990}, + number = {1--4}, + address = {北京}, + publisher = {北京图书馆}, + key = {zhong1 guo2 tu2 shu1 guan3 xue2 hui4}, +} + +@periodical{aaas1883science, + author = {{American Association for the Advancement of Science}}, + title = {Science}, + year = {1883}, + volume = {1}, + number = {1}, + address = {Washington, D.C.}, + publisher = {American Association for the Advancement of Science}, +} + +@newspaper{fugang2000fengsha, + author = {傅刚 and 赵承 and 李佳路}, + title = {大风沙过后的思考}, + journal = {北京青年报}, + date = {2000-04-12}, + number = {14}, + urldate = {2002-03-06}, + url = {http://www.bjyouth.com.cn/Bqb/20000412/B/4216%5ED0412B1401.htm}, + key = {fu4 gang1}, +} + +@online{xiaoyu2001chubanye, + author = {萧钰}, + title = {出版业信息化迈入快车道}, + year = {2001}, + date = {2001-12-19}, + urldate = {2002-04-15}, + url = {http://www.creader.com/news/20011219/200112190019.htm}, + key = {xiao1 yu4}, +} + +@online{oclc2000about, + author = {{Online Computer Library Center, Inc}}, + title = {About {OCLC}: History of Cooperation}, + year = {2000}, + urldate = {2000-01-08}, + url = {http://www.oclc.org/about/cooperation.en.htm}, +} + +@software{scitor2000project, + author = {{Scitor Corporation}}, + title = {Project scheduler}, + address = {Sunnyvale, Calif.}, + publisher = {Scitor Corporation}, + year = {1983}, + medium = {DK}, } diff --git a/Master/texmf-dist/doc/latex/thuthesis/spine.pdf b/Master/texmf-dist/doc/latex/thuthesis/spine.pdf index 2e1e47a6800..8f0f80226e8 100644 Binary files a/Master/texmf-dist/doc/latex/thuthesis/spine.pdf and b/Master/texmf-dist/doc/latex/thuthesis/spine.pdf differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex b/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex index 997340120bd..26254e2325a 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex @@ -105,31 +105,23 @@ % start-date = {2011-07-01}, % 研究工作起始时间 } -%% Put any packages you would like to use here +% 载入所需的宏包 -% 表格中支持跨行 -\usepackage{multirow} - -% 跨页表格 -\usepackage{longtable} - -% 固定宽度的表格。放在 hyperref 之前的话,tabularx 里的 footnote 显示不出来。 -\usepackage{tabularx} +% 可以使用 nomencl 生成符号和缩略语说明 +% \usepackage{nomencl} +% \makenomenclature % 表格加脚注 \usepackage{threeparttable} -\pretocmd{\TPTnoteSettings}{\footnotesize}{}{} -% 确定浮动对象的位置,可以使用 H,强制将浮动对象放到这里(可能效果很差) -\usepackage{float} +% 表格中支持跨行 +\usepackage{multirow} + +% 固定宽度的表格。放在 hyperref 之前的话,tabularx 里的 footnote 显示不出来。 +% \usepackage{tabularx} -% 浮动图形控制宏包。 -% 允许上一个 section 的浮动图形出现在下一个 section 的开始部分 -% 该宏包提供处理浮动对象的 \FloatBarrier 命令,使所有未处 -% 理的浮动图形立即被处理。这三个宏包仅供参考,未必使用: -% \usepackage[below]{placeins} -% \usepackage{floatflt} % 图文混排用宏包 -% \usepackage{rotating} % 图形和表格的控制旋转 +% 跨页表格 +% \usepackage{longtable} % 量和单位 \usepackage{siunitx} @@ -155,32 +147,16 @@ % 参考文献使用 BibLaTeX 宏包 % \usepackage[backend=biber,style=thuthesis-numeric]{biblatex} % \usepackage[backend=biber,style=thuthesis-author-year]{biblatex} - -% \addbibresource{ref/refs.bib} % 声明 BibLaTeX 的数据库 - -% 给自定义的宏后面自动加空白 -% \usepackage{xspace} +% \usepackage[backend=biber,style=apa]{biblatex} +% \usepackage[backend=biber,style=mla-new]{biblatex} +% 声明 BibLaTeX 的数据库 +% \addbibresource{ref/refs.bib} % 定义所有的图片文件在 figures 子目录下 \graphicspath{{figures/}} -% 定义自己常用的东西 -% \def\myname{薛瑞尼} - % 数学命令 \newcommand\dif{\mathop{}\!\mathrm{d}} % 微分符号 -\newcommand\real{{\mathbf{R}}} % 实数集 -\newcommand\abs[1]{\lvert#1\rvert} -\newcommand\VECTOR{\symbf} % 向量 -\newcommand\MATRIX{\symbf} % 矩阵 -\newcommand\vn{{\VECTOR{n}}} -\newcommand\vx{{\VECTOR{x}}} -\newcommand\mA{{\MATRIX{A}}} -\newcommand\mK{{\MATRIX{K}}} - -% 借用 ltxdoc 里面的几个命令方便写文档。 -\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} -\providecommand\pkg[1]{{\sffamily#1}} % hyperref 宏包在最后调用 \usepackage{hyperref} diff --git a/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf b/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf index ceea3fa53c0..92704a73fc4 100644 Binary files a/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf and b/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.tex b/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.tex index e3b3fd4fd4d..4f71d6db490 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.tex @@ -33,9 +33,9 @@ \tableofcontents % 插图和附表清单 -\listoffigures % 插图清单 +\listoffiguresandtables % 插图和附表清单 +% \listoffigures % 插图清单 % \listoftables % 附表清单 -% \listoffiguresandtables % 插图和附表清单 % 符号对照表 \input{data/denotation} @@ -45,6 +45,8 @@ \mainmatter \input{data/chap01} \input{data/chap02} +\input{data/chap03} +\input{data/chap04} % 其他部分 diff --git a/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf index a6fef1ff93b..40ebbc9fe04 100644 Binary files a/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf and b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf differ diff --git a/Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx b/Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx index b52c7ea8510..84c320323cf 100644 --- a/Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx +++ b/Master/texmf-dist/source/latex/thuthesis/thuthesis.dtx @@ -17,7 +17,7 @@ % % \iffalse %<*driver> -\ProvidesFile{thuthesis.dtx}[2020/09/09 7.0.0 Tsinghua University Thesis Template] +\ProvidesFile{thuthesis.dtx}[2020/10/14 7.1.0 Tsinghua University Thesis Template] \documentclass{ltxdoc} \usepackage{dtx-style} @@ -75,17 +75,14 @@ % \item 本模板的发布遵守 \href{https://www.latex-project.org/lppl/lppl-1-3c.txt}{\LaTeX{} Project Public License (1.3.c)},使用前请认真阅读协议内 % 容。 % \item 本模板为作者根据 -% 清华大学教务处颁发的 -% \href{http://www.law.tsinghua.edu.cn/publish/law/7024/2012/20120216153516317135347/20120216153516317135347_.html}{《综合论文训练写作指南》}, % 清华大学研究生院颁发的 -% \href{http://yjsy.cic.tsinghua.edu.cn/docinfo/board/boarddetail.jsp?columnId=001050603&parentColumnId=0010506&itemSeq=5365}{《研究生学位论文写作指南》}, +% \href{http://yjsy.cic.tsinghua.edu.cn/docinfo/board/boarddetail.jsp?columnId=001050603&parentColumnId=0010506&itemSeq=5365}{% +% 《研究生学位论文写作指南》}(仅限校内网络访问)、 +% 清华大学教务处颁发的《综合论文训练写作指南》和 % 清华大学 % \href{http://postdoctor.tsinghua.edu.cn/info/czxz/1283}{% % 《编写“清华大学博士后研究报告”参考意见》} % 编写而成,旨在供清华大学毕业生撰写学位论文使用。 -% \item 清华大学教务处和研究生院只提供毕业论文写作指南,不提供官方模板,也不会授 -% 权第三方模板为官方模板,所以此模板仅为写作指南的参考实现,不保证格式审查老师 -% 不提意见。任何由于使用本模板而引起的论文格式审查问题均与本模板作者无关。 % \item 任何个人或组织以本模板为基础进行修改、扩展而生成的新的专用模板,请严格遵 % 守 \LaTeX{} Project Public License 协议。由于违犯协议而引起的任何纠纷争端均与 % 本模板作者无关。 @@ -167,9 +164,9 @@ % thuthesis.ins & \textsc{DocStrip} 驱动文件(开发用) \\ % thuthesis.dtx & \textsc{DocStrip} 源文件(开发用)\\\midrule % thuthesis.cls & 模板类文件\\ -% thuthesis-numeric.bst & 参考文献样式文件\\ -% thuthesis-author-year.bst & 参考文献样式文件\\ -% thuthesis-bachelor.bst & 参考文献样式文件\\ +% thuthesis-*.bst & \hologo{BibTeX} 参考文献表样式文件\\ +% thuthesis-*.bbx & BibLaTeX 参考文献表样式文件\\ +% thuthesis-*.cbx & BibLaTeX 参考文献引用样式文件\\ % tsinghua-name-bachelor.pdf & 校名 logo,本科生封面使用 \\\midrule % thuthesis-example.tex & 示例文档主文件\\ % spine.tex & 书脊示例文档\\ @@ -245,20 +242,20 @@ % % 首先,更新模板: % \begin{shell} -% $ xetex thuthesis.ins # 生成 thuthesis.cls +% $ xetex thuthesis.ins # 生成 thuthesis.cls % \end{shell} % % 然后,生成论文以及书脊: % \begin{shell} % $ xelatex thuthesis-example.tex -% $ bibtex thuthesis-example.aux # 生成 bbl 文件 -% $ bibtex thuthesis-example-survey.aux # 本科生的调研报告的参考文献 -% $ bibtex thuthesis-example-translation.aux # 本科生的外文资料翻译的参考文献 -% $ bibtex thuthesis-example-index.aux # 本科生的书面翻译对应的原文索引 -% $ xelatex thuthesis-example.tex # 解决引用 -% $ xelatex thuthesis-example.tex # 生成论文 PDF -% -% $ xelatex spine.tex # 生成书脊 PDF +% $ bibtex thuthesis-example.aux # 生成 bbl 文件 +% $ bibtex thuthesis-example-survey.aux # 本科生的调研报告的参考文献 +% $ bibtex thuthesis-example-translation.aux # 本科生的外文资料翻译的参考文献 +% $ bibtex thuthesis-example-index.aux # 本科生的书面翻译对应的原文索引 +% $ xelatex thuthesis-example.tex # 解决引用 +% $ xelatex thuthesis-example.tex # 生成论文 PDF +% +% $ xelatex spine.tex # 生成书脊 PDF % \end{shell} % % 在调用 \XeLaTeX 时,如果设置了 \option{include-spine} 选项, @@ -290,20 +287,14 @@ % \subsection{示例文件} % \label{sec:userguide} % -% 模板核心文件 -% 有:\file{thuthesis.cls},\file{thuthesis-numeric.bst}, -% \file{thuthesis-author-year.bst} 和 \file{tsinghua-name-bachelor.pdf}, +% 模板核心文件有:\file{thuthesis.cls},\file{tsinghua-name-bachelor.pdf}, +% \file{thuthesis-*.bst}(\hologo{BibTeX}), +% \file{thuthesis-*.bbx} 和 \file{thuthesis-*.cbx}(BibLaTeX), % 但如果没有示例文档会较难下手,所以推荐从模板自带的示例文档入手。其中包括了论文 % 写作用到的所有命令及其使用方法,只需用自己的内容进行相应替换就可以。对于不清 % 楚的命令可以查阅本手册。下面的例子描述了模板中章节的组织形式,来自于示例文档, % 具体内容可以参考模板附带的 \file{thuthesis-example.tex} 和 \file{data/}。 % -% \lstinputlisting[style=lstStyleLaTeX]{thuthesis-example.tex} -% -% 其中 \file{thusetup.tex} 包括了论文基本信息的配置样例: -% -% \lstinputlisting[style=lstStyleLaTeX]{thusetup.tex} -% % \subsection{论文选项} % \label{sec:option} % @@ -739,9 +730,7 @@ % % \subsubsection{数学符号} % \label{sec:math} -% 数学符号应遵循 GB/T 3102.11-1993《物理科学和技术中使用的数学符号》 -% \footnote{原 GB 3102.11-1993,根据2017年第7号公告和强制性标准整合精简结论, -% 自2017年3月23日起,该标准转化为推荐性标准。}, +% 数学符号应遵循 GB/T 3102.11—1993《物理科学和技术中使用的数学符号》 % 模板中使用 \pkg{unicode-math} 宏包来配置数学符号, % 与 \LaTeX{} 默认的英美国家的符号习惯有所差异: % \newcommand\dif{\mathop{}\!\mathrm{d}} @@ -876,7 +865,7 @@ % Biblatex 运行较缓慢,无法对多个参考文献表使用不同样式。 % 用户需要根据实际选择合适的方式。 % -% 研究生要求的参考文献格式基于《信息与文献 参考文献著录规则》(GB/T 7714-2015) +% 研究生要求的参考文献格式基于《信息与文献 参考文献著录规则》(GB/T 7714—2015) % 进行了少量改编(如英文姓名不使用全大写), % 可以选择“顺序编码制”和“著者-出版年制”。 % 如果使用 BibTeX 的方式,需要在导言区载入 \pkg{natbib} 宏包并选择样式,如: @@ -918,7 +907,7 @@ % 而且 \cs{addbibresource} 必须在导言区设置。 % 输出参考文献表应使用 \cs{printbibliography} 命令。 % -% 本科生要求的中文参考文献格式严格遵从 GB/T 7714-2015, +% 本科生要求的中文参考文献格式严格遵从 GB/T 7714—2015, % 附录中调研报告的英文参考文献可以自行选择合适的风格。 % 但是 biblatex 不支持同一文档中使用不同的格式, % 所以只能使用 \hologo{BibTeX}: @@ -1045,71 +1034,36 @@ % \end{translation} % \end{latex} % -% \subsubsection{简历} +% \subsubsection{个人简历、在学期间完成的相关学术成果} % \DescribeEnv{resume} -% 开启个人简历章节,包括个人简历,发表文章,研究成果列表等。每个子项目请 -% 用以下对应命令开启:\cs{xxxitem}\marg{subtitle}。 -% -% \DescribeMacro{\resumeitem} -% 个人简历,用法:\cs{resumeitem}\{个人简历\}。简历内容部分没有格式要求,正常段 -% 落排版。 +% 研究生的标题为为“个人简历、在学期间完成的相关学术成果”, +% 本科生的标题为“在学期间参加课题的研究成果”或“PUBLICATIONS”。 % -% \DescribeMacro{\researchitem} -% 发表学术论文,用法:\cs{researchitem}\marg{类别},包括“学术论文”和“研究成果”两 -% 个类别。分别用 \env{publications} 和 \env{achievements} 罗列。 -% -% \DescribeEnv{publications} -% \DescribeMacro{\publicationskip} -% 用 \env{publications} 环境进行罗列发表的论文。按照学校要求,在学期间发表的学术 -% 论文分以下三部分按顺序分别列出,每部分之间空 1 行,序号可连续排列: -% \begin{enumerate} -% \item 已经刊载的学术论文(本人是第一作者,或者导师为第一作者本人是第二作者) -% \item 尚未刊载,但已经接到正式录用函的学术论文(本人为第一作者,或者导师为第一 -% 作者本人是第二作者)。 -% \item 其他学术论文。可列出除上述两种情况以外的其他学术论文,但必须是已经刊载或 -% 者收到正式录用函的论文。 -% \end{enumerate} +% \DescribeEnv{achievements} +% 本章的其他标题同样使用 \cs{section*},\cs{subsection*} 等命令生成, +% 研究成果用 \env{achievements} 环境罗列。 % -% \env{publications} 环境支持每一部分分别编写,逻辑上更清楚,为了在环境之间支持 -% 空行,需要利用 \cs{publicationskip} 控制。示例: % \begin{latex} -% \researchitem{发表的学术论文} -% -% % 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 源刊.) -% \end{publications} -% -% % 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} -% -% % 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} +% \begin{resume} +% \section*{个人简历} +% …… +% +% \section*{在学期间完成的相关学术成果} +% +% \subsection*{学术论文} +% \begin{achievements} +% \item …… +% \item …… +% \end{achievements} +% +% \subsection*{专利} +% \begin{achievements} +% \item …… +% \item …… +% \end{achievements} +% \end{resume} % \end{latex} % -% \DescribeEnv{achievements} -% 研究成果用 \cs{researchitem}\{研究成果\} 开启,随后用 \env{achievements} 环 -% 境罗列。 -% -% 具体用法请参看示例文档 \file{data/resume.tex}。 -% % \subsubsection{综合论文训练记录表} % \DescribeMacro{\record} % 本科生需要在最后附上综合论文训练记录表,可以用如下命令: @@ -1179,7 +1133,7 @@ % \begin{macrocode} %\NeedsTeXFormat{LaTeX2e}[2017/04/15] %\ProvidesClass{thuthesis} -%[2020/09/09 7.0.0 Tsinghua University Thesis Template] +%[2020/10/14 7.1.0 Tsinghua University Thesis Template] % \end{macrocode} % % 报错 @@ -1193,6 +1147,15 @@ \newcommand\thu@patch@error[1]{% \thu@error{Failed to patch command \protect#1}% } +\newcommand\thu@deprecate[2]{% + \def\thu@@tmp{#2}% + \thu@warning{% + The #1 is deprecated% + \ifx\thu@@tmp\@empty\else + . Use #2 instead% + \fi + }% +} % \end{macrocode} % % 检查 \LaTeXe{} kernel 版本 @@ -1226,7 +1189,7 @@ %<*cls> \hyphenation{Thu-Thesis} \def\thuthesis{ThuThesis} -\def\version{7.0.0} +\def\version{7.1.0} \RequirePackage{kvdefinekeys} \RequirePackage{kvsetkeys} \RequirePackage{kvoptions} @@ -1757,6 +1720,7 @@ \clearpage \fi \@mainmatterfalse + \thusetup{toc-depth = 0}% } % \end{macrocode} % \end{macro} @@ -2042,7 +2006,7 @@ \fi \fi \newcommand\thu@load@cjk@font@windows{% - \xeCJKsetup{EmboldenFactor=2} + \xeCJKsetup{EmboldenFactor=3}% \setCJKmainfont{SimSun}[ AutoFakeBold = true, ItalicFont = KaiTi, @@ -2078,7 +2042,6 @@ UprightFont = * Light, BoldFont = * Bold, ]% - \xeCJKsetwidth{‘’“”}{1em}% } % \end{macrocode} % @@ -2161,13 +2124,50 @@ % % \begin{macro}{\normalsize} % 正文小四号 (12bp) 字,行距为固定值 20 bp。 +% 其他字号的行距按照相同的比例设置。 +% +% 表达式行的行距为单倍行距,段前空 6 磅,段后空 6 磅。 % \begin{macrocode} \renewcommand\normalsize{% \@setfontsize\normalsize{12bp}{20bp}% - \abovedisplayskip=12bp \@plus 2bp \@minus 2bp - \abovedisplayshortskip=12bp \@plus 2bp \@minus 2bp - \belowdisplayskip=\abovedisplayskip - \belowdisplayshortskip=\abovedisplayshortskip} + \abovedisplayskip 6bp% + \abovedisplayshortskip 6bp% + \belowdisplayshortskip 6bp% + \belowdisplayskip \abovedisplayskip +} +\normalsize +\ifx\MakeRobust\@undefined \else + \MakeRobust\normalsize +\fi +\DeclareRobustCommand\small{% + \@setfontsize\small{10.5bp}{17.5bp}% + \abovedisplayskip 6bp% + \abovedisplayshortskip 6bp% + \belowdisplayshortskip 6bp% + \def\@listi{\leftmargin\leftmargini + \topsep \z@skip + \parsep \z@skip + \itemsep \z@skip}% + \belowdisplayskip \abovedisplayskip +} +\DeclareRobustCommand\footnotesize{% + \@setfontsize\footnotesize{9bp}{15bp}% + \abovedisplayskip 6bp% + \abovedisplayshortskip 6bp% + \belowdisplayshortskip 6bp% + \def\@listi{\leftmargin\leftmargini + \topsep \z@skip + \parsep \z@skip + \itemsep \z@skip}% + \belowdisplayskip \abovedisplayskip +} +\DeclareRobustCommand\scriptsize{\@setfontsize\scriptsize{7.5bp}{12.5bp}} +\DeclareRobustCommand\tiny{\@setfontsize\tiny{6.5bp}{10.83bp}} +\DeclareRobustCommand\large{\@setfontsize\large{15bp}{25bp}} +\DeclareRobustCommand\Large{\@setfontsize\Large{18bp}{30bp}} +\DeclareRobustCommand\LARGE{\@setfontsize\LARGE{22bp}{36.67bp}} +\DeclareRobustCommand\huge{\@setfontsize\huge{24bp}{40bp}} +\DeclareRobustCommand\Huge{\@setfontsize\Huge{26bp}{43.33bp}} % \end{macrocode} % \end{macro} % @@ -2207,25 +2207,7 @@ % \end{macrocode} % \end{macro} % -% \begin{macro}{\chuhao} -% \begin{macro}{\xiaochu} -% \begin{macro}{\yihao} -% \begin{macro}{\xiaoyi} -% \begin{macro}{\erhao} -% \begin{macro}{\xiaoer} -% \begin{macro}{\sanhao} -% \begin{macro}{\xiaosan} -% \begin{macro}{\sihao} -% \begin{macro}{\banxiaosi} -% \begin{macro}{\xiaosi} -% \begin{macro}{\dawu} -% \begin{macro}{\wuhao} -% \begin{macro}{\xiaowu} -% \begin{macro}{\liuhao} -% \begin{macro}{\xiaoliu} -% \begin{macro}{\qihao} -% \begin{macro}{\bahao} -% 一组字号定义。TODO:用 \cs{zihao} 替代。 +% 一组字号定义。 % \begin{macrocode} \thu@def@fontsize{chuhao}{42bp} \thu@def@fontsize{xiaochu}{36bp} @@ -2236,9 +2218,7 @@ \thu@def@fontsize{sanhao}{16bp} \thu@def@fontsize{xiaosan}{15bp} \thu@def@fontsize{sihao}{14bp} -\thu@def@fontsize{banxiaosi}{13bp} \thu@def@fontsize{xiaosi}{12bp} -\thu@def@fontsize{dawu}{11bp} \thu@def@fontsize{wuhao}{10.5bp} \thu@def@fontsize{xiaowu}{9bp} \thu@def@fontsize{liuhao}{7.5bp} @@ -2246,24 +2226,6 @@ \thu@def@fontsize{qihao}{5.5bp} \thu@def@fontsize{bahao}{5bp} % \end{macrocode} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} -% \end{macro} % % % \subsubsection{语言设置} @@ -2297,9 +2259,9 @@ \def\bibname{参考文献}% \def\appendixname{附录}% \def\indexname{索引}% - \def\thu@acknowledgements@name{致\hspace{\ccwd}谢}% + \def\thu@acknowledgements@name{致\quad 谢}% \ifthu@degree@bachelor - \def\contentsname{目\hspace{\ccwd}录}% + \def\contentsname{目\quad 录}% \def\listfigurename{插图索引}% \def\listtablename{表格索引}% \def\thu@list@figure@table@name{插图和附表索引}% @@ -2314,12 +2276,11 @@ \def\thu@list@algorithm@name{算法清单}% \def\listequationname{公式清单}% \ifthu@degree@graduate - \def\contentsname{目\hspace{\ccwd}录}% - \def\thu@toc@contents@name{目录}% + \def\contentsname{目\quad 录}% \def\thu@denotation@name{符号和缩略语说明}% \def\thu@resume@name{个人简历、在学期间完成的相关学术成果}% \else % degree = postdoc - \def\contentsname{目\hspace{2\ccwd}次}% + \def\contentsname{目\qquad 次}% \def\thu@denotation@name{符号表}% \def\thu@resume@name{个人简历、发表的学术论文与科研成果}% \fi @@ -2344,7 +2305,6 @@ \def\thu@resume@name{PUBLICATIONS}% \else \def\contentsname{Contents}% - \def\thu@toc@contents@name{Contents}% \def\listfigurename{List of Figures}% \def\listtablename{List of Tables}% \def\thu@list@figure@table@name{List of Figures and Tables}% @@ -2418,6 +2378,12 @@ \thu@option@hook{language}{\thu@set@names} % \end{macrocode} % +% 带圈数字和星号使用中文字体。 +% \begin{macrocode} +\xeCJKDeclareCharClass{CJK}{"2460 -> "2473} +\xeCJKDeclareCharClass{CJK}{"2605} +% \end{macrocode} +% % \newcommand\unicodechar[1]{U+#1(\symbol{"#1})} % 由于 Unicode 的一些标点符号是中西文混用的: % \unicodechar{00B7}、 @@ -2497,7 +2463,7 @@ \fancyfoot[C]{\wuhao\thepage}% \let\@mkboth\markboth \def\chaptermark##1{% - \markboth{\CTEXifname{\CTEXthechapter\hskip\ccwd}{}##1}{}% + \markboth{\CTEXifname{\CTEXthechapter\quad}{}##1}{}% }% \fi \let\sectionmark\@gobble @@ -2536,7 +2502,48 @@ \thu@option@hook{main-language}{\thu@set@indent} % \end{macrocode} % -% 利用 \pkg{enumitem} 命令调整默认列表环境间的距离,以符合中文习惯。 +% 设置 url 样式,与上下文一致 +% \begin{macrocode} +\urlstyle{same} +% \end{macrocode} +% +% 使用 \pkg{xurl} 的方法,增加 URL 可断行的位置。 +% \begin{macrocode} +\g@addto@macro\UrlBreaks{% + \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9% + \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M + \do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z + \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m + \do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z +} +\Urlmuskip=0mu plus 0.1mu +% \end{macrocode} +% +% 取消列表的间距,以符合中文习惯。 +% \begin{macrocode} +\partopsep=\z@skip +\def\@listi{\leftmargin\leftmargini + \parsep \z@skip + \topsep \z@skip + \itemsep\z@skip} +\let\@listI\@listi +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep \z@skip + \parsep \z@skip + \itemsep \z@skip} +\def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep \z@skip + \parsep \z@skip + \partopsep \z@skip + \itemsep \z@skip} +% \end{macrocode} +% +% 使用 \pkg{enumitem} 命令调整默认列表环境间的距离, % \begin{macrocode} \setlist{nosep} % \end{macrocode} @@ -2544,56 +2551,85 @@ % % \subsubsection{脚注} % \label{sec:footnote} -% 脚注符合中文习惯,数字带圈。 -% \begin{macro}{\thu@textcircled} +% 脚注内容采用小五号字,中文用宋体,英文和数字用 Times New Roman 体按两端对齐格式书写, +% 单倍行距,段前段后均空 0 磅。 +% 脚注的序号按页编排,不同页的脚注序号不需要连续。 +% +% 脚注处序号“1,……,10”的字体是“正文”,不是“上标”,序号与脚注内容文字之间空半个汉字符, +% 脚注的段落格式为:单倍行距,段前空 0 磅,段后空 0 磅,悬挂缩进 1.5 字符; +% 字号为小五号字,汉字用宋体,外文用 Times New Roman 体。 +% +% 脚注序号使用带圈数字。 +% \begin{macro}{\thu@circled} % 生成带圈的脚注数字,最多处理到 10。 % \begin{macrocode} -\def\thu@textcircled#1{% - \ifnum\value{#1} >10\relax +\newcommand\thu@circled[1]{% + \ifnum#1 >10\relax \thu@error{% Too many footnotes in this page. Keep footnote less than 10% }% \fi - {\CJKfamily+{}\symbol{\the\numexpr\value{#1}+"245F\relax}}% + {\symbol{\the\numexpr#1+"245F\relax}}% } -\renewcommand{\thefootnote}{\thu@textcircled{footnote}} -\renewcommand{\thempfootnote}{\thu@textcircled{mpfootnote}} +\renewcommand{\thefootnote}{\thu@circled{\c@footnote}} +\renewcommand{\thempfootnote}{\thu@circled{\c@mpfootnote}} % \end{macrocode} % \end{macro} % % 定义脚注分割线,字号(宋体小五),以及悬挂缩进(1.5字符)。 % \begin{macrocode} \def\footnoterule{\vskip-3\p@\hrule\@width0.3\textwidth\@height0.4\p@\vskip2.6\p@} -\let\thu@footnotesize\footnotesize -\renewcommand\footnotesize{\thu@footnotesize\xiaowu[1.5]} -\footnotemargin1.5em\relax +\footnotemargin=13.5bp % \end{macrocode} % -% \cs{@makefnmark} 默认是上标样式,而在脚注部分要求为正文大小。利用\cs{patchcmd} -% 动态调整 \cs{@makefnmark} 的定义。 +% 修改 \pkg{footmisc} 定义的脚注格式。 % \begin{macrocode} -\let\thu@makefnmark\@makefnmark -\def\thu@@makefnmark{\hbox{{\normalfont\@thefnmark}}} -\pretocmd{\@makefntext}{\let\@makefnmark\thu@@makefnmark}{}{} -\apptocmd{\@makefntext}{\let\@makefnmark\thu@makefnmark}{}{} -% \end{macrocode} -% -% 设置 url 样式,与上下文一致 -% \begin{macrocode} -\urlstyle{same} -% \end{macrocode} -% -% 使用 \pkg{xurl} 的方法,增加 URL 可断行的位置。 -% \begin{macrocode} -\g@addto@macro\UrlBreaks{% - \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9% - \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M - \do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z - \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m - \do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z +\long\def\@makefntext#1{% + \begingroup + % 序号取消上标 + \def\@makefnmark{\hbox{\normalfont\@thefnmark}}% + \xiaowu + \ifFN@hangfoot + \bgroup + \setbox\@tempboxa\hbox{% + \ifdim\footnotemargin>\z@ + \hb@xt@\footnotemargin{\@makefnmark\hss}% + \else + \@makefnmark + \fi + }% + \leftmargin\wd\@tempboxa + \rightmargin\z@ + \linewidth \columnwidth + \advance \linewidth -\leftmargin + \parshape \@ne \leftmargin \linewidth + % \footnotesize + \xiaowu + \@setpar{{\@@par}}% + \leavevmode + \llap{\box\@tempboxa}% + \parskip\hangfootparskip\relax + \parindent\hangfootparindent\relax + \else + \parindent1em% + \noindent + \ifdim\footnotemargin>\z@ + \hb@xt@ \footnotemargin{\hss\@makefnmark}% + \else + \ifdim\footnotemargin=\z@ + \llap{\@makefnmark}% + \else + \llap{\hb@xt@ -\footnotemargin{\@makefnmark\hss}}% + \fi + \fi + \fi + \footnotelayout#1% + \ifFN@hangfoot + \par\egroup + \fi + \endgroup } -\Urlmuskip=0mu plus 0.1mu % \end{macrocode} % % @@ -2703,36 +2739,15 @@ % % 公式距前后文的距离由 4 个参数控制,参见 \cs{normalsize} 的定义。 % -% 本科的公式编号要求很诡异,不得不修改 \pkg{amsmath} 中很深的一个命令 \cs{tagform@}。 -% 同时为了让 \pkg{amsmath} 的 \cs{tag*} 命令得到正确的格式,我们必须修改这些代 -% 码。\cs{make@df@tag} 是定义 \cs{tag*} 和 \cs{tag} 内部命令的。 -% \cs{make@df@tag@@} 处理 \cs{tag*},我们就改它! -% \begin{latex} -% \def\make@df@tag{\@ifstar\make@df@tag@@\make@df@tag@@@} -% \def\make@df@tag@@#1{% -% \gdef\df@tag{\maketag@@@{#1}\def\@currentlabel{#1}}} -% \end{latex} -% \begin{macrocode} -\def\make@df@tag{\@ifstar\thu@make@df@tag@@\make@df@tag@@@} -\def\thu@make@df@tag@@#1{\gdef\df@tag{\thu@maketag{#1}\def\@currentlabel{#1}}} -\iffalse -\ifthu@degree@bachelor - \def\thu@maketag#1{\maketag@@@{% - (\ignorespaces\text{\thu@equation@name\hskip0.5em}#1\unskip\@@italiccorr)}} - \def\tagform@#1{\maketag@@@{% - (\ignorespaces\text{\thu@equation@name\hskip0.5em}#1\unskip\@@italiccorr)\equcaption{#1}}} -\fi -\fi -\def\thu@maketag#1{\maketag@@@{(\ignorespaces #1\unskip\@@italiccorr)}} -\def\tagform@#1{\maketag@@@{(\ignorespaces #1\unskip\@@italiccorr)\equcaption{#1}}} -% \end{macrocode} -% 修改 \cs{tagform} 会影响 \cs{eqref}。 +% \subsubsection{浮动对象:插图和表格} +% \label{sec:float} +% +% 图表浮动体的默认位置设为 |h|。 % \begin{macrocode} -\renewcommand{\eqref}[1]{\textup{(\ref{#1})}} +\def\fps@figure{h} +\def\fps@table{h} % \end{macrocode} % -% \subsubsection{浮动对象:插图和表格} -% \label{sec:float} % 设置浮动对象和文字之间的距离 % \begin{macrocode} \setlength{\floatsep}{6bp} @@ -2753,12 +2768,13 @@ % \end{macrocode} % % 研究生要求表单元格中的文字采用 11pt 宋体字,单倍行距,段前空 3 磅,段后空 3 磅。 +% $(3 + 3) / (11 \times 1.3) \approx 0.4$ % \begin{macrocode} \patchcmd\@floatboxreset{% \normalsize }{% \fontsize{11bp}{14.3bp}\selectfont - \renewcommand\arraystretch{1.2}% + \renewcommand\arraystretch{1.4}% }{}{\thu@patch@error{\@floatboxreset}} % \end{macrocode} % @@ -2780,12 +2796,21 @@ % \end{macrocode} % % \begin{macrocode} -\DeclareCaptionFont{thu}{\dawu} -\DeclareCaptionLabelSeparator{thu}{\hspace{\ccwd}} +\newcommand\thu@caption@font{} +\newcommand\thu@set@caption@font{% + \ifthu@degree@bachelor + \renewcommand\thu@caption@font{\fontsize{11bp}{15bp}\selectfont}% + \else + \renewcommand\thu@caption@font{\fontsize{11bp}{14.3bp}\selectfont}% + \fi +} +\thu@set@caption@font +\thu@option@hook{degree}{\thu@set@caption@font} +\DeclareCaptionFont{thu}{\thu@caption@font} \captionsetup{ format = hang, font = thu, - labelsep = thu, + labelsep = quad, aboveskip = 6bp, belowskip = 6bp, figureposition = bottom, @@ -2805,16 +2830,11 @@ \lightrulewidth=1bp % \end{macrocode} % -% \begin{macro}{\hlinewd} -% 简单的表格使用三线表推荐用 \cs{hlinewd}。如果表格比较复杂还是用 \pkg{booktabs} 的命 -% 令好一些。 % \begin{macrocode} -\def\hlinewd#1{% - \noalign{\ifnum0=`}\fi\hrule \@height #1 \futurelet - \reserved@a\@xhline} +\AtEndOfPackageFile*{threeparttable}{ + \g@addto@macro\TPT@defaults{\wuhao} +} % \end{macrocode} -% \end{macro} -% % % \subsubsection{章节标题} % \label{sec:theor} @@ -2823,7 +2843,7 @@ \newcommand{\thu@abstract@name}{中文摘要} \newcommand{\thu@abstract@name@en}{ABSTRACT} \else - \newcommand{\thu@abstract@name}{摘\hspace{\ccwd}要} + \newcommand{\thu@abstract@name}{摘\quad 要} \newcommand{\thu@abstract@name@en}{Abstract} \fi % \end{macrocode} @@ -2930,14 +2950,14 @@ % 段前空 12 磅,段后空 6 磅。 % \end{itemize} % -% 由于 Word 模板中开启了“对齐到网格”,实际的段前段后距离有所调整。 +% 由于 Word 的行距算法不同,这里进行了一些调整使得视觉上更接近。 % \begin{macrocode} \else \ctexset{% chapter = { format = \centering\sffamily\sanhao, - beforeskip = 32bp, - afterskip = 32bp, + beforeskip = 27bp, + afterskip = 27bp, }, section = { format = \sffamily\fontsize{14bp}{20bp}\selectfont, @@ -3051,7 +3071,7 @@ % \begin{macrocode} \renewcommand\tableofcontents{% \ifthu@degree@graduate - \thu@chapter*[\thu@toc@contents@name]{\contentsname}% + \thu@chapter*{\contentsname}% \else \thu@chapter*[]{\contentsname}% \fi @@ -3136,13 +3156,7 @@ % \begin{macrocode} \else \titlecontents{chapter} - [\z@]{\addvspace{6bp} - \ifthu@main@language@chinese - \heiti - \else - \sffamily - \fi - } + [\z@]{\addvspace{6bp}\sffamily} {\contentspush{\thecontentslabel\quad}}{} {\rmfamily\thu@leaders\thecontentspage}% \titlecontents{section} @@ -3499,7 +3513,7 @@ % % \begin{macrocode} \newcommand\thu@titlepage@secret{% - \sffamily\CJKfamily+{}\sanhao + \sffamily\sanhao \ifx\thu@secret@level\@empty \phantom{秘密}% \else @@ -3764,7 +3778,7 @@ \centering \parbox[t][0cm][t]{\textwidth}{% \hfill - \CJKfamily+{}\xiaosi + \xiaosi \ifx\thu@secret@level\@empty\else \thu@secret@level\space\thu@secret@year 年\par \fi @@ -3953,52 +3967,19 @@ % \begin{macro}{\copyrightpage} % 授权说明 % \begin{macrocode} -\newcommand{\thu@authorization@title}{关于学位论文使用授权的说明} -\newcommand{\thu@authorization@content}{% -\ifthu@degree@bachelor - 本人完全了解清华大学有关保留、使用学位论文的规定,% - 即:学校有权保留学位论文的复印件,允许该论文被查阅和借阅;% - 学校可以公布该论文的全部或部分内容,可以采用影印、缩印或其他复制手段保存该论文。% -\else - 本人完全了解清华大学有关保留、使用学位论文的规定,即:\par - 清华大学拥有在著作权法规定范围内学位论文的使用权,其中包括:% - (1)已获学位的研究生必须按学校规定提交学位论文,% - 学校可以采用影印、缩印或其他复制手段保存研究生上交的学位论文;% - (2)为教学和科研目的,学校可以将公开的学位论文作为资料在图书馆、资料室等场所供校内师生阅读,% - 或在校园网上供校内师生浏览部分内容;% - \ifthu@degree@doctor - (3)根据《中华人民共和国学位条例暂行实施办法》及相关部门具体要求,向国家图书馆报送相应的学位论文。% - \else - (3)按照相关部门督导、抽查等要求,报送相应的学位论文。% - \fi - \par - 本人保证遵守上述规定。% - \fi -} -\newcommand{\thu@authorization@addon}{% - \ifthu@degree@bachelor(涉密的学位论文在解密后应遵守此规定)\else (保密的论文在解密后遵守此规定)\fi} -\newcommand{\thu@authorization@authorsig}{\ifthu@degree@bachelor 签\hskip1em名:\else 作者签名:\fi} -\newcommand{\thu@authorization@teachersig}{导师签名:} -\newcommand{\thu@authorization@frontdate}{% - 日\ifthu@degree@bachelor\hspace{1em}\else\hspace{2em}\fi 期:} \newcommand\copyrightpage[1][]{% \ifthu@degree@postdoc\relax\else - \cleardoublepage - \thispagestyle{empty}% - \thu@pdfbookmark{0}{\thu@authorization@title}% \def\thu@@tmp{#1} \ifx\thu@@tmp\@empty - \ifthu@degree@bachelor\thu@authorization@mk\else% - \begin{list}{}{% - \topsep\z@% - \listparindent\parindent% - \parsep\parskip% - \setlength{\leftmargin}{0.9mm}% - \setlength{\rightmargin}{0.9mm}}% - \item[]\thu@authorization@mk% - \end{list}% - \fi% + \ifthu@degree@bachelor + \thu@copyright@page@bachelor + \else + \thu@copyright@page@graduate + \fi \else + \cleardoublepage + \thispagestyle{empty}% + \thu@pdfbookmark{0}{\thu@authorization@title}% \thu@phantomsection \kv@define@key{thu@copyright}{file}{\includepdf{\kv@value}}% \kv@set@family@handler{thu@copyright}{% @@ -4016,25 +3997,84 @@ % % 支持扫描文件替换。 % \begin{macrocode} -\newcommand{\thu@authorization@mk}{% - \ifthu@degree@bachelor\vspace*{0.2cm}\else\vspace*{0.42cm}\fi % shit code! - \begin{center}\erhao\heiti \thu@authorization@title\end{center} - \ifthu@degree@bachelor\vskip5pt\else\vskip40pt\sihao[2.03]\fi\par - \thu@authorization@content\par - \textbf{\thu@authorization@addon}\par - \ifthu@degree@bachelor\vskip0.7cm\else\vskip1.0cm\fi - \ifthu@degree@bachelor - \indent\mbox{\thu@authorization@authorsig\thu@underline\relax% - \thu@authorization@teachersig\thu@underline\relax\thu@authorization@frontdate\thu@underline\relax} - \else - \begingroup - \parindent0pt\xiaosi - \hspace*{1.5cm}\thu@authorization@authorsig\thu@underline[7em]\relax\hfill% - \thu@authorization@teachersig\thu@underline[7em]\relax\hspace*{1cm}\\[3pt] - \hspace*{1.5cm}\thu@authorization@frontdate\thu@underline[7em]\relax\hfill% - \thu@authorization@frontdate\thu@underline[7em]\relax\hspace*{1cm} - \endgroup - \fi} +\newcommand{\thu@authorization@frontdate}{% + 日\ifthu@degree@bachelor\hspace{1em}\else\hspace{2em}\fi 期:} +\newcommand\thu@copyright@page@graduate{% + \cleardoublepage + \newgeometry{ + vmargin = 3.8cm, + hmargin = 3.2cm, + }% + \begingroup + \ctexset{ + chapter = { + format = {\centering\sffamily\erhao}, + beforeskip = 18bp, + afterskip = 6bp, + }, + }% + \thu@chapter*[]{关于学位论文使用授权的说明}% + \thispagestyle{empty}% + \endgroup + \vskip 50bp% + \begingroup + \fontsize{14bp}{26bp}\selectfont + 本人完全了解清华大学有关保留、使用学位论文的规定,即:\par + 清华大学拥有在著作权法规定范围内学位论文的使用权,其中包括:% + (1)已获学位的研究生必须按学校规定提交学位论文,% + 学校可以采用影印、缩印或其他复制手段保存研究生上交的学位论文;% + (2)\nobreak 为教学和科研目的,学校可以将公开的学位论文作为资料在图书馆、资料室等场所供校内师生阅读,% + 或在校园网上供校内师生浏览部分内容;% + \ifthu@degree@doctor + (3)根据《中华人民共和国学位条例暂行实施办法》及上级教育主管部门具体要求,向国家图书馆报送相应的学位论文。% + \else + (3)按照上级教育主管部门督导、抽查等要求,报送相应的学位论文。% + \fi + \par + 本人保证遵守上述规定。\par + \vskip 6bp% + \textbf{(保密的论文在解密后遵守此规定)}\par + \endgroup + \vskip1.2cm% + \begingroup + \noindent\xiaosi + \hspace*{1.5cm}% + 作者签名:\thu@underline[7em]\relax\hfill + 导师签名:\thu@underline[7em]\relax\hspace*{1cm}\\[3pt]% + \hspace*{1.5cm}% + 日\hspace{2em}期:\thu@underline[7em]\relax\hfill + 日\hspace{2em}期:\thu@underline[7em]\relax\hspace*{1cm}% + \endgroup + \clearpage + \restoregeometry +} +\newcommand\thu@copyright@page@bachelor{% + \cleardoublepage + \begingroup + \ctexset{ + chapter = { + format = {\centering\sffamily\erhao[1]}, + beforeskip = 1bp, + afterskip = 24bp, + }, + }% + \thu@chapter*[]{关于学位论文使用授权的说明}% + \thispagestyle{empty}% + \endgroup + \vskip 4bp% + 本人完全了解清华大学有关保留、使用学位论文的规定,即:% + 学校有权保留学位论文的复印件,允许该论文被查阅和借阅;% + 学校可以公布该论文的全部或部分内容,可以采用影印、缩印或其他复制手段保存该论文。\par + \textbf{(涉密的学位论文在解密后应遵守此规定)}\par + \null\par + \begingroup + \centering + 签\quad 名:\thu@underline[6em]{}% + 导师签名:\thu@underline[6em]{}% + 日\quad 期\thu@underline[6em]{}% + \par + \endgroup +} % \end{macrocode} % \end{macro} % @@ -4088,18 +4128,14 @@ % 每个关键词之间空两个汉字符宽度, 且为悬挂缩进。 % \begin{macrocode} \par + \null\par \ifthu@degree@graduate - \vspace*{\stretch{4}}% \noindent \textsf{关键词:}% \else - \null\par \textbf{关键词:}% \fi \thu@clist@use{\thu@keywords}{;}% - \ifthu@degree@graduate - \vspace*{\stretch{1}}% - \fi \ifthu@degree@bachelor \cleardoublepage \fi @@ -4118,23 +4154,17 @@ \fi \thusetup{language = english}% \ifthu@degree@graduate - \begingroup - \ctexset{chapter/format+=\bfseries}% - \thu@chapter*[\sffamily\bfseries\thu@abstract@name@en]{\thu@abstract@name@en}% - \endgroup + \thu@chapter*{\thu@abstract@name@en}% \else \thu@chapter*[]{\thu@abstract@name@en}% \fi }{% \par + \null\par \ifthu@degree@graduate - \vspace*{\stretch{4}}% \noindent - \textbf{Key Words:}\space - \else - \null\par - \textbf{Keywords:}\space \fi + \textbf{Keywords:}\space \thu@clist@use{\thu@keywords@en}{; }% \ifthu@degree@graduate \vspace*{\stretch{1}}% @@ -4313,7 +4343,7 @@ } \titlecontents{figure} [\z@]{} - {\contentspush{\figurename~\thecontentslabel\hspace{\ccwd}}}{} + {\contentspush{\figurename~\thecontentslabel\quad}}{} {\nobreak\thu@leaders\nobreak\hfil\thecontentspage} % \end{macrocode} % \end{macro} @@ -4328,7 +4358,7 @@ } \titlecontents{table} [\z@]{} - {\contentspush{\tablename~\thecontentslabel\hspace{\ccwd}}}{} + {\contentspush{\tablename~\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage} % \end{macrocode} % \end{macro} @@ -4393,6 +4423,11 @@ \thu@define@key{ cite-style = { name = cite@style, + choices = { + super, + inline, + author-year, + } } } % \end{macrocode} @@ -4416,14 +4451,25 @@ % 几种种引用样式,与 \file{bst} 文件名保持一致, % 这样在使用 \cs{bibliographystyle} 选择参考文献表的样式时也会设置对应的引用样式。 % \begin{macrocode} - \expandafter\newcommand\csname bibstyle@thuthesis-numeric\endcsname{% + \newcommand\bibstyle@super{% \bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}} - \expandafter\newcommand\csname bibstyle@thuthesis-author-year\endcsname{% + \newcommand\bibstyle@inline{% + \bibpunct{[}{]}{,}{n}{,}{,}} + \@namedef{bibstyle@author-year}{% \bibpunct{(}{)}{;}{a}{,}{,}} - \expandafter\newcommand\csname bibstyle@thuthesis-bachelor\endcsname{% - \bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}} - \@namedef{bibstyle@thuthesis-inline}{\bibpunct{[}{]}{,}{n}{,}{,}} - \thu@option@hook{cite-style}{\@nameuse{bibstyle@thuthesis-\thu@cite@style}} +% \end{macrocode} +% +% \begin{macrocode} + \thu@option@hook{cite-style}{\@nameuse{bibstyle@\thu@cite@style}} +% \end{macrocode} +% +% 几种种引用样式,与 \file{bst} 文件名保持一致, +% 这样在使用 \cs{bibliographystyle} 选择参考文献表的样式时也会设置对应的引用样式。 +% \begin{macrocode} + \@namedef{bibstyle@thuthesis-numeric}{\citestyle{super}} + \@namedef{bibstyle@thuthesis-author-year}{\citestyle{author-year}} + \@namedef{bibstyle@thuthesis-bachelor}{\citestyle{super}} + \@namedef{bibstyle@thuthesis-inline}{\citestyle{inline}} % \end{macrocode} % % 修改引用的样式。 @@ -4665,7 +4711,7 @@ \newcommand\thu@set@bibliography@format{% \ifthu@degree@bachelor \renewcommand\bibfont{\fontsize{10.5bp}{17bp}\selectfont}% - \setlength{\bibsep}{6bp}% + \setlength{\bibsep}{6bp \@plus 3bp \@minus 3bp}% \ifthu@main@language@chinese \setlength{\bibhang}{21bp}% \else @@ -4673,7 +4719,7 @@ \fi \else \renewcommand\bibfont{\fontsize{10.5bp}{16bp}\selectfont}% - \setlength{\bibsep}{3bp}% + \setlength{\bibsep}{3bp \@plus 3bp \@minus 3bp}% \setlength{\bibhang}{21bp}% \fi } @@ -4682,6 +4728,25 @@ \thu@option@hook{main-language}{\thu@set@bibliography@format} % \end{macrocode} % +% 研究生要求每一条文献的内容要尽量写在同一页内。 +% 遇有被迫分页的情况,可通过“留白”或微调本页行距的方式尽量将同一条文献内容放在一页。 +% 所以上述 \cs{bibsep} 的设置允许 1pt 的伸缩, +% 同时增加同一条文献内分页的惩罚, +% 这里参考 \href{https://github.com/plk/biblatex/blob/e5d6e69e61613cc33ab1fcc2083a8277eb9cfce5/tex/latex/biblatex/biblatex.def}{BibLaTeX 的设置}。 +% \begin{macrocode} + \patchcmd\thebibliography{% + \clubpenalty4000% + }{% + \interlinepenalty=5000\relax + \clubpenalty=10000\relax + }{}{\thu@patch@error{\thebibliography}} + \patchcmd\thebibliography{% + \widowpenalty4000% + }{% + \widowpenalty=10000\relax + }{}{\thu@patch@error{\thebibliography}} +% \end{macrocode} +% % 参考文献表的编号居左,宽度 1 cm。 % \begin{macrocode} \def\@biblabel#1{[#1]\hfill} @@ -4720,7 +4785,7 @@ \newcommand\thu@set@bibliography@format{% \ifthu@degree@bachelor \renewcommand\bibfont{\fontsize{10.5bp}{17bp}\selectfont}% - \setlength{\bibitemsep}{6bp}% + \setlength{\bibitemsep}{6bp \@plus 3bp \@minus 3bp}% \ifthu@main@language@chinese \setlength{\bibhang}{21bp}% \else @@ -4728,7 +4793,7 @@ \fi \else \renewcommand\bibfont{\fontsize{10.5bp}{16bp}\selectfont}% - \setlength{\bibitemsep}{3bp}% + \setlength{\bibitemsep}{3bp \@plus 3bp \@minus 3bp}% \setlength{\biblabelsep}{0.1cm}% \setlength{\bibhang}{21bp}% \fi @@ -4828,6 +4893,7 @@ \section*{Contents}% \thu@pdfbookmark{1}{Contents}% \printcontents[survey]{l}{1}[2]{}% + \vskip 20bp% }% \renewcommand\bibname{参考文献}% \let\bibsection\thu@appendix@bibsection @@ -4857,6 +4923,7 @@ \section*{目录}% \thu@pdfbookmark{1}{目录}% \printcontents[translation]{l}{1}[2]{}% + \vskip 20bp% }% \def\bibsection{% \begingroup @@ -4907,15 +4974,15 @@ \newcommand\thu@set@partial@toc@format{% \titlecontents{section} [\z@]{} - {\contentspush{\thecontentslabel\hspace{\ccwd}}}{} + {\contentspush{\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage}% \titlecontents{subsection} - [1\ccwd]{} - {\contentspush{\thecontentslabel\hspace{\ccwd}}}{} + [1em]{} + {\contentspush{\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage}% \titlecontents{subsubsection} - [2\ccwd]{} - {\contentspush{\thecontentslabel\hspace{\ccwd}}}{} + [2em]{} + {\contentspush{\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage}% } % \end{macrocode} @@ -4941,52 +5008,73 @@ % \begin{environment}{resume} % 个人简历发表文章等。 % \begin{macrocode} -\newenvironment{resume}[1][\thu@resume@name]{% +\newenvironment{resume}{% \@mainmatterfalse - \thu@chapter*{#1}}{} + \thu@chapter*{\thu@resume@name}% + \ctexset{ + section = { + format += \centering, + numbering = false, + }, + subsection = { + format = \sffamily\fontsize{14bp}{20bp}\selectfont, + numbering = false, + aftertitle = \ifthu@language@chinese :\else :\fi, + }, + }% + \ifthu@degree@bachelor + \ifthu@language@english + \sffamily\fontsize{15bp}{20bp}\selectfont, + \fi + \fi +}{} % \end{macrocode} % \end{environment} % -% \begin{macro}{\resumeitem} -% 个人简历部分。每条信息一个段落,故不需要特别处理。 +% 旧的 \cs{resumeitem} 和 \cs{researchitem} 已经过时。 % \begin{macrocode} -\newcommand{\resumeitem}[1]{% - \vspace{24bp}{\sihao\heiti\centerline{#1}}\par\vspace{6bp}} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\researchitem} -% 研究成果用 \cs{researchitem}\marg{类别} 开启,包括“学术论文”和“研究成果”两个 -% 列表。 -% \begin{macrocode} -\newcommand{\researchitem}[1]{% - \vspace{32bp}{\sihao\heiti\centerline{#1}}\par\vspace{14bp}} +\newcommand\resumeitem[1]{% + \thu@error{The "\protect\resumeitem" is obsolete. Please update to the new format}% +} +\newcommand\researchitem[1]{% + \thu@error{The "\protect\researchitem" is obsolete. Please update to the new format}% +} % \end{macrocode} -% \end{macro} % -% \begin{environment}{publications} % \begin{environment}{achievements} -% 二者分别通过两个环境 \env{publications} 和 \env{achievements} 罗 -% 列。 -% +% 学术成果由 \env{achievements} 环境罗列。 % \begin{macrocode} -\newlist{publications}{enumerate}{1} -\setlist[publications]{label=[\arabic*],align=left,nosep,itemsep=8bp, - leftmargin=10mm,labelsep=!,before=\xiaosi[1.26],resume} \newlist{achievements}{enumerate}{1} -\setlist[achievements]{label=[\arabic*],align=left,nosep,itemsep=8bp, - leftmargin=10mm,labelsep=!,before=\xiaosi[1.26]} +\setlist[achievements]{ + label = [\arabic*], + align = left, + leftmargin = 10mm, + topsep = 6bp, + parsep = 0bp, + partopsep = 0bp, + itemsep = 6bp, + labelsep = !, + before = { + \ifthu@degree@graduate + \fontsize{12bp}{16bp}\selectfont + \fi + }, + resume = achievements, +} % \end{macrocode} % \end{environment} -% \end{environment} % -% \begin{macro}{\publicationskip} -% \env{publications} 环境可以连续出现多次,第二类论文列表前后要空一行,使 -% 用 \cs{publicationskip}。 % \begin{macrocode} -\def\publicationskip{\bigskip\bigskip} +\newenvironment{publications}{% + \thu@deprecate{"publications" environment}{"achievements"}% + \begin{achievements}% +}{% + \end{achievements}% +} +\newcommand\publicationskip{% + \thu@error{The "\protect\publicationskip" is obsolete. Do not use it}% +} % \end{macrocode} -% \end{macro} % % \subsection{综合论文训练记录表} % @@ -5048,7 +5136,8 @@ \phantomsection } \pdfstringdefDisableCommands{ - \let\\\@empty + \let\\\relax + \let\quad\relax \let\hspace\@gobble }% % \end{macrocode} @@ -5108,9 +5197,11 @@ % % 我们采用 \pkg{longtable} 来处理跨页的表格。同样我们需要设置其默认字体为五号。 % \begin{macrocode} -\AtBeginDocument{% - \let\thu@LT@array\LT@array - \def\LT@array{\dawu[1.5]\thu@LT@array} % set default font size +\AtEndOfPackageFile*{longtable}{ + \pretocmd\LT@array{% + \fontsize{11bp}{14.3bp}\selectfont + \renewcommand\arraystretch{1.4}% + }{}{\thu@patch@error{\LT@array}} } % \end{macrocode} % @@ -5232,7 +5323,7 @@ \contentsuse{algorithm}{loa} \titlecontents{algorithm} [\z@]{} - {\contentspush{\fname@algorithm~\thecontentslabel\hspace{\ccwd}}}{} + {\contentspush{\fname@algorithm~\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage} } % \end{macrocode} @@ -5245,10 +5336,10 @@ \PassOptionsToPackage{algochapter}{algorithm2e} \AtEndOfPackageFile*{algorithm2e}{ \renewcommand\algorithmcfname{\thu@algorithm@name} - \SetAlgoCaptionLayout{dawu} + \SetAlgoCaptionLayout{thu@caption@font} \SetAlCapSty{relax} \SetAlgoCaptionSeparator{\hspace*{1em}} - \SetAlFnt{\dawu} + \SetAlFnt{\fontsize{11bp}{14.3bp}\selectfont} \renewcommand\listofalgorithms{% \thu@listof{algorithmcf}% } @@ -5257,7 +5348,7 @@ \contentsuse{algocf}{loa} \titlecontents{algocf} [\z@]{} - {\contentspush{\algorithmcfname~\thecontentslabel\hspace{\ccwd}}}{} + {\contentspush{\algorithmcfname~\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage} } % \end{macrocode} @@ -5392,9 +5483,17 @@ % \subsection{其它} % \label{sec:other} % -% 在模板文档结束时即装入配置文件,这样用户就能在导言区进行相应的修改。 +% 借用 \cls{ltxdoc} 和 \cls{l3doc} 里面的几个命令方便写文档。 +% \begin{macrocode} +\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} +\DeclareRobustCommand\file{\nolinkurl} +\DeclareRobustCommand\env{\textsf} +\DeclareRobustCommand\pkg{\textsf} +\DeclareRobustCommand\cls{\textsf} +% \end{macrocode} +% % \begin{macrocode} -\AtEndOfClass{\sloppy} +\sloppy % % \end{macrocode} % @@ -5570,9 +5669,11 @@ \DeclareDocumentCommand{\option}{m}{\textsf{#1}} \DeclareDocumentCommand{\env}{m}{\texttt{#1}} \DeclareDocumentCommand{\pkg}{s m}{% - \texttt{#2}\IfBooleanF#1{\thu@special@index{package}{#2}}} + \textsf{#2}\IfBooleanF#1{\thu@special@index{package}{#2}}} +\DeclareDocumentCommand{\cls}{s m}{% + \textsf{#2}\IfBooleanF#1{\thu@special@index{package}{#2}}} \DeclareDocumentCommand{\file}{s m}{% - \texttt{#2}\IfBooleanF#1{\thu@special@index{file}{#2}}} + \nolinkurl{#2}\IfBooleanF#1{\thu@special@index{file}{#2}}} \newcommand{\myentry}[1]{% \marginpar{\raggedleft\color{purple}\bfseries\strut #1}} \newcommand{\note}[2][Note]{{% diff --git a/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls b/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls index 0c9a916bb9d..ea7170ad6d1 100644 --- a/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls +++ b/Master/texmf-dist/tex/latex/thuthesis/thuthesis.cls @@ -23,7 +23,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2017/04/15] \ProvidesClass{thuthesis} -[2020/09/09 7.0.0 Tsinghua University Thesis Template] +[2020/10/14 7.1.0 Tsinghua University Thesis Template] \newcommand\thu@error[1]{% \ClassError{thuthesis}{#1}{}% } @@ -33,6 +33,15 @@ \newcommand\thu@patch@error[1]{% \thu@error{Failed to patch command \protect#1}% } +\newcommand\thu@deprecate[2]{% + \def\thu@@tmp{#2}% + \thu@warning{% + The #1 is deprecated% + \ifx\thu@@tmp\@empty\else + . Use #2 instead% + \fi + }% +} \@ifl@t@r\fmtversion{2017/04/15}{}{ \thu@error{% TeX Live 2017 or later version is required to compile this document% @@ -47,7 +56,7 @@ } \hyphenation{Thu-Thesis} \def\thuthesis{ThuThesis} -\def\version{7.0.0} +\def\version{7.1.0} \RequirePackage{kvdefinekeys} \RequirePackage{kvsetkeys} \RequirePackage{kvoptions} @@ -351,6 +360,7 @@ \clearpage \fi \@mainmatterfalse + \thusetup{toc-depth = 0}% } \ifthu@fontset@mac \thusetup{ @@ -601,7 +611,7 @@ \fi \fi \newcommand\thu@load@cjk@font@windows{% - \xeCJKsetup{EmboldenFactor=2} + \xeCJKsetup{EmboldenFactor=3}% \setCJKmainfont{SimSun}[ AutoFakeBold = true, ItalicFont = KaiTi, @@ -637,7 +647,6 @@ UprightFont = * Light, BoldFont = * Bold, ]% - \xeCJKsetwidth{‘’“”}{1em}% } \newcommand\thu@load@cjk@font@noto{% \setCJKmainfont{Noto Serif CJK SC}[ @@ -714,10 +723,44 @@ \thu@option@hook{cjk-font}{\thu@load@cjk@font} \renewcommand\normalsize{% \@setfontsize\normalsize{12bp}{20bp}% - \abovedisplayskip=12bp \@plus 2bp \@minus 2bp - \abovedisplayshortskip=12bp \@plus 2bp \@minus 2bp - \belowdisplayskip=\abovedisplayskip - \belowdisplayshortskip=\abovedisplayshortskip} + \abovedisplayskip 6bp% + \abovedisplayshortskip 6bp% + \belowdisplayshortskip 6bp% + \belowdisplayskip \abovedisplayskip +} +\normalsize +\ifx\MakeRobust\@undefined \else + \MakeRobust\normalsize +\fi +\DeclareRobustCommand\small{% + \@setfontsize\small{10.5bp}{17.5bp}% + \abovedisplayskip 6bp% + \abovedisplayshortskip 6bp% + \belowdisplayshortskip 6bp% + \def\@listi{\leftmargin\leftmargini + \topsep \z@skip + \parsep \z@skip + \itemsep \z@skip}% + \belowdisplayskip \abovedisplayskip +} +\DeclareRobustCommand\footnotesize{% + \@setfontsize\footnotesize{9bp}{15bp}% + \abovedisplayskip 6bp% + \abovedisplayshortskip 6bp% + \belowdisplayshortskip 6bp% + \def\@listi{\leftmargin\leftmargini + \topsep \z@skip + \parsep \z@skip + \itemsep \z@skip}% + \belowdisplayskip \abovedisplayskip +} +\DeclareRobustCommand\scriptsize{\@setfontsize\scriptsize{7.5bp}{12.5bp}} +\DeclareRobustCommand\tiny{\@setfontsize\tiny{6.5bp}{10.83bp}} +\DeclareRobustCommand\large{\@setfontsize\large{15bp}{25bp}} +\DeclareRobustCommand\Large{\@setfontsize\Large{18bp}{30bp}} +\DeclareRobustCommand\LARGE{\@setfontsize\LARGE{22bp}{36.67bp}} +\DeclareRobustCommand\huge{\@setfontsize\huge{24bp}{40bp}} +\DeclareRobustCommand\Huge{\@setfontsize\Huge{26bp}{43.33bp}} \def\thu@def@fontsize#1#2{% \expandafter\newcommand\csname #1\endcsname[1][1.3]{% \fontsize{#2}{##1\dimexpr #2}\selectfont}} @@ -730,9 +773,7 @@ \thu@def@fontsize{sanhao}{16bp} \thu@def@fontsize{xiaosan}{15bp} \thu@def@fontsize{sihao}{14bp} -\thu@def@fontsize{banxiaosi}{13bp} \thu@def@fontsize{xiaosi}{12bp} -\thu@def@fontsize{dawu}{11bp} \thu@def@fontsize{wuhao}{10.5bp} \thu@def@fontsize{xiaowu}{9bp} \thu@def@fontsize{liuhao}{7.5bp} @@ -759,9 +800,9 @@ \def\bibname{参考文献}% \def\appendixname{附录}% \def\indexname{索引}% - \def\thu@acknowledgements@name{致\hspace{\ccwd}谢}% + \def\thu@acknowledgements@name{致\quad 谢}% \ifthu@degree@bachelor - \def\contentsname{目\hspace{\ccwd}录}% + \def\contentsname{目\quad 录}% \def\listfigurename{插图索引}% \def\listtablename{表格索引}% \def\thu@list@figure@table@name{插图和附表索引}% @@ -776,12 +817,11 @@ \def\thu@list@algorithm@name{算法清单}% \def\listequationname{公式清单}% \ifthu@degree@graduate - \def\contentsname{目\hspace{\ccwd}录}% - \def\thu@toc@contents@name{目录}% + \def\contentsname{目\quad 录}% \def\thu@denotation@name{符号和缩略语说明}% \def\thu@resume@name{个人简历、在学期间完成的相关学术成果}% \else % degree = postdoc - \def\contentsname{目\hspace{2\ccwd}次}% + \def\contentsname{目\qquad 次}% \def\thu@denotation@name{符号表}% \def\thu@resume@name{个人简历、发表的学术论文与科研成果}% \fi @@ -806,7 +846,6 @@ \def\thu@resume@name{PUBLICATIONS}% \else \def\contentsname{Contents}% - \def\thu@toc@contents@name{Contents}% \def\listfigurename{List of Figures}% \def\listtablename{List of Tables}% \def\thu@list@figure@table@name{List of Figures and Tables}% @@ -873,6 +912,8 @@ } \thu@set@names \thu@option@hook{language}{\thu@set@names} +\xeCJKDeclareCharClass{CJK}{"2460 -> "2473} +\xeCJKDeclareCharClass{CJK}{"2605} \newcommand\thu@set@punctuations{% \ifthu@language@chinese \xeCJKDeclareCharClass{FullLeft}{"2018, "201C}% @@ -912,7 +953,7 @@ \fancyfoot[C]{\wuhao\thepage}% \let\@mkboth\markboth \def\chaptermark##1{% - \markboth{\CTEXifname{\CTEXthechapter\hskip\ccwd}{}##1}{}% + \markboth{\CTEXifname{\CTEXthechapter\quad}{}##1}{}% }% \fi \let\sectionmark\@gobble @@ -937,26 +978,6 @@ \thu@set@indent \thu@option@hook{degree}{\thu@set@indent} \thu@option@hook{main-language}{\thu@set@indent} -\setlist{nosep} -\def\thu@textcircled#1{% - \ifnum\value{#1} >10\relax - \thu@error{% - Too many footnotes in this page. - Keep footnote less than 10% - }% - \fi - {\CJKfamily+{}\symbol{\the\numexpr\value{#1}+"245F\relax}}% -} -\renewcommand{\thefootnote}{\thu@textcircled{footnote}} -\renewcommand{\thempfootnote}{\thu@textcircled{mpfootnote}} -\def\footnoterule{\vskip-3\p@\hrule\@width0.3\textwidth\@height0.4\p@\vskip2.6\p@} -\let\thu@footnotesize\footnotesize -\renewcommand\footnotesize{\thu@footnotesize\xiaowu[1.5]} -\footnotemargin1.5em\relax -\let\thu@makefnmark\@makefnmark -\def\thu@@makefnmark{\hbox{{\normalfont\@thefnmark}}} -\pretocmd{\@makefntext}{\let\@makefnmark\thu@@makefnmark}{}{} -\apptocmd{\@makefntext}{\let\@makefnmark\thu@makefnmark}{}{} \urlstyle{same} \g@addto@macro\UrlBreaks{% \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9% @@ -966,6 +987,85 @@ \do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z } \Urlmuskip=0mu plus 0.1mu +\partopsep=\z@skip +\def\@listi{\leftmargin\leftmargini + \parsep \z@skip + \topsep \z@skip + \itemsep\z@skip} +\let\@listI\@listi +\@listi +\def\@listii {\leftmargin\leftmarginii + \labelwidth\leftmarginii + \advance\labelwidth-\labelsep + \topsep \z@skip + \parsep \z@skip + \itemsep \z@skip} +\def\@listiii{\leftmargin\leftmarginiii + \labelwidth\leftmarginiii + \advance\labelwidth-\labelsep + \topsep \z@skip + \parsep \z@skip + \partopsep \z@skip + \itemsep \z@skip} +\setlist{nosep} +\newcommand\thu@circled[1]{% + \ifnum#1 >10\relax + \thu@error{% + Too many footnotes in this page. + Keep footnote less than 10% + }% + \fi + {\symbol{\the\numexpr#1+"245F\relax}}% +} +\renewcommand{\thefootnote}{\thu@circled{\c@footnote}} +\renewcommand{\thempfootnote}{\thu@circled{\c@mpfootnote}} +\def\footnoterule{\vskip-3\p@\hrule\@width0.3\textwidth\@height0.4\p@\vskip2.6\p@} +\footnotemargin=13.5bp +\long\def\@makefntext#1{% + \begingroup + % 序号取消上标 + \def\@makefnmark{\hbox{\normalfont\@thefnmark}}% + \xiaowu + \ifFN@hangfoot + \bgroup + \setbox\@tempboxa\hbox{% + \ifdim\footnotemargin>\z@ + \hb@xt@\footnotemargin{\@makefnmark\hss}% + \else + \@makefnmark + \fi + }% + \leftmargin\wd\@tempboxa + \rightmargin\z@ + \linewidth \columnwidth + \advance \linewidth -\leftmargin + \parshape \@ne \leftmargin \linewidth + % \footnotesize + \xiaowu + \@setpar{{\@@par}}% + \leavevmode + \llap{\box\@tempboxa}% + \parskip\hangfootparskip\relax + \parindent\hangfootparindent\relax + \else + \parindent1em% + \noindent + \ifdim\footnotemargin>\z@ + \hb@xt@ \footnotemargin{\hss\@makefnmark}% + \else + \ifdim\footnotemargin=\z@ + \llap{\@makefnmark}% + \else + \llap{\hb@xt@ -\footnotemargin{\@makefnmark\hss}}% + \fi + \fi + \fi + \footnotelayout#1% + \ifFN@hangfoot + \par\egroup + \fi + \endgroup +} \newcommand\thu@set@math@ellipsis{% \ifthu@language@chinese \DeclareRobustCommand\mathellipsis{\mathinner{\unicodecdots}}% @@ -1005,19 +1105,8 @@ } \allowdisplaybreaks[4] \renewcommand\theequation{\ifnum \c@chapter>\z@ \thechapter-\fi\@arabic\c@equation} -\def\make@df@tag{\@ifstar\thu@make@df@tag@@\make@df@tag@@@} -\def\thu@make@df@tag@@#1{\gdef\df@tag{\thu@maketag{#1}\def\@currentlabel{#1}}} -\iffalse -\ifthu@degree@bachelor - \def\thu@maketag#1{\maketag@@@{% - (\ignorespaces\text{\thu@equation@name\hskip0.5em}#1\unskip\@@italiccorr)}} - \def\tagform@#1{\maketag@@@{% - (\ignorespaces\text{\thu@equation@name\hskip0.5em}#1\unskip\@@italiccorr)\equcaption{#1}}} -\fi -\fi -\def\thu@maketag#1{\maketag@@@{(\ignorespaces #1\unskip\@@italiccorr)}} -\def\tagform@#1{\maketag@@@{(\ignorespaces #1\unskip\@@italiccorr)\equcaption{#1}}} -\renewcommand{\eqref}[1]{\textup{(\ref{#1})}} +\def\fps@figure{h} +\def\fps@table{h} \setlength{\floatsep}{6bp} \setlength{\textfloatsep}{6bp} \setlength{\intextsep}{6bp} @@ -1032,7 +1121,7 @@ \normalsize }{% \fontsize{11bp}{14.3bp}\selectfont - \renewcommand\arraystretch{1.2}% + \renewcommand\arraystretch{1.4}% }{}{\thu@patch@error{\@floatboxreset}} \ifthu@degree@bachelor \AtBeginDocument{% delay the check until all packages are loaded @@ -1040,12 +1129,21 @@ \g@addto@macro\appendix{\renewcommand*{\thetable}{\thechapter-\arabic{table}}} } \fi -\DeclareCaptionFont{thu}{\dawu} -\DeclareCaptionLabelSeparator{thu}{\hspace{\ccwd}} +\newcommand\thu@caption@font{} +\newcommand\thu@set@caption@font{% + \ifthu@degree@bachelor + \renewcommand\thu@caption@font{\fontsize{11bp}{15bp}\selectfont}% + \else + \renewcommand\thu@caption@font{\fontsize{11bp}{14.3bp}\selectfont}% + \fi +} +\thu@set@caption@font +\thu@option@hook{degree}{\thu@set@caption@font} +\DeclareCaptionFont{thu}{\thu@caption@font} \captionsetup{ format = hang, font = thu, - labelsep = thu, + labelsep = quad, aboveskip = 6bp, belowskip = 6bp, figureposition = bottom, @@ -1056,14 +1154,14 @@ \renewcommand{\thesubtable}{(\alph{subtable})} \heavyrulewidth=1.5bp \lightrulewidth=1bp -\def\hlinewd#1{% - \noalign{\ifnum0=`}\fi\hrule \@height #1 \futurelet - \reserved@a\@xhline} +\AtEndOfPackageFile*{threeparttable}{ + \g@addto@macro\TPT@defaults{\wuhao} +} \ifthu@degree@bachelor \newcommand{\thu@abstract@name}{中文摘要} \newcommand{\thu@abstract@name@en}{ABSTRACT} \else - \newcommand{\thu@abstract@name}{摘\hspace{\ccwd}要} + \newcommand{\thu@abstract@name}{摘\quad 要} \newcommand{\thu@abstract@name@en}{Abstract} \fi \ctexset{% @@ -1125,8 +1223,8 @@ \ctexset{% chapter = { format = \centering\sffamily\sanhao, - beforeskip = 32bp, - afterskip = 32bp, + beforeskip = 27bp, + afterskip = 27bp, }, section = { format = \sffamily\fontsize{14bp}{20bp}\selectfont, @@ -1209,7 +1307,7 @@ \setcounter{tocdepth}{2} \renewcommand\tableofcontents{% \ifthu@degree@graduate - \thu@chapter*[\thu@toc@contents@name]{\contentsname}% + \thu@chapter*{\contentsname}% \else \thu@chapter*[]{\contentsname}% \fi @@ -1266,13 +1364,7 @@ \fi \else \titlecontents{chapter} - [\z@]{\addvspace{6bp} - \ifthu@main@language@chinese - \heiti - \else - \sffamily - \fi - } + [\z@]{\addvspace{6bp}\sffamily} {\contentspush{\thecontentslabel\quad}}{} {\rmfamily\thu@leaders\thecontentspage}% \titlecontents{section} @@ -1532,7 +1624,7 @@ \restoregeometry } \newcommand\thu@titlepage@secret{% - \sffamily\CJKfamily+{}\sanhao + \sffamily\sanhao \ifx\thu@secret@level\@empty \phantom{秘密}% \else @@ -1755,7 +1847,7 @@ \centering \parbox[t][0cm][t]{\textwidth}{% \hfill - \CJKfamily+{}\xiaosi + \xiaosi \ifx\thu@secret@level\@empty\else \thu@secret@level\space\thu@secret@year 年\par \fi @@ -1923,52 +2015,19 @@ }% }{% } -\newcommand{\thu@authorization@title}{关于学位论文使用授权的说明} -\newcommand{\thu@authorization@content}{% -\ifthu@degree@bachelor - 本人完全了解清华大学有关保留、使用学位论文的规定,% - 即:学校有权保留学位论文的复印件,允许该论文被查阅和借阅;% - 学校可以公布该论文的全部或部分内容,可以采用影印、缩印或其他复制手段保存该论文。% -\else - 本人完全了解清华大学有关保留、使用学位论文的规定,即:\par - 清华大学拥有在著作权法规定范围内学位论文的使用权,其中包括:% - (1)已获学位的研究生必须按学校规定提交学位论文,% - 学校可以采用影印、缩印或其他复制手段保存研究生上交的学位论文;% - (2)为教学和科研目的,学校可以将公开的学位论文作为资料在图书馆、资料室等场所供校内师生阅读,% - 或在校园网上供校内师生浏览部分内容;% - \ifthu@degree@doctor - (3)根据《中华人民共和国学位条例暂行实施办法》及相关部门具体要求,向国家图书馆报送相应的学位论文。% - \else - (3)按照相关部门督导、抽查等要求,报送相应的学位论文。% - \fi - \par - 本人保证遵守上述规定。% - \fi -} -\newcommand{\thu@authorization@addon}{% - \ifthu@degree@bachelor(涉密的学位论文在解密后应遵守此规定)\else (保密的论文在解密后遵守此规定)\fi} -\newcommand{\thu@authorization@authorsig}{\ifthu@degree@bachelor 签\hskip1em名:\else 作者签名:\fi} -\newcommand{\thu@authorization@teachersig}{导师签名:} -\newcommand{\thu@authorization@frontdate}{% - 日\ifthu@degree@bachelor\hspace{1em}\else\hspace{2em}\fi 期:} \newcommand\copyrightpage[1][]{% \ifthu@degree@postdoc\relax\else - \cleardoublepage - \thispagestyle{empty}% - \thu@pdfbookmark{0}{\thu@authorization@title}% \def\thu@@tmp{#1} \ifx\thu@@tmp\@empty - \ifthu@degree@bachelor\thu@authorization@mk\else% - \begin{list}{}{% - \topsep\z@% - \listparindent\parindent% - \parsep\parskip% - \setlength{\leftmargin}{0.9mm}% - \setlength{\rightmargin}{0.9mm}}% - \item[]\thu@authorization@mk% - \end{list}% - \fi% + \ifthu@degree@bachelor + \thu@copyright@page@bachelor + \else + \thu@copyright@page@graduate + \fi \else + \cleardoublepage + \thispagestyle{empty}% + \thu@pdfbookmark{0}{\thu@authorization@title}% \thu@phantomsection \kv@define@key{thu@copyright}{file}{\includepdf{\kv@value}}% \kv@set@family@handler{thu@copyright}{% @@ -1982,25 +2041,84 @@ \fi \fi } -\newcommand{\thu@authorization@mk}{% - \ifthu@degree@bachelor\vspace*{0.2cm}\else\vspace*{0.42cm}\fi % shit code! - \begin{center}\erhao\heiti \thu@authorization@title\end{center} - \ifthu@degree@bachelor\vskip5pt\else\vskip40pt\sihao[2.03]\fi\par - \thu@authorization@content\par - \textbf{\thu@authorization@addon}\par - \ifthu@degree@bachelor\vskip0.7cm\else\vskip1.0cm\fi - \ifthu@degree@bachelor - \indent\mbox{\thu@authorization@authorsig\thu@underline\relax% - \thu@authorization@teachersig\thu@underline\relax\thu@authorization@frontdate\thu@underline\relax} - \else - \begingroup - \parindent0pt\xiaosi - \hspace*{1.5cm}\thu@authorization@authorsig\thu@underline[7em]\relax\hfill% - \thu@authorization@teachersig\thu@underline[7em]\relax\hspace*{1cm}\\[3pt] - \hspace*{1.5cm}\thu@authorization@frontdate\thu@underline[7em]\relax\hfill% - \thu@authorization@frontdate\thu@underline[7em]\relax\hspace*{1cm} - \endgroup - \fi} +\newcommand{\thu@authorization@frontdate}{% + 日\ifthu@degree@bachelor\hspace{1em}\else\hspace{2em}\fi 期:} +\newcommand\thu@copyright@page@graduate{% + \cleardoublepage + \newgeometry{ + vmargin = 3.8cm, + hmargin = 3.2cm, + }% + \begingroup + \ctexset{ + chapter = { + format = {\centering\sffamily\erhao}, + beforeskip = 18bp, + afterskip = 6bp, + }, + }% + \thu@chapter*[]{关于学位论文使用授权的说明}% + \thispagestyle{empty}% + \endgroup + \vskip 50bp% + \begingroup + \fontsize{14bp}{26bp}\selectfont + 本人完全了解清华大学有关保留、使用学位论文的规定,即:\par + 清华大学拥有在著作权法规定范围内学位论文的使用权,其中包括:% + (1)已获学位的研究生必须按学校规定提交学位论文,% + 学校可以采用影印、缩印或其他复制手段保存研究生上交的学位论文;% + (2)\nobreak 为教学和科研目的,学校可以将公开的学位论文作为资料在图书馆、资料室等场所供校内师生阅读,% + 或在校园网上供校内师生浏览部分内容;% + \ifthu@degree@doctor + (3)根据《中华人民共和国学位条例暂行实施办法》及上级教育主管部门具体要求,向国家图书馆报送相应的学位论文。% + \else + (3)按照上级教育主管部门督导、抽查等要求,报送相应的学位论文。% + \fi + \par + 本人保证遵守上述规定。\par + \vskip 6bp% + \textbf{(保密的论文在解密后遵守此规定)}\par + \endgroup + \vskip1.2cm% + \begingroup + \noindent\xiaosi + \hspace*{1.5cm}% + 作者签名:\thu@underline[7em]\relax\hfill + 导师签名:\thu@underline[7em]\relax\hspace*{1cm}\\[3pt]% + \hspace*{1.5cm}% + 日\hspace{2em}期:\thu@underline[7em]\relax\hfill + 日\hspace{2em}期:\thu@underline[7em]\relax\hspace*{1cm}% + \endgroup + \clearpage + \restoregeometry +} +\newcommand\thu@copyright@page@bachelor{% + \cleardoublepage + \begingroup + \ctexset{ + chapter = { + format = {\centering\sffamily\erhao[1]}, + beforeskip = 1bp, + afterskip = 24bp, + }, + }% + \thu@chapter*[]{关于学位论文使用授权的说明}% + \thispagestyle{empty}% + \endgroup + \vskip 4bp% + 本人完全了解清华大学有关保留、使用学位论文的规定,即:% + 学校有权保留学位论文的复印件,允许该论文被查阅和借阅;% + 学校可以公布该论文的全部或部分内容,可以采用影印、缩印或其他复制手段保存该论文。\par + \textbf{(涉密的学位论文在解密后应遵守此规定)}\par + \null\par + \begingroup + \centering + 签\quad 名:\thu@underline[6em]{}% + 导师签名:\thu@underline[6em]{}% + 日\quad 期\thu@underline[6em]{}% + \par + \endgroup +} \thu@define@key{ keywords, keywords* = { @@ -2031,18 +2149,14 @@ \fi }{% \par + \null\par \ifthu@degree@graduate - \vspace*{\stretch{4}}% \noindent \textsf{关键词:}% \else - \null\par \textbf{关键词:}% \fi \thu@clist@use{\thu@keywords}{;}% - \ifthu@degree@graduate - \vspace*{\stretch{1}}% - \fi \ifthu@degree@bachelor \cleardoublepage \fi @@ -2054,23 +2168,17 @@ \fi \thusetup{language = english}% \ifthu@degree@graduate - \begingroup - \ctexset{chapter/format+=\bfseries}% - \thu@chapter*[\sffamily\bfseries\thu@abstract@name@en]{\thu@abstract@name@en}% - \endgroup + \thu@chapter*{\thu@abstract@name@en}% \else \thu@chapter*[]{\thu@abstract@name@en}% \fi }{% \par + \null\par \ifthu@degree@graduate - \vspace*{\stretch{4}}% \noindent - \textbf{Key Words:}\space - \else - \null\par - \textbf{Keywords:}\space \fi + \textbf{Keywords:}\space \thu@clist@use{\thu@keywords@en}{; }% \ifthu@degree@graduate \vspace*{\stretch{1}}% @@ -2204,14 +2312,14 @@ } \titlecontents{figure} [\z@]{} - {\contentspush{\figurename~\thecontentslabel\hspace{\ccwd}}}{} + {\contentspush{\figurename~\thecontentslabel\quad}}{} {\nobreak\thu@leaders\nobreak\hfil\thecontentspage} \renewcommand\listoftables{% \thu@listof{table}% } \titlecontents{table} [\z@]{} - {\contentspush{\tablename~\thecontentslabel\hspace{\ccwd}}}{} + {\contentspush{\tablename~\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage} \newcommand\listoffiguresandtables{% \thu@chapter*{\thu@list@figure@table@name}% @@ -2233,6 +2341,11 @@ \thu@define@key{ cite-style = { name = cite@style, + choices = { + super, + inline, + author-year, + } } } \PassOptionsToPackage{compress}{natbib} @@ -2240,14 +2353,17 @@ \DeclareRobustCommand\inlinecite{\@inlinecite} \def\@inlinecite#1{\begingroup\let\@cite\NAT@citenum\citep{#1}\endgroup} \let\onlinecite\inlinecite - \expandafter\newcommand\csname bibstyle@thuthesis-numeric\endcsname{% + \newcommand\bibstyle@super{% \bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}} - \expandafter\newcommand\csname bibstyle@thuthesis-author-year\endcsname{% + \newcommand\bibstyle@inline{% + \bibpunct{[}{]}{,}{n}{,}{,}} + \@namedef{bibstyle@author-year}{% \bibpunct{(}{)}{;}{a}{,}{,}} - \expandafter\newcommand\csname bibstyle@thuthesis-bachelor\endcsname{% - \bibpunct{[}{]}{,}{s}{,}{\textsuperscript{,}}} - \@namedef{bibstyle@thuthesis-inline}{\bibpunct{[}{]}{,}{n}{,}{,}} - \thu@option@hook{cite-style}{\@nameuse{bibstyle@thuthesis-\thu@cite@style}} + \thu@option@hook{cite-style}{\@nameuse{bibstyle@\thu@cite@style}} + \@namedef{bibstyle@thuthesis-numeric}{\citestyle{super}} + \@namedef{bibstyle@thuthesis-author-year}{\citestyle{author-year}} + \@namedef{bibstyle@thuthesis-bachelor}{\citestyle{super}} + \@namedef{bibstyle@thuthesis-inline}{\citestyle{inline}} \renewcommand\NAT@citesuper[3]{\ifNAT@swa \if*#2*\else#2\NAT@spacechar\fi % \unskip\kern\p@\textsuperscript{\NAT@@open#1\NAT@@close}% @@ -2443,7 +2559,7 @@ \newcommand\thu@set@bibliography@format{% \ifthu@degree@bachelor \renewcommand\bibfont{\fontsize{10.5bp}{17bp}\selectfont}% - \setlength{\bibsep}{6bp}% + \setlength{\bibsep}{6bp \@plus 3bp \@minus 3bp}% \ifthu@main@language@chinese \setlength{\bibhang}{21bp}% \else @@ -2451,13 +2567,24 @@ \fi \else \renewcommand\bibfont{\fontsize{10.5bp}{16bp}\selectfont}% - \setlength{\bibsep}{3bp}% + \setlength{\bibsep}{3bp \@plus 3bp \@minus 3bp}% \setlength{\bibhang}{21bp}% \fi } \thu@set@bibliography@format \thu@option@hook{degree}{\thu@set@bibliography@format} \thu@option@hook{main-language}{\thu@set@bibliography@format} + \patchcmd\thebibliography{% + \clubpenalty4000% + }{% + \interlinepenalty=5000\relax + \clubpenalty=10000\relax + }{}{\thu@patch@error{\thebibliography}} + \patchcmd\thebibliography{% + \widowpenalty4000% + }{% + \widowpenalty=10000\relax + }{}{\thu@patch@error{\thebibliography}} \def\@biblabel#1{[#1]\hfill} \renewcommand\NAT@bibsetnum[1]{% % \settowidth\labelwidth{\@biblabel{#1}}% @@ -2489,7 +2616,7 @@ \newcommand\thu@set@bibliography@format{% \ifthu@degree@bachelor \renewcommand\bibfont{\fontsize{10.5bp}{17bp}\selectfont}% - \setlength{\bibitemsep}{6bp}% + \setlength{\bibitemsep}{6bp \@plus 3bp \@minus 3bp}% \ifthu@main@language@chinese \setlength{\bibhang}{21bp}% \else @@ -2497,7 +2624,7 @@ \fi \else \renewcommand\bibfont{\fontsize{10.5bp}{16bp}\selectfont}% - \setlength{\bibitemsep}{3bp}% + \setlength{\bibitemsep}{3bp \@plus 3bp \@minus 3bp}% \setlength{\biblabelsep}{0.1cm}% \setlength{\bibhang}{21bp}% \fi @@ -2560,6 +2687,7 @@ \section*{Contents}% \thu@pdfbookmark{1}{Contents}% \printcontents[survey]{l}{1}[2]{}% + \vskip 20bp% }% \renewcommand\bibname{参考文献}% \let\bibsection\thu@appendix@bibsection @@ -2583,6 +2711,7 @@ \section*{目录}% \thu@pdfbookmark{1}{目录}% \printcontents[translation]{l}{1}[2]{}% + \vskip 20bp% }% \def\bibsection{% \begingroup @@ -2619,15 +2748,15 @@ \newcommand\thu@set@partial@toc@format{% \titlecontents{section} [\z@]{} - {\contentspush{\thecontentslabel\hspace{\ccwd}}}{} + {\contentspush{\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage}% \titlecontents{subsection} - [1\ccwd]{} - {\contentspush{\thecontentslabel\hspace{\ccwd}}}{} + [1em]{} + {\contentspush{\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage}% \titlecontents{subsubsection} - [2\ccwd]{} - {\contentspush{\thecontentslabel\hspace{\ccwd}}}{} + [2em]{} + {\contentspush{\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage}% } \newcommand\thu@appendix@bibsection{% @@ -2641,20 +2770,58 @@ \vskip 6bp% }% \newcommand\thu@appendix@bibliography[1]{\putbib[#1]} -\newenvironment{resume}[1][\thu@resume@name]{% +\newenvironment{resume}{% \@mainmatterfalse - \thu@chapter*{#1}}{} -\newcommand{\resumeitem}[1]{% - \vspace{24bp}{\sihao\heiti\centerline{#1}}\par\vspace{6bp}} -\newcommand{\researchitem}[1]{% - \vspace{32bp}{\sihao\heiti\centerline{#1}}\par\vspace{14bp}} -\newlist{publications}{enumerate}{1} -\setlist[publications]{label=[\arabic*],align=left,nosep,itemsep=8bp, - leftmargin=10mm,labelsep=!,before=\xiaosi[1.26],resume} + \thu@chapter*{\thu@resume@name}% + \ctexset{ + section = { + format += \centering, + numbering = false, + }, + subsection = { + format = \sffamily\fontsize{14bp}{20bp}\selectfont, + numbering = false, + aftertitle = \ifthu@language@chinese :\else :\fi, + }, + }% + \ifthu@degree@bachelor + \ifthu@language@english + \sffamily\fontsize{15bp}{20bp}\selectfont, + \fi + \fi +}{} +\newcommand\resumeitem[1]{% + \thu@error{The "\protect\resumeitem" is obsolete. Please update to the new format}% +} +\newcommand\researchitem[1]{% + \thu@error{The "\protect\researchitem" is obsolete. Please update to the new format}% +} \newlist{achievements}{enumerate}{1} -\setlist[achievements]{label=[\arabic*],align=left,nosep,itemsep=8bp, - leftmargin=10mm,labelsep=!,before=\xiaosi[1.26]} -\def\publicationskip{\bigskip\bigskip} +\setlist[achievements]{ + label = [\arabic*], + align = left, + leftmargin = 10mm, + topsep = 6bp, + parsep = 0bp, + partopsep = 0bp, + itemsep = 6bp, + labelsep = !, + before = { + \ifthu@degree@graduate + \fontsize{12bp}{16bp}\selectfont + \fi + }, + resume = achievements, +} +\newenvironment{publications}{% + \thu@deprecate{"publications" environment}{"achievements"}% + \begin{achievements}% +}{% + \end{achievements}% +} +\newcommand\publicationskip{% + \thu@error{The "\protect\publicationskip" is obsolete. Do not use it}% +} \newcommand{\record}[1]{% \let\thu@record@file\@empty \kv@define@key{thu@record}{file}{\let\thu@record@file\kv@value}% @@ -2698,7 +2865,8 @@ \phantomsection } \pdfstringdefDisableCommands{ - \let\\\@empty + \let\\\relax + \let\quad\relax \let\hspace\@gobble }% \@ifpackagelater{hyperref}{2019/04/27}{}{% @@ -2738,9 +2906,11 @@ \def\thenomenclature{\begin{denotation}[\nom@tempdim]} \def\endthenomenclature{\end{denotation}} } -\AtBeginDocument{% - \let\thu@LT@array\LT@array - \def\LT@array{\dawu[1.5]\thu@LT@array} % set default font size +\AtEndOfPackageFile*{longtable}{ + \pretocmd\LT@array{% + \fontsize{11bp}{14.3bp}\selectfont + \renewcommand\arraystretch{1.4}% + }{}{\thu@patch@error{\LT@array}} } \AtEndOfPackageFile*{siunitx}{% \sisetup{ @@ -2835,16 +3005,16 @@ \contentsuse{algorithm}{loa} \titlecontents{algorithm} [\z@]{} - {\contentspush{\fname@algorithm~\thecontentslabel\hspace{\ccwd}}}{} + {\contentspush{\fname@algorithm~\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage} } \PassOptionsToPackage{algochapter}{algorithm2e} \AtEndOfPackageFile*{algorithm2e}{ \renewcommand\algorithmcfname{\thu@algorithm@name} - \SetAlgoCaptionLayout{dawu} + \SetAlgoCaptionLayout{thu@caption@font} \SetAlCapSty{relax} \SetAlgoCaptionSeparator{\hspace*{1em}} - \SetAlFnt{\dawu} + \SetAlFnt{\fontsize{11bp}{14.3bp}\selectfont} \renewcommand\listofalgorithms{% \thu@listof{algorithmcf}% } @@ -2853,7 +3023,7 @@ \contentsuse{algocf}{loa} \titlecontents{algocf} [\z@]{} - {\contentspush{\algorithmcfname~\thecontentslabel\hspace{\ccwd}}}{} + {\contentspush{\algorithmcfname~\thecontentslabel\quad}}{} {\thu@leaders\thecontentspage} } \AtEndOfPackageFile*{minted}{ @@ -2955,7 +3125,12 @@ \fi \fi } -\AtEndOfClass{\sloppy} +\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} +\DeclareRobustCommand\file{\nolinkurl} +\DeclareRobustCommand\env{\textsf} +\DeclareRobustCommand\pkg{\textsf} +\DeclareRobustCommand\cls{\textsf} +\sloppy \endinput %% %% End of file `thuthesis.cls'. -- cgit v1.2.3