I am writing my thesis using my university's (Universiti Teknologi Malaysia) latex template. I have a problem with the table of contents. My working trial is as follows:
\documentclass[oneside,12pt,a4paper]{book}
\usepackage{tikz,UTMThesis,lipsum}
\usetikzlibrary{arrows,matrix,positioning,shapes,arrows}
\usetikzlibrary{shapes.geometric, arrows, calc, intersections}
\newcommand{\tikznode}[2]{\relax
\ifmmode%
\tikz[remember picture,baseline=(#1.base),inner sep=0pt] \node (#1) {$#2$};
\else
\tikz[remember picture,baseline=(#1.base),inner sep=0pt] \node (#1) {#2};%
\fi}
\newcommand\summaryname{ABSTRACT}
\newenvironment{abstract}%
{\small\begin{center}%
\bfseries{\summaryname} \end{center}}
\begin{document}
\tableofcontents
\pagebreak
\chapter*{DECLARATION}
\chapter*{DEDICATION}
\chapter*{ACKNOWLEDGEMENT}
\chapter*{ABSTRACT}
\chapter*{ABSTRAK}
\chapter*{TABLE OF CONTENTS}
\chapter*{LIST OF TABLES}
\chapter*{LIST OF FIGURES}
\chapter*{LIST OF ABBREVIATIONS}
\chapter*{LIST OF SYMBOLS}
\chapter{Introduction}
\lipsum
\section{lipsum}
\lipsum
\section{lipsum}
\lipsum
\section{lipsum}
\lipsum
\section{lipsum}
\lipsum
\chapter{ORDERING OF MATRICES BY PRECEDE OPERATOR}
\cite{1198243,abdy2011transformation}
\section{lipsum}
\lipsum
\section{lipsum}
\lipsum
\section{lipsum}
\lipsum
\section{lipsum}
\lipsum
\bibliographystyle{plain}
\bibliography{mydatabase}
\chapter*{LIST OF PUBLICATIONS}
\end{document}
which produces a table of contents that looks like this:
I want my table of contents that looks like this one:
Please help.


page number titleadd\addtocontents{toc}{~\hfill{Title}~\hfill\textbf{Page}\par}after\tableofcontents. – Apr 11 '20 at 12:58