TnTT is Not a Tex Thesis Template for Tsinghua university…
简体中文 | English
介绍
TnTT 是 Tntt is Not a Tex Thesis Template for Tsinghua university 的递归缩写。一个基于 Typst 的非官方清华大学学位论文模板。
目前仅支持本科生的综合论文训练。
使用
您可以在 Typst Web 应用程序中使用此模板,方法是单击仪表板上的“Start from template”并搜索 tntt
,或单击 此处 快速创建一个项目。
或者,你也可以使用 typst
命令行工具来创建一个新的项目:
typst init @preview/tntt
当然,您也可以在任意 typst 文件中添加
#import "@preview/tntt:0.2.0": define-config
来导入此模板。
导引
如果您对 typst 不熟悉,请参阅 中文社区导航 获得快速指引。推荐使用 tinymist 或 webapp 来编辑项目,对于重要的论文材料,您应该及时备份或进行版本管理来避免内容丢失。
在开始编辑之前,请简单阅读如下的字体配置说明:
字体配置
本模板主要服务于中文排版,因而内置了常用的中文字族信息,即:
- SongTi: 宋体,正文字体,通常对应西文中的衬线字体
- HeiTi: 黑体,标题字体,通常对应西文中的无衬线字体
- KaiTi: 楷体,用于说明性文本和主观性的表达
- FangSong: 仿宋,通常用于注释、引文及权威性阐述
- Mono: 等宽字体,对于代码,会优先使用此项,推荐中文字体使用黑体或楷体,或者一些流行的中文等宽字体
对于 win10/11 用户或安装了对应字体的 Linux 用户,相应的字体配置为 SimSun/NSimSun
、SimHei
、KaiTi
、STFangSong
,对于 macOS 用户,相应的字体配置为 Songti SC
、Heiti SC
、Kaiti SC
、Fangsong SC
,此外,您也可以用 Noto Serif CJK
、Noto Sans CJK
等来替代宋体和黑体。
本模板内置了对 win10/11 字体的相关字体配置。
对于更多的使用说明,已经内置于模板中,推荐从模板创建,获得更好的阅读体验。
预览
致谢
非常感谢 OrangeX4 为南京大学学位论文 Typst 模板 modern-nju-thesis 所做的贡献,本项目移植自由 OrangeX4 及 nju-lug 维护的 modern-nju-thesis 模板,感谢他们所作工作。
移植过程中主要参考了 清华大学学位论文 Word 模板 和 清华大学学位论文 LaTeX 模板,在此表达感谢。
许可证
模板源代码采用 MIT 许可证分发,您可以自由使用、修改和分发,但不提供任何担保。
[!IMPORTANT]
本项目中包含清华大学校徽与校名的图形文件,用于制作制作本科生综合论文训练封面。这些图形取自 清华大学视觉形象系统,项目维护者未进行任何修改。
请注意:相关图形与文字都是清华大学的注册商标,除此模板外,请勿用于任何其他用途。
English | 简体中文
Introduction
TnTT is a recursive acronym for “Tntt is Not a Tex Thesis Template for Tsinghua University”. An unofficial Tsinghua University thesis template based on Typst.
Currently, it only supports the Comprehensive Thesis Training for undergraduates.
Usage
You can use this template in the Typst Web application by clicking “Start from template” on the dashboard and searching for tntt
, or click here to quickly create a project.
Alternatively, you can use the typst
command-line tool to create a new project:
typst init @preview/tntt
Of course, you can also import this template in any Typst file by adding:
#import "@preview/tntt:0.2.0": define-config
Instructions
If you are unfamiliar with typst, please refer to the Chinese community navigation for quick guidance. It is recommended to use tinymist or the webapp to edit projects. For important thesis materials, you should promptly back up or implement version control to avoid content loss.
Before starting your edits, please briefly read the following font configuration instructions:
Font Configuration
This template primarily serves Chinese typesetting and includes built-in configurations for common Chinese font families:
- SongTi: Song typeface (serif), the main body font, typically corresponding to Western serif fonts.
- HeiTi: Hei typeface (sans-serif), used for headings, analogous to Western sans-serif fonts.
- KaiTi: Kai typeface, used for explanatory text and subjective expressions.
- FangSong: FangSong typeface, typically used for annotations, citations, and authoritative explanations.
- Mono: Monospace font, prioritized for code. It is recommended to use Hei or Kai typefaces for Chinese characters, or popular Chinese monospace fonts.
For Windows 10/11 users or Linux users with corresponding fonts installed, the font configurations are SimSun/NSimSun
, SimHei
, KaiTi
, and STFangSong
. For macOS users, the configurations are Songti SC
, Heiti SC
, Kaiti SC
, and Fangsong SC
. Additionally, you may use Noto Serif CJK
or Noto Sans CJK
as alternatives for Song and Hei typefaces.
This template includes built-in font configurations optimized for Windows 10/11 systems.
For further usage instructions, please refer to the template. It is recommended to start from the template for an improved reading experience.
Preview
Acknowledgements
Special thanks to OrangeX4 for their contributions to the Nanjing University thesis template modern-nju-thesis. This project is adapted from the modern-nju-thesis template maintained by OrangeX4 and nju-lug. We appreciate their work.
During the porting process, we mainly referenced the Tsinghua University Thesis Word Template and Tsinghua University Thesis LaTeX Template. Our gratitude goes to their contributors.
Thanks to Myriad-Dreamin for developing the Tinymist tool.
License
The template source code is distributed under the MIT license. You are free to use, modify, and distribute it without any warranty.
[!IMPORTANT]
This project contains the Tsinghua University emblem and name graphics for creating the Comprehensive Thesis Training cover for undergraduates. These graphics are obtained from the Tsinghua University Visual Identity System without any modification by the maintainers.
Please note: The related graphics and text are registered trademarks of Tsinghua University. Except for this template, they should not be used for any other purposes.