You should be able to produce the sample PDF with the following instructions:
Clone this repository to your working directory. (For non-Git users, you can press the "Clone or download" button, then follow the "Download ZIP" link.)
Open main.tex to edit the metadata and structure of your thesis.
The hkuthesis class inherits from the standard LaTeX book class, and provides all the required formatting. Specify your degree type (mphil for Master of Philosophy, or phd for Doctor of Philosophy) and font size (10pt to 12pt recommended) in the document class options.
\documentclass[mphil,12pt]{hkuthesis}
If you need to compile your thesis for examination (i.e., printing the words "Temporary Binding for Examination Purposes" on the abstract and title pages), include the exam option.
The metadata of the thesis and its author is specified in the preamble. The information provided will be used to generate the necessary front matter pages. Previous degrees and professional qualifications of the author (if applicable) should be put inside the \qualifications block.
\title{Insert the Title of Your Thesis Here}
\author{Insert Your Name Here}
\qualifications{B.Sc. \emph{H.K.}; M.A. \emph{C.U.H.K.}}
\date{August 2018}
The order of front matter pages is defined in the frontmatter environment. The content of front matter pages can be edited in the corresponding files in the contents/frontmatter/ directory. You can also add or remove the optional pages to suit your needs.
% Front matter\begin{frontmatter}
\abstract[200] % Word count as optional argument\titlepage\dedication% Optional\declaration\acknowledgements% Optional\tableofcontents\listoffigures% Optional\listoftables% Optional\end{frontmatter}
It is non-trivial to automate the abstract word counting in the compilation process. Alternatively, you can utilise TeXcount to count words of your abstract by running the command below, then insert the result into the argument of \abstract.
Additional content for the declaration page, for example, a list of previously published work, can be appended to the standard template via creating a contents/frontmatter/declaration.tex file.
Write your thesis chapters and appendices, then load the .tex files into the chapters and appendices environments, respectively, using the \input command (\include might cause pagination glitches). If there is no appendix in your thesis, you can remove the entire appendices environment from main.tex.
Include the back matter pages (e.g., references and list of your publications) inside the backmatter environment. You can adopt any bibliography package (BibLaTeX is used in the example).
Build your thesis with your preferred LaTeX toolchain.
Customisation
The typesetting styles of this template are defined in hkuthesis.cls class file. You can customise the layout according to its documentation.
Licence
The LaTeX template implementation is under MIT License, which means that you can freely use and modify it to produce your own thesis. As long as you are not redistributing this work or any of its modified versions, attribution is not strictly necessary. However, the use of the University of Hong Kong's name and identity is subject to the University's policies.
Placeholder images in this repository are "not copyrighted" and public domain work from NASA and SpaceX, respectively.
请发表评论