Typst-ucas-thesis
UCAS thesis Template Based on Typst
UCAS Thesis Typst Template
π§ Project Status: In Progress π§
Paper Requirements & Page Setup
- β Page size and margin adjustment.
- π Header and footer styles.
Cover and Spine
- β Basic cover information (title, author, supervisor, etc.).
- π Cover style optimization
- π Spine generation
Abstract and Keywords
- β Chinese and English abstract templates.
- π Abstract style optimization
Table of Contents
- β Table of contents functionality.
- π Table of contents style optimization
- π Page number alignment optimization.
Main Text
- π Heading style and paragraph spacing optimization.
- π Figure and table style optimization
Others
- π Reference style optimization.
- π Appendix and postscript templates.
- π Authorβs CV and academic achievements during degree period
- π Support for multiple bibliography styles.
Developer Guide
template directory
-
thesis.typfile: Your thesis source file. You can freely change the name of this file, or even copy it multiple times in the same directory to maintain multiple versions. -
ref.bibfile: Used for references. -
imagesdirectory: Used for images.
Internal directories
-
utilsdirectory: Contains various custom helper functions used by the template, with no external dependencies, and functions that do not render pages. -
pagesdirectory: Contains independent pages used by the template, such as cover, declaration, abstract, etc., i.e., functions that render independent pages without affecting others. -
layoutsdirectory: Layout directory, containing functions that span multiple pages and are applied via theshowdirective, such as theprefacefunction for Roman numeral footers.- Mainly divided into
doc(document),preface,mainmatter(main text), andappendix(appendix/postscript).
- Mainly divided into
-
lib.typ:- Role 1: Acts as a unified external interface, exposing internal utils functions.
- Role 2: Uses function closures to configure global information via the
documentclassfunction, then exposes internallayoutsandpagesfunctions with global configuration.
Acknowledgements
- Thanks to nju-lug for developing the modern-nju-thesis template, which provided a solid foundation for this version.
- Thanks to mohuangrui for developing the ucasthesis LaTeX template, whose documentation structure was largely referenced in this template.
- Thanks to HUST-typst-template and sysu-thesis-typst and other Typst Chinese thesis templates.
License
This project is licensed under the MIT License.