Package Information
- Last Updated
- Authors
- Brian Li
- Categories
- thesis
- Dependencies
- @preview/cetz:0.4.2@preview/cetz-plot:0.1.3@preview/codly:1.3.0@preview/codly-languages:0.1.8@preview/cuti:0.3.0@preview/fletcher:0.5.8@preview/hallon:0.1.3@preview/i-figured:0.2.4@preview/itemize:0.1.2@preview/numbly:0.1.0@preview/theorion:0.4.1@preview/unify:0.7.1@preview/wordometer:0.1.5
Preview
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/modern-um-thesis:0.1.12. Initialize from template
Create a new project from this template:
typst init @preview/modern-um-thesis:0.1.1modern-um-thesis
Typst Thesis Template for University of Macau
This repository provides a modern and easy-to-use thesis template for the University of Macau, built with Typst. The template supports both Doctoral and Master's theses, offering a clean and professional layout that meets UM requirements.
Why Typst?
Typst is a next-generation typesetting system designed for simplicity, speed, and flexibility. Compared to Microsoft Word and LaTeX:
- User-Friendly: Typst uses a clean, readable markup language that is easy to learn, even for beginners.
- Live Preview: See your changes instantly as you write, with no need for manual compilation.
- Modern Features: Built-in support for references, equations, figures, and more—without the complexity of LaTeX or the formatting headaches of Word.
- Cross-Platform: Works on Windows, macOS, Linux, and in the browser.
Why This Template?
- Official UM Style: Follows the University of Macau's thesis formatting guidelines.
- Supports Doctoral & Master Theses: Easily switch between thesis types with a single option.
- Multilingual: Supports English, Chinese, and Portuguese.
- Customizable: Clean code and modular layouts make it easy to adapt for your needs.
- Ready-to-Use: Includes cover pages, declarations, table of contents, lists of figures/tables/algorithms, and more.
Getting Started
1. Install Typst
You can use Typst either via the web app or by installing it locally:
- Web App: https://typst.app/ (no installation required)
- Local Installation:
- Download from Typst Releases
- Or install via package manager (e.g.,
brew install typston macOS) - For Windows: Download the latest
.zipor.exefrom the releases page and add Typst to your PATH
For more details, see the installation section of the official Typst Github Repo.
2. Setup & Use This Template
- Open the project folder in Typst (web or local editor).
- Add the following code to your document:
#import "@preview/modern-um-thesis:0.1.1": *
or
-
Click
start with templateif using Typst web app. -
Fill in your thesis information as in
template/main.typline 12-62. -
Compile to PDF using Typst.
Feedback & Contributions
Found a bug, have a suggestion, or want to contribute?
- Open an issue or pull request on GitHub
- For template-specific questions, please include your Typst version and a minimal code example.
Happy writing, and good luck with your thesis!
Roadmap
- Support for Doctoral and Master's thesis layouts
- Multilingual support (English, Chinese, Portuguese)
- Modular layouts for cover, declaration, TOC, lists, appendix
- Customizable metadata and info fields
- Full documentation using
tidy - Uploading to Typst Universe as template
- Bachelor thesis support
- More flexible bibliography and citation styles
- More sample content and usage examples
Have a feature request? Please open an issue or discussion!
Acknowledgement
This template draws inspiration from the modern-nju-thesis, the modern-sjtu-thesis repository, and the University of Macau's thesis guidelines. Special thanks to the Typst community and all contributors for their support and feedback.
License
The university logo in the src/assets folder and the thesis guidelines in the documentation/guidelines folder are the property of the University of Macau.
The rest of the project is licensed under the MIT License.