Scroll down for the English version of README.
ThuThesis 是 Tsinghua University Thesis LaTeX Template 的缩写。
此宏包旨在建立一个简单易用的清华大学学位论文 LaTeX 模板,包括本科综合论文训练、硕士论文、博士论文以及博士后出站报告。
由于模板升级频繁,在开始使用和提问前,请确保您已经认真完整地阅读了使用说明文档和示例代码。
任何违反 LaTeX项目公共许可证 v1.3c 使用 ThuThesis 的行为将被记录在 耻辱柱 页面中,以示警告。
推荐下载发布版模板,里面包括具体使用说明以及示例文档:
- 模板使用说明(
thuthesis.pdf
) - 示例文档(
thuthesis-example.pdf
)
在开始书写前,建议将 thuthesis-example.tex
复制或重命名为其他有意义的名称。
- 发布版:
- 仅下载:
- CTAN:可能滞后正式发布少许时间。
- GitHub Releases:最新版的及时发布途径。
- TUNA 镜像站:GitHub Releases 的镜像。
- 在线编辑:
- TeXPage 模板(提供 Windows 中文字体)
- Overleaf 模板
- 仅下载:
- 开发版:GitHub
- GitHub 仓库的开发版仅供开发者与需要尚未发布的功能的有经验的 TeX 用户使用,不提供任何保证。
- 任何在其他途径分发的 ThuThesis(包含其变体或衍生物)均不是官方版本,请谨慎使用。
每个版本的详细更新日志,请见 CHANGELOG.md。使用文档中也包含了这一内容。
通过 TeX 发行版工具(如 tlmgr
)自动从 CTAN 更新。
下载发布版的的 zip 包,使用其中的 thuthesis.cls
等文件覆盖原有的即可,无须额外操作。
有两种获得开发版编译结果的方式:
- 从 GitHub 上对应 commit 的名为
Test
的 workflow 中下载thuthesis-snapshot-release
并解压,其中的dist
文件夹包含了编译后的开发版代码。 - 从 GitHub clone 项目源码或者下载源码 zip 包,执行
xetex thuthesis.ins
。
按推荐顺序排序:
- 先到 FAQ 看看常见问题;
- 在 GitHub Discussions 搜索已有讨论,如果没有则提出新问题;
- 如果认为模板存在问题,可在 Issues 中使用相应的模板提出。
make [{thesis|doc|clean|cleanall|distclean}]
make thesis
生成论文thuthesis-example.pdf
;make doc
生成模板使用说明书thuthesis.pdf
;make clean
删除示例文件的中间文件(不含thuthesis-example.pdf
);make cleanall
删除示例文件的中间文件和thuthesis-example.pdf
;make distclean
删除示例文件和模板的所有中间文件和 PDF。
ThuThesis is an abbreviation of Tsinghua University Thesis LaTeX Template.
This package establishes a simple and easy-to-use LaTeX template for Tsinghua dissertations, including general undergraduate research papers, masters theses, doctoral dissertations, and postdoctoral reports. An English translation of this README follows the Chinese below.
This template is subject to frequent changes. Please make sure you have read the usage documentation and example code completely and carefully before using and asking questions.
Any use of ThuThesis in violation of The LaTeX project public license v1.3c will be recorded in the Hall of Shame.
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 (
thuthesis-example.pdf
)
Before you start writing, it is recommended to copy or rename thuthesis-example.tex
to another meaningful name.
- Published versions:
- Download only:
- CTAN
- GitHub Releases
- TUNA Mirrors: mirror of GitHub Releases
- Online editor:
- TeXPage template (providing Chinese fonts of Windows)
- Overleaf template
- Download only:
- Developer versions: GitHub
- The development version in the GitHub repository is intended for developers and experienced TeX users who require unreleased features, and no guarantees are provided.
- ThuThesis (including its variants / derivatives) distributed in any other way is NOT an official version. Use at your own risk.
See CHANGELOG.md for detailed changes in each release. They are also included in the usage documentation.
Get the most up-to-date published version with your TeX distribution from CTAN.
Download the published zip files, extract thuthesis.cls
and other files (if needed) and override the existing ones in your thesis.
There are two ways to obtain the compiled development version:
- Download the
thuthesis-snapshot-release
from theTest
workflow of the corresponding commit on GitHub and extract it. Thedist
folder contains the compiled template of development version. - Clone the project source code from GitHub or download the source code tarball, and run
xetex thuthesis.ins
.
Please follow the procedure below:
- Check the FAQ.
- Search GitHub Discussions and create if not existed.
- Create an issue (with specified template) if you believe there is a bug.
make [{all|thesis|doc|clean|cleanall|distclean}]
make thesis
generate thesisthuthesis-example.pdf
;make doc
generate template documentation thuthesis.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.