\documentclass[a4paper,12pt,oneside]{book}
\input{package-settings.tex} % the packages and their settings in a separate file
%%%%%%%%%%%%%%%%%%%% Some new custom commands %%%%%%%%%%%%%%%%%
\newcommand{\blanklineR}{\hfill \\} %to have blanklines
\newcommand{\HeadingR}[1]{% font size 14 and boldface for headings
%\fontsize{14}{21}{% baselinestrech 1.5, so 14*1.5=21
%\selectfont
{\large %large equals 14pt when the document is 12pt
\bfseries{#1}}}
\newcommand{\titleR}{A Wonderful Title of Your Thesis/Dissertation} %title strored as command so that I can adapt easily if any change occurs
%%%%%%%%%%%%%%%%% PDF meta-data %%%%%%%%%%%%%%%%%%%%%%%%
\hypersetup{%
pdfauthor={Your name},
pdftitle=\titleR,
pdfsubject={MSc Eng. Thesis},
pdfkeywords={}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%% DOCUMENT STARTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\frontmatter
%%%%%%%%%%%%%%%%%%% Title Page %%%%%%%%%%%%%%%%%%%%%
\begin{titlepage}
\phantomsection
\addcontentsline{toc}{part}{Title Page} %declaring as part rather than chapter so that I can differentiate the formatting in TOC
\centering
%\begin{onehalfspacing}
%\linespread{1.3}
\HeadingR{\titleR}\\
%\end{onehalfspacing}\\
\blanklineR\blanklineR\blanklineR
by\\
\blanklineR\blanklineR\blanklineR
\textbf{Your name}\\
\blanklineR\blanklineR\blanklineR\blanklineR
A thesis submitted in partial fulfillment of the requirements for the degree of \\
Master of Science in Electrical and Electronic Engineering\\
\blanklineR\blanklineR\blanklineR
\includegraphics[width=0.26\textwidth]{Figures/logo.png}\\
\blanklineR\blanklineR\blanklineR
Khulna University of Engineering \& Technology\\
Khulna 920300, Bangladesh\\
\textbf{October 2021}
\end{titlepage}
\newpage
%%%%%%%%%%%%%%%%% Declaration %%%%%%%%%%%%%%%%%%%%%%%%%%
\addtocounter{page}{1} %otherwise, this page number becomes (i)
\phantomsection \label{declar}
\addcontentsline{toc}{part}{Declaration}
\begin{center}
\HeadingR{Declaration}\\
\end{center}
\blanklineR\blanklineR\blanklineR
This is to certify that the thesis work entitled \textit{``\titleR"} has been carried out by \textit{Your name} in the Department of \textit{Electrical and Electronic Engineering}, Khulna University of Engineering \& Technology, Khulna, Bangladesh. The above thesis work or any part of this work has not been submitted anywhere for the award of any degree or diploma.\\[2cm]
\begin{center}
\begin{tabular}{*2c}
\parbox{0.49\textwidth}{\centering Signature of Supervisor} & \parbox{0.49\textwidth}{\centering Signature of Candidate}
\end{tabular}
\end{center}
%%%%%%%%%%%%%%%%% Approval %%%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\phantomsection \label{approval}
\addcontentsline{toc}{part}{Approval}
\begin{center}
\HeadingR{Approval}
\blanklineR
\end{center}
This is to certify that the thesis work submitted by \textit{Your name} entitled \textit{``\titleR"} has been approved by the board of examiners for the partial fulfillment of the requirements for the degree of \textit{Master of Science in Engineering (M. Sc. Eng.)} in the Department of \textit{Electrical and Electronic Engineering}, Khulna University of Engineering \& Technology, Khulna, Bangladesh in October 2021.
\begin{center}
\textbf{BOARD OF EXAMINERS}
\vspace{5mm}
\begin{singlespacing}
\begin{tabular}{p{1mm}p{0.7\textwidth}>{\centering\arraybackslash}p{0.2\textwidth}}
1. & \rule{0.32\textwidth}{\arrayrulewidth}\newline Your supervisor's name\newline Professor\newline Department of Electrical and Electronic Engineering\newline Khulna University of Engineering \& Technology & Chairman (Supervisor)\\[6em]
2. & \rule{0.32\textwidth}{\arrayrulewidth}\newline Head of the Department\newline Department of Electrical and Electronic Engineering\newline Khulna University of Engineering \& Technology & Member \\[6em]
3. & \rule{0.32\textwidth}{\arrayrulewidth}\newline Internal member's name\newline Professor\newline Department of Electrical and Electronic Engineering\newline Khulna University of Engineering \& Technology & Member \\[7em]
4. & \rule{0.32\textwidth}{\arrayrulewidth}\newline Another internal member's name\newline Professor\newline Department of Electrical and Electronic Engineering\newline Khulna University of Engineering \& Technology & Member \\[7em]
5. & \rule{0.32\textwidth}{\arrayrulewidth}\newline External member's name\newline Professor\newline Department of Electrical and Electronic Engineering\newline Bangladesh University of Engineering and Technology & Member (External) \\
\end{tabular}
\end{singlespacing}
\end{center}
%%%%%%%%%%%%%%%%%%%% Acknowledgments %%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\phantomsection \label{ack}
\addcontentsline{toc}{part}{Acknowledgments}
\begin{center}
\HeadingR{Acknowledgments}
\end{center}
Your acknowledgements go here ...
\blanklineR \blanklineR
\textit{\textbf{October 2021}} \hfill \textit{\textbf{Your name}}
%%%%%%%%%%%%%%%%%%%% Abstract %%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\phantomsection \label{abstr}
\addcontentsline{toc}{part}{Abstract}
\begin{center}
\HeadingR{Abstract}
\end{center}
Place the abstract here ...
%%%%%%%%%%%%%%%%%%% Contents %%%%%%%%%%%%%%%%
\newpage
\currentpdfbookmark{\contentsname}{toc}
\begin{singlespacing}
\tableofcontents
\end{singlespacing}
%%%%%%%%%%%%%%% Include list of tables (and in table of contents) %%%%%%%%%%%%%%%
\newpage
\phantomsection \label{listoftab}
\addcontentsline{toc}{part}{List of Tables}
\listoftables
\addtocontents{lot}{\textbf{Table No}\hfill \textbf{Description}\hfill\textbf{Page}\par} %to pring above the page numbers
% Include list of figures (and in table of contents)
\newpage
\phantomsection \label{listoffig}
\addcontentsline{toc}{part}{List of Figures}
\listoffigures
\addtocontents{lof}{\textbf{Figure No}\hfill \textbf{Description}\hfill\textbf{Page}\par} %to pring above the page numbers
%%%%%%%%%%%%%%%%%%%% Acknowledgments %%%%%%%%%%%%%%%%%%%%%%%%%
\newpage
\phantomsection \label{abbrv}
\addcontentsline{toc}{part}{List of Acronyms}
\begin{center}
\HeadingR{\MakeUppercase{List of Acronyms}}
\blanklineR \blanklineR
\begin{longtable}{l@{\qquad}l}
KUET & Khulna University of Engineering \& Technology \\
EEE & Electrical and Electronic Engineering
\end{longtable}
\end{center}
\mainmatter
\bookmarksetup{startatroot} %front and backmatters are defined as part; so the bookmark hierarchy of the below chapters falls below the part, whereas I want them in the same level. This command from bookmark package works like a charm
%%%%%%%%%%%%%%%%%%%%%% Introduction %%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Introduction}\label{chap:intro}
\section{Background}\label{sec:backg}
You can explain related theory/background here ...
\section{Scopes and Objectives}
Explain the scopes of your work with objectives, possibly with numbering:
\begin{singlespacing}
\begin{enumerate}[i.]
\item Objective 1
\item Objective 2
\end{enumerate}
\end{singlespacing}
\section{Layout of the Thesis}
This thesis is organized as follows. The following chapter (\autoref{chap:lit_review}) explains the related literature ...
\autoref{chap:method} ...
Lastly, all findings and applications are summarized in \autoref{chap:concl} with concluding remarks and some recommendations on future research directions.
\section{Summary}
You can summarize the chapter here ...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Literature Review %%%%%%%%%%%%%%%%%%%%%%%
\chapter{Literature Review}\label{chap:lit_review}
You can review the related literature here, possibly with sections:
\section{Subheading 1}
Cite papers as necessary \citep{hasan2020investigation,yaganoglu2021real}. \citet{bird2020optimisation} proposed ...
\section{Subheading 2}
\section{Summary}
You can summarize the chapter here ...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Methodology %%%%%%%%%%%%%%%%%%%%%%%
\chapter{Methodology}\label{chap:method}
This chapter describes ...
\section{A Section}\label{sec:sec_1}
\subsection{A Subsection Under the Section}
You can place necessary equation, such as \autoref{eqn:test}.
\begin{equation}
F_i''=\lvert F_i-2F_{i-1}+F_{i-2} \rvert
\label{eqn:test}
\end{equation}
where, $i$ ...
\subsection{Another Subsection Under the Section}
\section{Another Section}
The logo of KUET is shown in \autoref{fig:test}.
\begin{figure}[!hbtp]
\centering
\includegraphics[width=0.3\textwidth]{logo.png}
\caption{The beautiful logo of KUET.}
\label{fig:test}
\end{figure}
\section{Summary}
You can summarize the chapter here ...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Results and Discussion} \label{chap:results_disc}
Explain the results and discuss them here.
\section{Possible Section}
You can tabulate your result like \autoref{tab:test}.
\begin{table}[!hbt]
\centering
\begin{threeparttable}
\caption{A test table.}
\label{tab:test}
\begin{tabular}{@{}l*5c@{}} \toprule
\textbf{Column 1} & \textbf{Column 2} & \textbf{Column 3} & \textbf{Column 4} & \textbf{Column 5} & \textbf{Column 6} \\ \midrule
Row 1\tnote{1} & 1484\tnote{1} & 866250.98 & 583.7270755 & 54219.22565 & 12345\\
Row 2 & 1484 & 1669570.88 & 1125.047763 & 154094.7943 & 34567 \\ \bottomrule
\end{tabular}
\end{threeparttable}
\begin{tablenotes}
\item [1] Table footnote
\end{tablenotes}
\end{table}
\section{Summary}
You can summarize the chapter here ...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\chapter{Conclusions and Future Works}\label{chap:concl}
Conclusion and future work goes here ...
%\appendix
%\appendixpage
%\addappheadtotoc
%\input{"Mathematical\space definitions/draft"}
\backmatter
%\setstretch{1}
%\include{"Bibliography/draft"}
% Change title of bibliography to References
\renewcommand\bibname{References}
% Make sure "references" is in the header
% \fancyhead[RE]{\bfseries REFERENCES} % if I make it for two-sided book-like printing
% \fancyhead[R]{\bfseries REFERENCES} % if I make it for single-sided printing
% Place it in the table of contents
\newpage
\phantomsection \label{refs}
\addcontentsline{toc}{part}{References}
% Declare style
%\bibliographystyle{plainnat}
% \bibliographystyle{plain}
\printbibliography[title={REFERENCES}, notsubtype=this thesis]
%printing publication from this thesis; entrysubtype={this thesis} is mentioned in corresponding bib file
\nocite{hasan2021how,hasan2021effect,hasan2021tuning}
%\newrefcontext[labelprefix=J]
\printbibliography[title={Publications from this Thesis}, subtype=this thesis, resetnumbers=true]
\addcontentsline{toc}{part}{Publications from this Thesis}
\end{document}