From c862b5452d8ad2e4a80b25807e1b9bc4de5ce938 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 12 Jun 2020 21:01:26 +0000 Subject: thuthesis (12jun20) git-svn-id: svn://tug.org/texlive/trunk@55523 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/thuthesis/README.md | 16 ++--- .../doc/latex/thuthesis/data/abstract.tex | 2 +- .../doc/latex/thuthesis/data/acknowledgements.tex | 2 +- .../doc/latex/thuthesis/data/appendix-survey.tex | 2 +- .../latex/thuthesis/data/appendix-translation.tex | 2 +- .../texmf-dist/doc/latex/thuthesis/data/chap01.tex | 2 +- .../texmf-dist/doc/latex/thuthesis/data/chap02.tex | 2 +- .../doc/latex/thuthesis/data/denotation.tex | 2 +- .../texmf-dist/doc/latex/thuthesis/data/resume.tex | 2 +- .../texmf-dist/doc/latex/thuthesis/dtx-style.sty | 9 +++ Master/texmf-dist/doc/latex/thuthesis/main.pdf | Bin 877231 -> 0 bytes Master/texmf-dist/doc/latex/thuthesis/main.tex | 75 --------------------- .../doc/latex/thuthesis/math_commands.tex | 2 + Master/texmf-dist/doc/latex/thuthesis/spine.pdf | Bin 20346 -> 17166 bytes Master/texmf-dist/doc/latex/thuthesis/spine.tex | 24 ++++--- Master/texmf-dist/doc/latex/thuthesis/thusetup.tex | 12 +++- .../doc/latex/thuthesis/thuthesis-example.pdf | Bin 0 -> 877155 bytes .../doc/latex/thuthesis/thuthesis-example.tex | 75 +++++++++++++++++++++ .../texmf-dist/doc/latex/thuthesis/thuthesis.pdf | Bin 1050296 -> 1075242 bytes .../doc/latex/thuthesis/tsinghua-name-bachelor.pdf | Bin 0 -> 14186 bytes Master/texmf-dist/doc/latex/thuthesis/tsinghua.pdf | Bin 14186 -> 0 bytes 21 files changed, 126 insertions(+), 103 deletions(-) delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/main.pdf delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/main.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf create mode 100644 Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.tex create mode 100644 Master/texmf-dist/doc/latex/thuthesis/tsinghua-name-bachelor.pdf delete mode 100644 Master/texmf-dist/doc/latex/thuthesis/tsinghua.pdf (limited to 'Master/texmf-dist/doc/latex') 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 only available in Chinese: * 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 Binary files a/Master/texmf-dist/doc/latex/thuthesis/main.pdf and /dev/null differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/main.tex b/Master/texmf-dist/doc/latex/thuthesis/main.tex deleted file mode 100644 index 93113b7a6a7..00000000000 --- a/Master/texmf-dist/doc/latex/thuthesis/main.tex +++ /dev/null @@ -1,75 +0,0 @@ -% !TeX encoding = UTF-8 -% !TeX program = xelatex -% !TeX spellcheck = en_US - -\documentclass[degree=master]{thuthesis} - % 学位 degree: - % doctor | master | bachelor | postdoc - % 学位类型 degree-type: - % academic(默认)| professional - - -% 论文基本配置,加载宏包等全局配置 -\input{thusetup.tex} - - -\begin{document} - -% 封面 -\maketitle - -% 使用授权的说明 -\copyrightpage -% 将签字扫描后授权文件 scan-auth.pdf 替换原始页面 -% \copyrightpage[scan-auth.pdf] - -\frontmatter -\input{data/abstract.tex} - -% 目录 -\tableofcontents - -% 符号对照表 -\input{data/denotation} - - -% 正文部分 -\mainmatter -\input{data/chap01} -\input{data/chap02} - - -% 其它部分 -\backmatter - -%% 本科生要求的几个索引。 -% \listoffigures % 插图索引 -% \listoftables % 表格索引 - -% 参考文献 -\bibliographystyle{thuthesis-numeric} % 顺序编码制 -% \bibliographystyle{thuthesis-author-year} % 著者-出版年制 -% \bibliographystyle{thuthesis-bachelor} % 本科生参考文献的著录格式 -\bibliography{ref/refs} - -% 致谢 -\input{data/acknowledgements} - -% 声明 -\statement -% 将签字扫描后的声明n'g statement.pdf 替换原始页面 -% \copyrightpage[statement.pdf] - -% 附录 -\appendix -\input{data/appendix} -% \input{data/appendix-survey} % 本科生:外文资料的调研阅读报告 -% \input{data/appendix-translation} % 本科生:外文资料的书面翻译 - -% 个人简历 -\input{data/resume} - -% 本科生的综合论文训练记录表 -% \includepdf[pages=-]{scan-record.pdf} - -\end{document} 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 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/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 Binary files /dev/null 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 new file mode 100644 index 00000000000..93113b7a6a7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.tex @@ -0,0 +1,75 @@ +% !TeX encoding = UTF-8 +% !TeX program = xelatex +% !TeX spellcheck = en_US + +\documentclass[degree=master]{thuthesis} + % 学位 degree: + % doctor | master | bachelor | postdoc + % 学位类型 degree-type: + % academic(默认)| professional + + +% 论文基本配置,加载宏包等全局配置 +\input{thusetup.tex} + + +\begin{document} + +% 封面 +\maketitle + +% 使用授权的说明 +\copyrightpage +% 将签字扫描后授权文件 scan-auth.pdf 替换原始页面 +% \copyrightpage[scan-auth.pdf] + +\frontmatter +\input{data/abstract.tex} + +% 目录 +\tableofcontents + +% 符号对照表 +\input{data/denotation} + + +% 正文部分 +\mainmatter +\input{data/chap01} +\input{data/chap02} + + +% 其它部分 +\backmatter + +%% 本科生要求的几个索引。 +% \listoffigures % 插图索引 +% \listoftables % 表格索引 + +% 参考文献 +\bibliographystyle{thuthesis-numeric} % 顺序编码制 +% \bibliographystyle{thuthesis-author-year} % 著者-出版年制 +% \bibliographystyle{thuthesis-bachelor} % 本科生参考文献的著录格式 +\bibliography{ref/refs} + +% 致谢 +\input{data/acknowledgements} + +% 声明 +\statement +% 将签字扫描后的声明n'g statement.pdf 替换原始页面 +% \copyrightpage[statement.pdf] + +% 附录 +\appendix +\input{data/appendix} +% \input{data/appendix-survey} % 本科生:外文资料的调研阅读报告 +% \input{data/appendix-translation} % 本科生:外文资料的书面翻译 + +% 个人简历 +\input{data/resume} + +% 本科生的综合论文训练记录表 +% \includepdf[pages=-]{scan-record.pdf} + +\end{document} diff --git a/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf index 6c74015fc58..919eff6aa35 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/doc/latex/thuthesis/tsinghua-name-bachelor.pdf b/Master/texmf-dist/doc/latex/thuthesis/tsinghua-name-bachelor.pdf new file mode 100644 index 00000000000..ac5b3582597 Binary files /dev/null and b/Master/texmf-dist/doc/latex/thuthesis/tsinghua-name-bachelor.pdf differ diff --git a/Master/texmf-dist/doc/latex/thuthesis/tsinghua.pdf b/Master/texmf-dist/doc/latex/thuthesis/tsinghua.pdf deleted file mode 100644 index ac5b3582597..00000000000 Binary files a/Master/texmf-dist/doc/latex/thuthesis/tsinghua.pdf and /dev/null differ -- cgit v1.2.3