A simple LaTeX template for CUHK thesis based on CUHK format guide.
- Support English and Chinese fonts for
Linux,MacOS,Windows, and other platforms. - Show titles of chapters (odd pages) and sections (even pages) in
fancyhead. - Support
glossariesandnomenclaturewith automatic compilerlatexmk. - Support hyperlinks (
url) and cross-reference (backref) for bibliographies. - Fast compiling.
- Download or clone this repository.
- Install major TeX distributions with XeLaTeX or use Overleaf (recommended).
TL;DR: Run command
latexmk && latexmk -cin shell.
Edit the corresponding .tex, .bib files with your favorite editor and compile thesis.tex with latexmk command. Then you will get the demo.
For fast compiling, set draftmode=1 in .latexmkrc, this will skip front-matters and Chinese fonts. For final compiling, convert to draftmode=0 (default).
To clean up auxiliary files, run latexmk -c.
| Directory | Description |
|---|---|
add-ons/ |
abstract, front matters, and appendices |
chapters/ |
major separated chapters |
figures/ |
the suggested folder for inserted figures |
tables/ |
the suggested folder for inserted tables |
settings/ |
for settings and commands |
- The fontsets are automatically selected in
settings/fonts.texforWindows,MacOS,Linux, and other systems. - You can change the formats and styles of the thesis by adjusting the settings in
settings/settings.tex, e.g., changebackreftofalse. - The commands for fast-typing are stored in
settings/usrcmds.tex. Users can define their own commands in this file. - Usually we don't have to modify
settings/cmds.texsince it only contains commands for outputting standard pages.
- Main styles: CUHKthesis by Zhou Feng @ 2022/12/15
- Spacing: CUHK-PHD-Thesis-Template by Xin Li @ 2021/04/10
- Bib-styles: acl-style-files by acl-org @ 2021/12/20
- Fonts, bib-styles: THUThesis by TUNA @ 2024/07/01, v7.5.2
- LatexMk compiler: Overleaf
Any issues, discussions or pull requests are welcome.