Here's my MWE and in the ToC, I would like to have
- (i) the entries of front and end matters to be aligned with CHAPTER;
(ii) the entries and pages of front and end matters to be made non-bold.
Code: Select all
\documentclass[a4paper,12pt]{report}
\usepackage[a4paper,lmargin=4cm,rmargin=2cm,tmargin=2cm,bmargin=2cm]{geometry}
\usepackage{lipsum}
\usepackage{setspace}
\doublespacing
\usepackage{titlesec}
\renewcommand{\chaptername}{CHAPTER}
\titleformat{\chapter}[hang]{\normalfont\normalsize\bfseries\centering}{\chaptertitlename\ \thechapter:}{2mm}{\normalsize\uppercase}
\titlespacing{\chapter}{0pt}{-1\baselineskip}{\baselineskip}
\usepackage{tocloft}
\begin{document}
\chapter*{Abstract}
\addcontentsline{toc}{chapter}{\numberline{}Abstract}
\pagenumbering{roman}
\setcounter{page}{3}
\chapter*{Acknowledgements}
\addcontentsline{toc}{chapter}{\numberline{}Acknowledgements}
\clearpage
\renewcommand{\contentsname}{TABLE OF CONTENTS}
\renewcommand{\cfttoctitlefont}{\hfill\normalfont\normalsize\bfseries}
\renewcommand{\cftaftertoctitle}{\hfill}
\setlength{\cftbeforetoctitleskip}{-1\baselineskip}
\setlength{\cftaftertoctitleskip}{\baselineskip}
\renewcommand{\cftchappresnum}{CHAPTER }
\renewcommand{\cftchapaftersnum}{: }
\newlength{\mylen} % a "scratch" length
\settowidth{\mylen}{\cftchappresnum\cftchapaftersnum} % extra space
\addtolength{\cftchapnumwidth}{\mylen} % add the extra space
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}}
\setlength{\cftsecindent}{0em}
\setlength{\cftsubsecindent}{2.3em}
\tableofcontents
\addcontentsline{toc}{chapter}{\numberline{}Table of Contents}
\clearpage
\renewcommand{\listfigurename}{LIST OF FIGURES}
\renewcommand{\cftloftitlefont}{\hfill\normalfont\normalsize\bfseries}
\renewcommand{\cftafterloftitle}{\hfill}
\setlength{\cftbeforeloftitleskip}{-1\baselineskip}
\setlength{\cftafterloftitleskip}{\baselineskip}
\listoffigures
\addcontentsline{toc}{chapter}{\numberline{}List of Figures}
\clearpage
\renewcommand{\listtablename}{LIST OF TABLES}
\renewcommand{\cftlottitlefont}{\hfill\normalfont\normalsize\bfseries}
\renewcommand{\cftafterlottitle}{\hfill}
\setlength{\cftbeforelottitleskip}{-1\baselineskip}
\setlength{\cftaftertoctitleskip}{\baselineskip}
\listoftables
\addcontentsline{toc}{chapter}{\numberline{}List of Tables}
\chapter*{List of symbols and abbreviations}
\addcontentsline{toc}{chapter}{\numberline{}List of Symbols and Abbreviations}
\chapter{INTRODUCTION}
\pagenumbering{arabic}
\lipsum
\section{History}
\lipsum
\section{Main Ideas}
\lipsum
\chapter{METHODOLOGY}
\lipsum
\chapter{RESULTS}
\lipsum
\section{Result 1}
\lipsum
\subsection{Result 1a}
\lipsum
\subsection{Result 1b}
\lipsum
\section{Result 2}
\lipsum
\section{Result 3}
\lipsum
\chapter{OPEN PROBLEMS}
\lipsum
\addcontentsline{toc}{chapter}{\numberline{}References}
\renewcommand{\bibname}{REFERENCES}
\end{document}