From 0799681b5ebca9c800642958339f0a2905b5b6fe Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 9 Jul 2020 22:32:27 +0000 Subject: thuthesis (10jul20) git-svn-id: svn://tug.org/texlive/trunk@55792 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md | 15 +- .../doc/latex/thuthesis/data/appendix-survey.tex | 7 +- .../texmf-dist/doc/latex/thuthesis/data/chap01.tex | 18 +- .../doc/latex/thuthesis/math_commands.tex | 292 --------------------- Master/texmf-dist/doc/latex/thuthesis/spine.pdf | Bin 17265 -> 17319 bytes Master/texmf-dist/doc/latex/thuthesis/thusetup.tex | 42 ++- .../doc/latex/thuthesis/thuthesis-example.pdf | Bin 877114 -> 875812 bytes .../texmf-dist/doc/latex/thuthesis/thuthesis.pdf | Bin 1075310 -> 1080107 bytes 8 files changed, 42 insertions(+), 332 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/math_commands.tex (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md b/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md index 4ccfabe39fa..336c697e0ab 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md @@ -6,6 +6,18 @@ ## [Unreleased] +## [v6.1.3] - 2020-07-09 +### Added +- 新增选项 `statement-page-style = empty / plain` 同时控制声明的页眉和页脚。 + +### Fixed +- `\record` 命令中,如果 `output` 配置为 `print`,则强制进行 `\cleardoublepage`,保证记录表独立成页。 +- 修正了在导言区设置论文主要语言无效的问题(#560)。 +- 修正了研究生插入扫描版声明页时的页眉。 + +### Deprecated +- 选项 `statement-page-number` 已过时。 + ## [v6.1.2] - 2020-06-14 ### Changed - `\statement` 和 `\copyrightpage` 命令都会在 PDF 中生成相应位置的书签。 @@ -593,7 +605,8 @@ -[Unreleased]: https://github.com/tuna/thuthesis/compare/v6.1.2...HEAD +[Unreleased]: https://github.com/tuna/thuthesis/compare/v6.1.3...HEAD +[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 [v6.1.1]: https://github.com/tuna/thuthesis/compare/v6.1.0...v6.1.1 [v6.1.0]: https://github.com/tuna/thuthesis/compare/v6.0.2...v6.1.0 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 5b6e24a896f..a3c5ef6205a 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/appendix-survey.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/appendix-survey.tex @@ -32,14 +32,13 @@ as follows, which maximizes a real-valued function $f$ of $x=(x_1,x_2,\cdots,x_n)$ subject to a set of constraints. -\newcommand\Real{\mathbf{R}} \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\} +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. @@ -134,8 +133,8 @@ concerned with analyzing the structure of problems. \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 +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 diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex b/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex index 6c2e757db24..2dfbcf4ec03 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex @@ -58,10 +58,9 @@ \subsection{基本表格} \label{sec:basictable} -模板中关于表格的宏包有三个:\pkg{booktabs}、\pkg{array} 和 \pkg{longtable},命 -令有一个 \cs{hlinewd}。三线表可以用 \pkg{booktabs} 提供 -的 \cs{toprule}、\cs{midrule} 和 \cs{bottomrule}。它们与 \pkg{longtable} 能很好的 -配合使用。如果表格比较简单的话可以直接用命令 \cs{hlinewd}\marg{width} 控制。 +模板中关于表格的宏包有三个:\pkg{booktabs}、\pkg{array} 和 \pkg{longtable}。 +三线表可以用 \pkg{booktabs} 提供 的 \cs{toprule}、\cs{midrule} 和 \cs{bottomrule}。 +它们与 \pkg{longtable} 能很好的配合使用。 \begin{table}[htb] \centering \begin{threeparttable}[b] @@ -105,7 +104,7 @@ \begin{minipage}[t]{0.8\textwidth} \begin{tabularx}{\linewidth}{|l|X|X|X|X|} \hline - \multirow{2}*{\diagbox[width=5em]{x}{y}} & \multicolumn{2}{c|}{First Half} & \multicolumn{2}{c|}{Second Half}\\\cline{2-5} + \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 @@ -116,9 +115,8 @@ \end{minipage} \end{table} -此外,表~\ref{tab:tabexamp1} 同时还演示了另外两个功能:1)通过 \pkg{tabularx} 的 - \texttt{|X|} 扩展实现表格自动放大;2)通过命令 \cs{diagbox} 在表头部分 -插入反斜线。 +此外,表~\ref{tab:tabexamp1} 同时还演示了通过 \pkg{tabularx} 的 + \texttt{|X|} 扩展实现表格自动放大功能。 为了使我们的例子更接近实际情况,我会在必要的时候插入一些“无关”文字,以免太多图 表同时出现,导致排版效果不太理想。第一个出场的当然是我的最爱:风流潇洒、骏马绝尘、 @@ -405,7 +403,6 @@ x&\equiv y+1\pod{m^2} 乾,反复道也。或跃在渊,进无咎也。飞龙在天,大人造也。亢龙有悔,盈不可久也。用九, 天德不可为首也。    -\newcommand\dif{\mathop{}\!\mathrm{d}} \begin{lemma} 《猫和老鼠》是我最爱看的动画片。 \begin{multline*}%\tag*{[a]} % 这个不出现在索引中 @@ -540,9 +537,8 @@ p(y|\vx) = \frac{p(\vx,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}} +\det\mK(t=1,t_1,\dots,t_n)=\sum_{I\in\vn}(-1)^{\abs{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} diff --git a/Master/texmf-dist/doc/latex/thuthesis/math_commands.tex b/Master/texmf-dist/doc/latex/thuthesis/math_commands.tex deleted file mode 100644 index e3636b612a6..00000000000 --- a/Master/texmf-dist/doc/latex/thuthesis/math_commands.tex +++ /dev/null @@ -1,292 +0,0 @@ -% !TeX root = ./thuthesis-example.tex - -% Adapted for use with thuthesis. -% Original code is at https://github.com/goodfeli/dlbook_notation/blob/master/math_commands.tex - -%%%%% NEW MATH DEFINITIONS %%%%% - -\newcommand\ceil[1]{\lceil #1 \rceil} -\newcommand\floor[1]{\lfloor #1 \rfloor} - - -% Vectors -\newcommand\Vector[1]{\symbf{#1}} - -\newcommand\0{{\Vector{0}}} -\newcommand\vzero{{\Vector{0}}} -\newcommand\1{{\Vector{1}}} -\newcommand\vone{{\Vector{1}}} - -\newcommand\va{{\Vector{a}}} -\newcommand\vb{{\Vector{b}}} -\newcommand\vc{{\Vector{c}}} -\newcommand\vd{{\Vector{d}}} -\newcommand\ve{{\Vector{e}}} -\newcommand\vf{{\Vector{f}}} -\newcommand\vg{{\Vector{g}}} -\newcommand\vh{{\Vector{h}}} -\newcommand\vi{{\Vector{i}}} -\newcommand\vj{{\Vector{j}}} -\newcommand\vk{{\Vector{k}}} -\newcommand\vl{{\Vector{l}}} -\newcommand\vm{{\Vector{m}}} -\newcommand\vn{{\Vector{n}}} -\newcommand\vo{{\Vector{o}}} -\newcommand\vp{{\Vector{p}}} -\newcommand\vq{{\Vector{q}}} -\newcommand\vr{{\Vector{r}}} -\newcommand\vs{{\Vector{s}}} -\newcommand\vt{{\Vector{t}}} -\newcommand\vu{{\Vector{u}}} -\newcommand\vv{{\Vector{v}}} -\newcommand\vw{{\Vector{w}}} -\newcommand\vx{{\Vector{x}}} -\newcommand\vy{{\Vector{y}}} -\newcommand\vz{{\Vector{z}}} - -\newcommand\valpha{{\Vector{\alpha}}} -\newcommand\vbeta{{\Vector{\beta}}} -\newcommand\vgamma{{\Vector{\gamma}}} -\newcommand\vdelta{{\Vector{\delta}}} -\newcommand\vepsilon{{\Vector{\epsilon}}} -\newcommand\vtheta{{\Vector{\theta}}} -\newcommand\viota{{\Vector{\iota}}} -\newcommand\vkappa{{\Vector{\kappa}}} -\newcommand\vlambda{{\Vector{\lambda}}} -\newcommand\vmu{{\Vector{\mu}}} -\newcommand\vnu{{\Vector{\nu}}} -\newcommand\vxi{{\Vector{\xi}}} -\newcommand\vpi{{\Vector{\pi}}} -\newcommand\vrho{{\Vector{\rho}}} -\newcommand\vsigma{{\Vector{\sigma}}} -\newcommand\vtau{{\Vector{\tau}}} -\newcommand\vupsilon{{\Vector{\upsilon}}} -\newcommand\vphi{{\Vector{\phi}}} -\newcommand\vchi{{\Vector{\chi}}} -\newcommand\vpsi{{\Vector{\psi}}} -\newcommand\vomega{{\Vector{\omega}}} - - -% Matrix -\newcommand\MATRIX[1]{\symbf{#1}} - -\newcommand\mA{{\MATRIX{A}}} -\newcommand\mB{{\MATRIX{B}}} -\newcommand\mC{{\MATRIX{C}}} -\newcommand\mD{{\MATRIX{D}}} -\newcommand\mE{{\MATRIX{E}}} -\newcommand\mF{{\MATRIX{F}}} -\newcommand\mG{{\MATRIX{G}}} -\newcommand\mH{{\MATRIX{H}}} -\newcommand\mI{{\MATRIX{I}}} -\newcommand\mJ{{\MATRIX{J}}} -\newcommand\mK{{\MATRIX{K}}} -\newcommand\mL{{\MATRIX{L}}} -\newcommand\mM{{\MATRIX{M}}} -\newcommand\mN{{\MATRIX{N}}} -\newcommand\mO{{\MATRIX{O}}} -\newcommand\mP{{\MATRIX{P}}} -\newcommand\mQ{{\MATRIX{Q}}} -\newcommand\mR{{\MATRIX{R}}} -\newcommand\mS{{\MATRIX{S}}} -\newcommand\mT{{\MATRIX{T}}} -\newcommand\mU{{\MATRIX{U}}} -\newcommand\mV{{\MATRIX{V}}} -\newcommand\mW{{\MATRIX{W}}} -\newcommand\mX{{\MATRIX{X}}} -\newcommand\mY{{\MATRIX{Y}}} -\newcommand\mZ{{\MATRIX{Z}}} - -\newcommand\mGamma{{\MATRIX{\Gamma}}} -\newcommand\mDelta{{\MATRIX{\Delta}}} -\newcommand\mTheta{{\MATRIX{\Theta}}} -\newcommand\mLambda{{\MATRIX{\Lambda}}} -\newcommand\mXi{{\MATRIX{\Xi}}} -\newcommand\mPi{{\MATRIX{\Pi}}} -\newcommand\mSigma{{\MATRIX{\Sigma}}} -\newcommand\mUpsilon{{\MATRIX{\Upsilon}}} -\newcommand\mPhi{{\MATRIX{\Phi}}} -\newcommand\mPsi{{\MATRIX{\Psi}}} -\newcommand\mOmega{{\MATRIX{\Omega}}} - - -% Tensor -\newcommand\tens[1]{\symbfsf{#1}} -\newcommand\tA{{\tens{A}}} -\newcommand\tB{{\tens{B}}} -\newcommand\tC{{\tens{C}}} -\newcommand\tD{{\tens{D}}} -\newcommand\tE{{\tens{E}}} -\newcommand\tF{{\tens{F}}} -\newcommand\tG{{\tens{G}}} -\newcommand\tH{{\tens{H}}} -\newcommand\tI{{\tens{I}}} -\newcommand\tJ{{\tens{J}}} -\newcommand\tK{{\tens{K}}} -\newcommand\tL{{\tens{L}}} -\newcommand\tM{{\tens{M}}} -\newcommand\tN{{\tens{N}}} -\newcommand\tO{{\tens{O}}} -\newcommand\tP{{\tens{P}}} -\newcommand\tQ{{\tens{Q}}} -\newcommand\tR{{\tens{R}}} -\newcommand\tS{{\tens{S}}} -\newcommand\tT{{\tens{T}}} -\newcommand\tU{{\tens{U}}} -\newcommand\tV{{\tens{V}}} -\newcommand\tW{{\tens{W}}} -\newcommand\tX{{\tens{X}}} -\newcommand\tY{{\tens{Y}}} -\newcommand\tZ{{\tens{Z}}} - - -% Graph -\newcommand\gA{{\mathcal{A}}} -\newcommand\gB{{\mathcal{B}}} -\newcommand\gC{{\mathcal{C}}} -\newcommand\gD{{\mathcal{D}}} -\newcommand\gE{{\mathcal{E}}} -\newcommand\gF{{\mathcal{F}}} -\newcommand\gG{{\mathcal{G}}} -\newcommand\gH{{\mathcal{H}}} -\newcommand\gI{{\mathcal{I}}} -\newcommand\gJ{{\mathcal{J}}} -\newcommand\gK{{\mathcal{K}}} -\newcommand\gL{{\mathcal{L}}} -\newcommand\gM{{\mathcal{M}}} -\newcommand\gN{{\mathcal{N}}} -\newcommand\gO{{\mathcal{O}}} -\newcommand\gP{{\mathcal{P}}} -\newcommand\gQ{{\mathcal{Q}}} -\newcommand\gR{{\mathcal{R}}} -\newcommand\gS{{\mathcal{S}}} -\newcommand\gT{{\mathcal{T}}} -\newcommand\gU{{\mathcal{U}}} -\newcommand\gV{{\mathcal{V}}} -\newcommand\gW{{\mathcal{W}}} -\newcommand\gX{{\mathcal{X}}} -\newcommand\gY{{\mathcal{Y}}} -\newcommand\gZ{{\mathcal{Z}}} - - -% Sets -\newcommand\sA{{\mathbb{A}}} -\newcommand\sB{{\mathbb{B}}} -\newcommand\sC{{\mathbb{C}}} -\newcommand\sD{{\mathbb{D}}} -% Don't use a set called E, because this would be the same as our symbol -% for expectation. -\newcommand\sF{{\mathbb{F}}} -\newcommand\sG{{\mathbb{G}}} -\newcommand\sH{{\mathbb{H}}} -\newcommand\sI{{\mathbb{I}}} -\newcommand\sJ{{\mathbb{J}}} -\newcommand\sK{{\mathbb{K}}} -\newcommand\sL{{\mathbb{L}}} -\newcommand\sM{{\mathbb{M}}} -\newcommand\sN{{\mathbb{N}}} -\newcommand\sO{{\mathbb{O}}} -\newcommand\sP{{\mathbb{P}}} -\newcommand\sQ{{\mathbb{Q}}} -\newcommand\sR{{\mathbb{R}}} -\newcommand\sS{{\mathbb{S}}} -\newcommand\sT{{\mathbb{T}}} -\newcommand\sU{{\mathbb{U}}} -\newcommand\sV{{\mathbb{V}}} -\newcommand\sW{{\mathbb{W}}} -\newcommand\sX{{\mathbb{X}}} -\newcommand\sY{{\mathbb{Y}}} -\newcommand\sZ{{\mathbb{Z}}} - - -% Random variables -\newcommand\RandomVariable[1]{\symit{#1}} - -\newcommand\rA{{\RandomVariable{A}}} -\newcommand\rB{{\RandomVariable{B}}} -\newcommand\rC{{\RandomVariable{C}}} -\newcommand\rD{{\RandomVariable{D}}} -\newcommand\rE{{\RandomVariable{E}}} -\newcommand\rF{{\RandomVariable{F}}} -\newcommand\rG{{\RandomVariable{G}}} -\newcommand\rH{{\RandomVariable{H}}} -\newcommand\rI{{\RandomVariable{I}}} -\newcommand\rJ{{\RandomVariable{J}}} -\newcommand\rK{{\RandomVariable{K}}} -\newcommand\rL{{\RandomVariable{L}}} -\newcommand\rM{{\RandomVariable{M}}} -\newcommand\rN{{\RandomVariable{N}}} -\newcommand\rO{{\RandomVariable{O}}} -\newcommand\rP{{\RandomVariable{P}}} -\newcommand\rQ{{\RandomVariable{Q}}} -\newcommand\rR{{\RandomVariable{R}}} -\newcommand\rS{{\RandomVariable{S}}} -\newcommand\rT{{\RandomVariable{T}}} -\newcommand\rU{{\RandomVariable{U}}} -\newcommand\rV{{\RandomVariable{V}}} -\newcommand\rW{{\RandomVariable{W}}} -\newcommand\rX{{\RandomVariable{X}}} -\newcommand\rY{{\RandomVariable{Y}}} -\newcommand\rZ{{\RandomVariable{Z}}} - -% Random vectors -\newcommand\RandomVector[1]{\symbf{#1}} - -\newcommand\rvA{{\RandomVector{A}}} -\newcommand\rvB{{\RandomVector{B}}} -\newcommand\rvC{{\RandomVector{C}}} -\newcommand\rvD{{\RandomVector{D}}} -\newcommand\rvE{{\RandomVector{E}}} -\newcommand\rvF{{\RandomVector{F}}} -\newcommand\rvG{{\RandomVector{G}}} -\newcommand\rvH{{\RandomVector{H}}} -\newcommand\rvI{{\RandomVector{I}}} -\newcommand\rvJ{{\RandomVector{J}}} -\newcommand\rvK{{\RandomVector{K}}} -\newcommand\rvL{{\RandomVector{L}}} -\newcommand\rvM{{\RandomVector{M}}} -\newcommand\rvN{{\RandomVector{N}}} -\newcommand\rvO{{\RandomVector{O}}} -\newcommand\rvP{{\RandomVector{P}}} -\newcommand\rvQ{{\RandomVector{Q}}} -\newcommand\rvR{{\RandomVector{R}}} -\newcommand\rvS{{\RandomVector{S}}} -\newcommand\rvT{{\RandomVector{T}}} -\newcommand\rvU{{\RandomVector{U}}} -\newcommand\rvV{{\RandomVector{V}}} -\newcommand\rvW{{\RandomVector{W}}} -\newcommand\rvX{{\RandomVector{X}}} -\newcommand\rvY{{\RandomVector{Y}}} -\newcommand\rvZ{{\RandomVector{Z}}} - -\newcommand\laplace{\mathrm{Laplace}} % Laplace distribution - -\newcommand\E{\mathbb{E}} -\newcommand\Ls{\mathcal{L}} -\newcommand\R{\mathbb{R}} -\newcommand\emp{\tilde{p}} -\newcommand\lr{\alpha} -\newcommand\reg{\lambda} -\newcommand\rect{\mathrm{rectifier}} -\newcommand\softmax{\mathrm{softmax}} -\newcommand\sigmoid{\sigma} -\newcommand\softplus{\zeta} -\newcommand\KL{D_{\mathrm{KL}}} -\newcommand\Var{\mathrm{Var}} -\newcommand\standarderror{\mathrm{SE}} -\newcommand\Cov{\mathrm{Cov}} -% Wolfram Mathworld says $L^2$ is for function spaces and $\ell^2$ is for vectors -% But then they seem to use $L^2$ for vectors throughout the site, and so does -% wikipedia. -\newcommand\normlzero{L^0} -\newcommand\normlone{L^1} -\newcommand\normltwo{L^2} -\newcommand\normlp{L^p} -\newcommand\normmax{L^\infty} - -\DeclareMathOperator*{\argmax}{arg\,max} -\DeclareMathOperator*{\argmin}{arg\,min} - -\DeclareMathOperator{\sign}{sign} -\DeclareMathOperator{\Tr}{Tr} -\let\ab\allowbreak diff --git a/Master/texmf-dist/doc/latex/thuthesis/spine.pdf b/Master/texmf-dist/doc/latex/thuthesis/spine.pdf index dabd941d2ce..f4e9ef526ef 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 c1545ad8117..bba4722092d 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex @@ -89,11 +89,11 @@ % include-spine = false, % - % 生成的声明页是否要插入页码(默认 false) + % 生成的声明页是否要插入页眉和页脚(默认 empty) % 仅在需要进行电子签名时,才需要打开这一选项 - % 插入的扫描声明页总是会有页码,不受这一选项影响 + % 插入的扫描声明页总是会生成页眉(研究生)和页脚,不受这一选项影响 % - statement-page-number = false, + % statement-page-style = plain, % % 密级和年限 % 秘密, 机密, 绝密 @@ -126,9 +126,6 @@ \usepackage{threeparttable} \pretocmd{\TPTnoteSettings}{\footnotesize}{}{} -% 表格中的反斜线 -\usepackage{diagbox} - % 确定浮动对象的位置,可以使用 H,强制将浮动对象放到这里(可能效果很差) \usepackage{float} @@ -148,29 +145,26 @@ % 给自定义的宏后面自动加空白 % \usepackage{xspace} -% 借用 ltxdoc 里面的几个命令。 -\def\cmd#1{\cs{\expandafter\cmd@to@cs\string#1}} -\def\cmd@to@cs#1#2{\char\number`#2\relax} -\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}} - -\newcommand*{\meta}[1]{{% - \ensuremath{\langle}\rmfamily\itshape#1\/\ensuremath{\rangle}}} -\providecommand\marg[1]{% - {\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}} -\providecommand\oarg[1]{% - {\ttfamily[}\meta{#1}{\ttfamily]}} -\providecommand\parg[1]{% - {\ttfamily(}\meta{#1}{\ttfamily)}} -\providecommand\pkg[1]{{\sffamily#1}} - % 定义所有的图片文件在 figures 子目录下 \graphicspath{{figures/}} -% 数学命令 -\input{math_commands.tex} - % 定义自己常用的东西 % \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 5fff934fafb..7b6a0b2a4cd 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.pdf b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf index 1891336779c..d2d3ee64d7e 100644 Binary files a/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf and b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf differ -- cgit v1.2.3