⚠️ Disclaimer / Miễn trừ trách nhiệm: This template is based on CTU's 2024-2025 guidelines. However, requirements may vary by department. Always verify the final format with your advisor. Contributions and bug reports are welcome!Mẫu này dựa trên quy định ĐHCT 2024-2025. Tuy nhiên, quy định có thể thay đổi tùy bộ môn. Luôn đối chiếu với GVHD về định dạng cuối cùng. Mọi đóng góp và báo lỗi đều được hoan nghênh!
This project provides a modern, high-performance thesis template for Can Tho University (CTU) students, built using Typst. It is designed to strictly follow the CTU Thesis Guidelines (2025-2026) for the College of Information and Communication Technology.
- ⚡ Fast Compilation: Instant preview and compilation using Typst.
- 📏 CTU Compliant: Pre-configured margins, fonts (Times New Roman), spacing, and styles according to official guidelines.
- 🌐 Dual Language: Built-in support for both English and Vietnamese thesis writing.
- 🛠️ Automation: Includes scripts (
.ps1,.sh) to scaffold a new thesis project in seconds. - 🔋 Batteries Included: Ready-to-use structures for chapters, front matter (cover, abstract, acknowledgement), back matter (references, appendices), and figures/tables.
- Typst CLI: Install Typst or use the Web App.
- Git: For version control (recommended).
You don't need to clone this entire repo if you just want to start writing. You can use the generator scripts.
On Windows (PowerShell):
.\Generate-CtUThesis.ps1
# Follow the interactive prompts to set up your name, ID, and thesis title.On Linux / macOS:
chmod +x generate-ctu-thesis.sh
./generate-ctu-thesis.sh
# Follow the interactive prompts.Navigate to your newly created thesis folder (default ctu-thesis) and compile:
# One-time build
typst compile main.typ thesis.pdf
# Watch mode (live updates)
typst watch main.typ thesis.pdf- Configuration: Open
info.typ. This is the single source of truth for your thesis metadata (Name, Title, Advisor, etc.).// info.typ ... primary_lang: "en", // Set to "vi" for Vietnamese student: ( name: "Your Name", ... ) ...
- Writing Content:
- Chapters are located in
chapters/. - Add your content in
chapters/part1/,chapters/part2/, etc. - The
main.typfile connects everything.
- Chapters are located in
- Bibliography: Add your
.bibentries tobackmatter/bibliography.biband cite them using@key.
my-thesis/
├── info.typ # ⚙️ Configuration (Edit this first!)
├── main.typ # 📄 Entry point
├── template/ # 🎨 CTU Style definitions (Do not edit)
├── frontmatter/ # 📝 Cover, Abstract, TOC
├── chapters/ # 📚 Your thesis content
│ ├── part1/ # Introduction
│ ├── part2/ # Core chapters
│ └── part3/ # Conclusion
├── backmatter/ # 📎 References & Appendices
└── images/ # 🖼️ Image assets
Dự án này cung cấp mẫu luận văn hiện đại, hiệu năng cao cho sinh viên Đại học Cần Thơ (ĐHCT), được xây dựng bằng Typst. Mẫu này được thiết kế tuân thủ nghiêm ngặt Quy định Luận văn ĐHCT (2025-2026) của Trường Công nghệ Thông tin và Truyền thông.
- ⚡ Biên dịch Nhanh: Xem trước và biên dịch tức thì với Typst.
- 📏 Chuẩn ĐHCT: Cấu hình sẵn lề, phông chữ (Times New Roman), giãn dòng và kiểu dáng theo quy định chính thức.
- 🌐 Đa Ngôn ngữ: Hỗ trợ sẵn cho việc viết luận văn bằng Tiếng Anh hoặc Tiếng Việt.
- 🛠️ Tự động hóa: Bao gồm các script (
.ps1,.sh) để khởi tạo dự án luận văn mới chỉ trong vài giây. - 🔋 Đầy đủ Cấu trúc: Cấu trúc sẵn sàng cho các chương, phần đầu (bìa, tóm tắt, lời cảm ơn), phần cuối (tài liệu tham khảo, phụ lục), và hình ảnh/bảng biểu.
- Typst CLI: Cài đặt Typst hoặc sử dụng Web App.
- Git: Để quản lý phiên bản (khuyên dùng).
Bạn có thể sử dụng các script tạo tự động để bắt đầu.
Trên Windows (PowerShell):
.\Generate-CtUThesis.ps1
# Làm theo hướng dẫn trên màn hình để nhập tên, MSSV và tên đề tài.Trên Linux / macOS:
chmod +x generate-ctu-thesis.sh
./generate-ctu-thesis.sh
# Làm theo hướng dẫn trên màn hình.Di chuyển vào thư mục luận văn vừa tạo (mặc định là ctu-thesis) và biên dịch:
# Biên dịch một lần
typst compile main.typ luan-van.pdf
# Chế độ theo dõi (cập nhật trực tiếp khi lưu file)
typst watch main.typ luan-van.pdf- Cấu hình: Mở file
info.typ. Đây là nơi chứa toàn bộ thông tin về luận văn của bạn (Tên, Đề tài, GVHD, v.v.).// info.typ ... primary_lang: "vi", // Đặt là "vi" cho Tiếng Việt student: ( name: "Nguyễn Văn A", ... ) ...
- Viết Nội dung:
- Các chương nằm trong thư mục
chapters/. - Thêm nội dung vào
chapters/part1/,chapters/part2/, v.v. - File
main.typkết nối tất cả các phần lại với nhau.
- Các chương nằm trong thư mục
- Tài liệu tham khảo: Thêm các mục
.bibvàobackmatter/bibliography.bibvà trích dẫn bằng cú pháp@key.
my-thesis/
├── info.typ # ⚙️ Cấu hình (Sửa file này đầu tiên!)
├── main.typ # 📄 File chính
├── template/ # 🎨 Định nghĩa kiểu dáng CTU (Không nên sửa)
├── frontmatter/ # 📝 Bìa, Tóm tắt, Mục lục
├── chapters/ # 📚 Nội dung luận văn
│ ├── part1/ # Giới thiệu
│ ├── part2/ # Nội dung chính
│ └── part3/ # Kết luận
├── backmatter/ # 📎 Tài liệu tham khảo & Phụ lục
└── images/ # 🖼️ Thư mục hình ảnh
This template adheres to the official formatting regulations of Can Tho University (CTU) and the College of ICT.
- Official Guidelines: See docs/CTU_THESIS_GUIDELINES.md for a detailed breakdown of formatting rules (margins, fonts, citations).
- Compliance: Based on Decision No. 4125/QĐ-ĐHCT (2024).
We welcome contributions from the community! Whether it's reporting a bug, suggesting a feature, or submitting a pull request, your input is valued.
- Contributing Guide: Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
- Code of Conduct: We pledge to foster an open and welcoming environment. Please review CODE_OF_CONDUCT.md.
- Bug Reports: Use the Bug Report Template.
- Feature Requests: Use the Feature Request Template.
If you use this template for your academic work, please cite it using the metadata in CITATION.cff.
This project is licensed under the MIT License - see the LICENSE file for details.