Quick Start

ZhThesis compiles with XeLaTeX. Nothing needs to be installed beyond a normal LaTeX distribution and Chinese fonts that the distribution can find.

Requirements

  • A LaTeX distribution: TeX Live, MacTeX, or MiKTeX
  • XeLaTeX and BibTeX
  • Chinese fonts available to the environment

Get the files

git clone https://github.com/yixnhuang/zhthesis.git
cd zhthesis

Compile

Four passes: the first writes the citation keys, bibtex resolves them, and the last two settle the bibliography and the table of contents.

xelatex main.tex
bibtex main
xelatex main.tex
xelatex main.tex

The first three edits

  1. Set the metadata at the top of main.tex: \titlename, \title, \school, \class, \author, \supervisor.
  2. Write both abstracts in texs/00_abstract.tex. The Chinese one goes in abstract, the English one in enabstract, each followed by its keyword command.
  3. Write the first chapter in texs/01_intro.tex, then add further chapter files and \include them from main.tex.

Overleaf

  1. Package the repository as a .zip archive.
  2. In Overleaf, choose New Project → Upload Project and upload it.
  3. Set the compiler to XeLaTeX in the project menu.

There is no official Overleaf template link yet.