\documentclass[openany]{book}
\linespread{1.5}
\setlength{\parindent}{0pt}
\usepackage[a4paper,bindingoffset=0.2in,%
left=1in,right=1in,top=1in,bottom=1in,%
footskip=0.25in]{geometry}
\usepackage[english]{babel}
%\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{tikz,mathpazo}
\usetikzlibrary{shapes.geometric, arrows}
\usepackage{flowchart}
\usepackage{amssymb}
\usepackage[UTF8]{ctex}
\usepackage{hyperref}
\usepackage{fonttable}
\usepackage{paralist}
\usepackage{color,soul}
\usepackage{bbding}
\usepackage{floatrow}
\usepackage{latexsym}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{latexsym}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{enumerate}
\usepackage{multirow}% http://ctan.org/pkg/multirow
\usepackage{hhline}% http://ctan.org/pkg/hhline
\usepackage{fancyhdr}
\usepackage{textcomp}
\usepackage{indentfirst}
\usepackage{pdfpages}
\usepackage{amsfonts}
\usepackage{phaistos}
\usepackage{xcolor}
\usepackage{lipsum}
\usepackage{natbib}
\usepackage{titlesec}
\usepackage{systeme}
\usepackage{tcolorbox}
\setcounter{secnumdepth}{1}
%\usepackage[numbib,notlof,notlot,nottoc]{tocbibind}
\usepackage[]{tocbibind}
% Numberwith section
\numberwithin{figure}{chapter}
\numberwithin{equation}{chapter}
% Define Theorems
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}[theorem]{Lemma}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[tc]{titlepic}
\usepackage{xcolor}
\usepackage{graphicx}
%\usepackage[executivepaper,margin=1in]{geometry}
\usepackage{fancyhdr}
%\fancypagestyle{plain}{\fancyhf{}\renewcommand{\headrulewidth}{0pt}} % To clear page numbers from footer, and header line at the start of every chapter
\pagestyle{fancy}
%\fancyhf{}% Clear header/footer
\fancyhead[L]{\nouppercase\leftmark}
\fancyhead[R]{School of Mathematics \& Physics}
\title{\bfseries {\sc{ Title \\ 题目}}}
\author{ \sc{a thesis} \\ [5pt]
\sc{submitted to School of Mathematics \& Physics}\\ [5pt]
\sc{of Xi'an Jiaotong-Liverpool University}\\ [5pt]
\sc{in partial fulfilment for the award of the degree of} \\[1.5cm]
\textsc{\Large{BSc Appied Mathematics}} \\[5pt]
By\\[5pt]
\Large{{San Zhang 19123456}}\\ [1cm]
Supervisor: Dr. Si Li\\ [2cm]
\titlepic{\includegraphics[width=7cm]{xjtluicon.jpg}}\\
}
\begin{document}
\clearpage\maketitle
\thispagestyle{empty}
\newpage
\chapter*{Abstract}
%English abstract
\section*{}
This is a template provided by SMP.
%Chinese version
\section*{}
这是一个西交利物浦大学数学与物理学院提供的final year project模板
\vspace{5cm}
\noindent \textbf{KEY WORDS}: Latex, Final Year Project
\newpage
\chapter*{Acknowledgements}
I will take this opportunity to thank my supervisor Dr. Si Li. ...\\
Write something about your undergraduate study and final year project. Express your gratitude to people who help you.
\pagenumbering{roman}
\tableofcontents
\listoffigures
\listoftables
%\listofalgorithms
\newpage
\pagenumbering{arabic}
\chapter{Introduction}
In this part, you should write an introduction about your thesis. What is the background? What are the methods studied? What is the aim of the thesis? What is your contribution?
\chapter{Literature Review}
\section{Cite properly}
How to cite?\\
In this template, we use the \emph{apalike} style and some demonstration are listed below\\
By \citet{sperr2001survival} states the idea of bala... and \citet{bai2021statistical} indicates that ...\\
Or you may site with bracket:\\
The details can be found in literature \citep{sperr2001survival}\\
More styles can be found here: \href{https://www.overleaf.com/learn/latex/Bibtex_bibliography_styles}{https://www.overleaf.com/learn/latex/Bibtex\_bibliography\_styles}
\section{In text math}
In text math as like this, we can say that $\pi$ is a irrational number. Suppose we have $X_1,\cdots, X_n$ is a random sample.
$X$ is a random variable, $f(x)$ denotes the probability density function of it.
\chapter{Methodology}
\section{How to write theorems?}
\begin{theorem}[Pythagorean theorem]
\label{pythagorean}
This is a theorem about right triangles and can be summarised in the next
equation
$$ x^2 + y^2 = z^2 $$
\end{theorem}
And a consequence of theorem \ref{pythagorean} is the statement in the next
corollary.
\begin{corollary}
There's no right rectangle whose sides measure 3cm, 4cm, and 6cm.
\end{corollary}
You can reference theorems such as \ref{pythagorean} when a label is assigned.
\begin{lemma}
Given two line segments whose lengths are \(a\) and \(b\) respectively there is a
real number \(r\) such that \(b=ra\).
\end{lemma}
\section{How to write an equation?}
Basic
\begin{equation}
x^2
\end{equation}
Aligned equations
\begin{align}
x^2&=y^2-1\\
&=(y+1)(y-1)
\end{align}
Equation no tag
\begin{align}
x^2=y^2+1 \quad \text{equation no tag}\notag
\end{align}
Equation with cases
\begin{equation}
f(y)=\begin{cases}
&1+x, \quad x>0\\
&\pi, \quad x \leq 0
\end{cases}
\end{equation}
Some more demo
\begin{equation}
\int_{0}^{\infty} \exp(-x^2) dx =\sqrt{\pi}
\end{equation}
\section{How to include figures?}
\begin{figure}[H]
\includegraphics[scale=1.2]{Picture1.png}
\caption{Item Response Theory Demo}
\label{fig.1}
\centering
\end{figure}
You may refer the figure like Figure \ref{fig.1}.
\section{How to include tables?}
\begin{table}[H]
\begin{tabular}{|l|l|l|}
\hline
1 & 2 & 3 \\ \hline
4 & 5 & 6 \\ \hline
\end{tabular}
\caption{A Demo of Table}
\label{table.1}
\end{table}
You may refer the table like Table \ref{table.1}.
\section{How to draw matrix?}
\begin{equation}
A=\begin{bmatrix}
1 & 2 \\
3 & 4
\end{bmatrix}
\end{equation}
\begin{equation}
\det(A)=\begin{vmatrix}
1 & 2 \\
3 & 4
\end{vmatrix}=-2
\end{equation}
\section{More on latex}
You need to double check your latex grammar before you start your thesis writing, please do google for what you want to know. This demo is not everything you need, only the basics.
\chapter{Simulation}
\chapter{Data Illustration}
\chapter{Conclusion}
\newpage
\bibliography{ref_fyp.bib}{}
\bibliographystyle{apalike}
\end{document}