summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-06-12 21:01:26 +0000
committerKarl Berry <karl@freefriends.org>2020-06-12 21:01:26 +0000
commitc862b5452d8ad2e4a80b25807e1b9bc4de5ce938 (patch)
treeb5a1a003049f3ab18c359a1573e76bccbfa733b6 /Master/texmf-dist/doc
parentbeb3e9e089df5acf554296e64bf8595f97491281 (diff)
thuthesis (12jun20)
git-svn-id: svn://tug.org/texlive/trunk@55523 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/README.md16
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/abstract.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/acknowledgements.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/appendix-survey.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/appendix-translation.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/denotation.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/data/resume.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/dtx-style.sty9
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/main.pdfbin877231 -> 0 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/math_commands.tex2
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/spine.pdfbin20346 -> 17166 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/spine.tex24
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/thusetup.tex12
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdfbin0 -> 877155 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.tex (renamed from Master/texmf-dist/doc/latex/thuthesis/main.tex)0
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdfbin1050296 -> 1075242 bytes
-rw-r--r--Master/texmf-dist/doc/latex/thuthesis/tsinghua-name-bachelor.pdf (renamed from Master/texmf-dist/doc/latex/thuthesis/tsinghua.pdf)bin14186 -> 14186 bytes
19 files changed, 51 insertions, 28 deletions
diff --git a/Master/texmf-dist/doc/latex/thuthesis/README.md b/Master/texmf-dist/doc/latex/thuthesis/README.md
index 8477c945ac1..6e6eb06a319 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/README.md
+++ b/Master/texmf-dist/doc/latex/thuthesis/README.md
@@ -24,7 +24,7 @@ Scroll down for the English version of README.
推荐下载**发布版**模板,里面包括具体使用说明以及示例文档:
* 模板使用说明 (thuthesis.pdf)
-* 示例文档 (main.pdf)
+* 示例文档 (thuthesis-example.pdf)
开发版中不提供预生成的 `cls` 文件和文档,仅包含源码。其仅供开发者与需要尚未发布的功能的有经验的 TeX 用户使用,不提供任何保证。
@@ -73,12 +73,12 @@ make [{all|thesis|spine|doc|clean|cleanall|distclean}]
```
### 目标
-* `make thesis` 生成论文 main.pdf;
+* `make thesis` 生成论文 thuthesis-example.pdf;
* `make spine` 生成书脊 spine.pdf;
* `make doc` 生成模板使用说明书 thuthesis.pdf;
* `make all` 生成论文和书脊,相当于 `make thesis && make spine`;
-* `make clean` 删除示例文件的中间文件(不含 main.pdf);
-* `make cleanall` 删除示例文件的中间文件和 main.pdf;
+* `make clean` 删除示例文件的中间文件(不含 thuthesis-example.pdf);
+* `make cleanall` 删除示例文件的中间文件和 thuthesis-example.pdf;
* `make distclean` 删除示例文件和模板的所有中间文件和 PDF。
---
@@ -94,7 +94,7 @@ This package establishes a simple and easy-to-use LaTeX template for Tsinghua di
**Published versions** are recommended. Specific usage documentation and examples can be found in the archive. At present, these documents are <b>only available in Chinese</b>:
* Template usage documentation (thuthesis.pdf)
-* Template example (main.pdf)
+* Template example (thuthesis-example.pdf)
Developer versions contain only source code but no pre-compiled `cls` file and documentations. They are only for the usage of developers and experienced TeX users in need of unpublished features. No warranties are provided.
@@ -141,10 +141,10 @@ make [{all|thesis|spine|doc|clean|cleanall|distclean}]
```
### Targets
-* `make thesis` generate thesis main.pdf;
+* `make thesis` generate thesis thuthesis-example.pdf;
* `make spine` generate book spine for printing spine.pdf;
* `make doc` generate template documentation thuthesis.pdf;
* `make all` generate thesis and spine, same as `make thesis && make spine`;
-* `make clean` delete all examples' files (excluding main.pdf);
-* `make cleanall` delete all examples' files and main.pdf;
+* `make clean` delete all examples' files (excluding thuthesis-example.pdf);
+* `make cleanall` delete all examples' files and thuthesis-example.pdf;
* `make distclean` delete all examples' and templates' files and PDFs.
diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/abstract.tex b/Master/texmf-dist/doc/latex/thuthesis/data/abstract.tex
index a7737b51685..600ce3c8158 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/abstract.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/abstract.tex
@@ -1,4 +1,4 @@
-% !TeX root = ../main.tex
+% !TeX root = ../thuthesis-example.tex
% 中英文摘要和关键字
diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/acknowledgements.tex b/Master/texmf-dist/doc/latex/thuthesis/data/acknowledgements.tex
index 0ef68793d56..04026682bb1 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/acknowledgements.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/acknowledgements.tex
@@ -1,4 +1,4 @@
-% !TeX root = ../main.tex
+% !TeX root = ../thuthesis-example.tex
\begin{acknowledgements}
衷心感谢导师 xxx 教授和物理系 xxx 副教授对本人的精心指导。他们的言传身教将使
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 f97039b45c1..5b6e24a896f 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/appendix-survey.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/appendix-survey.tex
@@ -1,4 +1,4 @@
-% !TeX root = ../main.tex
+% !TeX root = ../thuthesis-example.tex
\begin{survey}
\label{cha: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 5cc6549083e..9ed13da9b56 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/appendix-translation.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/appendix-translation.tex
@@ -1,4 +1,4 @@
-% !TeX root = ../main.tex
+% !TeX root = ../thuthesis-example.tex
\begin{translation}
\label{cha:translation}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex b/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex
index 01096ad170e..6c2e757db24 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/chap01.tex
@@ -1,4 +1,4 @@
-% !TeX root = ../main.tex
+% !TeX root = ../thuthesis-example.tex
\chapter{带 English 的标题}
\label{cha:intro}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex b/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex
index d4200f2dc49..3721ede72b9 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex
@@ -1,4 +1,4 @@
-% !TeX root = ../main.tex
+% !TeX root = ../thuthesis-example.tex
\chapter{图表公式例子}
\label{cha:chapter02}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/denotation.tex b/Master/texmf-dist/doc/latex/thuthesis/data/denotation.tex
index 962c6bb444e..d3aa4f13bbb 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/denotation.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/denotation.tex
@@ -1,4 +1,4 @@
-% !TeX root = ../main.tex
+% !TeX root = ../thuthesis-example.tex
\begin{denotation}[3cm]
\item[HPC] 高性能计算 (High Performance Computing)
diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex b/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex
index 587d9ef628d..02d777bbf18 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/data/resume.tex
@@ -1,4 +1,4 @@
-% !TeX root = ../main.tex
+% !TeX root = ../thuthesis-example.tex
\begin{resume}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/dtx-style.sty b/Master/texmf-dist/doc/latex/thuthesis/dtx-style.sty
index 90885ad6168..9d2dc2ceac2 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/dtx-style.sty
+++ b/Master/texmf-dist/doc/latex/thuthesis/dtx-style.sty
@@ -60,6 +60,15 @@
}
}
+\hypersetup{
+ pdflang = zh-CN,
+ pdftitle = {ThuThesis:清华大学学位论文模板},
+ pdfauthor = {清华大学 TUNA 协会},
+ pdfsubject = {清华大学学位论文模板使用说明},
+ pdfkeywords = {论文模板; 清华大学; 使用说明},
+ pdfdisplaydoctitle = true
+}%
+
\ifthenelse{\equal{\@nameuse{g__ctex_fontset_tl}}{mac}}{
\setmainfont{Palatino}
\setsansfont[Scale=MatchLowercase]{Helvetica}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/main.pdf b/Master/texmf-dist/doc/latex/thuthesis/main.pdf
deleted file mode 100644
index d4e1a77c4b8..00000000000
--- a/Master/texmf-dist/doc/latex/thuthesis/main.pdf
+++ /dev/null
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thuthesis/math_commands.tex b/Master/texmf-dist/doc/latex/thuthesis/math_commands.tex
index 5fc9be6751a..e3636b612a6 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/math_commands.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/math_commands.tex
@@ -1,3 +1,5 @@
+% !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
diff --git a/Master/texmf-dist/doc/latex/thuthesis/spine.pdf b/Master/texmf-dist/doc/latex/thuthesis/spine.pdf
index f5963cc5a65..ce40eba7d1a 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/spine.pdf
+++ b/Master/texmf-dist/doc/latex/thuthesis/spine.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thuthesis/spine.tex b/Master/texmf-dist/doc/latex/thuthesis/spine.tex
index aec1fde0b3d..4b8badf5d32 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/spine.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/spine.tex
@@ -1,19 +1,21 @@
-\documentclass[degree=master]{thuthesis}
+% !TeX encoding = UTF-8
+% !TeX program = xelatex
+% !TeX spellcheck = en_US
-\thusetup{
- author = {薛瑞尼},
- title = {没有英文的中文标题}
-}
+\documentclass[degree=master]{thuthesis}
-\begin{document}
+\input{thusetup.tex}
-\spine % 使用默认标题和默认作者
+\begin{document}
-\spine[使用默认作者的标题]
+\spine
-\spine[同时修改标题和作者的标题][尼瑞薛]
+\thusetup{
+ spine-font = {\Huge},
+ spine-title = {书脊的标题},
+ spine-author = {书脊的作者姓名},
+}
+\spine
-% 中英文混合时需要微调
-\spine[清华大学学位 \raisebox{-5pt}{\LaTeX} 论文模板 \raisebox{-5pt}{v\version} 样例]
\end{document}
diff --git a/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex b/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex
index 7e0e93575b6..3da519449b4 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex
@@ -1,4 +1,4 @@
-% !TeX root = ../main.tex
+% !TeX root = ./thuthesis-example.tex
% 论文基本信息配置
@@ -7,8 +7,14 @@
% 注意:
% 1. 配置里面不要出现空行
% 2. 不需要的配置信息可以删除
+ % 3. 建议先阅读文档中所有关于选项的说明
%******************************
%
+ % 输出格式
+ % 选择打印版(print)或用于提交的电子版(electronic),前者会插入空白页以便直接双面打印
+ %
+ output = print,
+ %
% 标题
% 可使用“\\”命令手动控制换行
%
@@ -79,6 +85,10 @@
%
% date = {2019-07-07},
%
+ % 是否在中文封面后的空白页生成书脊
+ %
+ include-spine = false,
+ %
% 密级和年限
% 秘密, 机密, 绝密
%
diff --git a/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf b/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf
new file mode 100644
index 00000000000..b0bfa584a54
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thuthesis/main.tex b/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.tex
index 93113b7a6a7..93113b7a6a7 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/main.tex
+++ b/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.tex
diff --git a/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf
index 6c74015fc58..919eff6aa35 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf
+++ b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/thuthesis/tsinghua.pdf b/Master/texmf-dist/doc/latex/thuthesis/tsinghua-name-bachelor.pdf
index ac5b3582597..ac5b3582597 100644
--- a/Master/texmf-dist/doc/latex/thuthesis/tsinghua.pdf
+++ b/Master/texmf-dist/doc/latex/thuthesis/tsinghua-name-bachelor.pdf
Binary files differ