Code: Select all
\documentclass[12pt]{report}
%title edits
\usepackage{tocloft, titlesec, sectsty }
\usepackage[titletoc]{appendix}
%others
\usepackage{setspace}
\usepackage{times}
\usepackage[T1]{fontenc}
%chapter and title formatting
\renewcommand{\contentsname}{\begin{center}TABLE OF CONTENTS\end{center}}
\renewcommand{\appendixname}{APPENDIX}
\titlespacing*{\chapter}{0pt}{-50pt}{20pt}
\renewcommand\chaptername{CHAPTER}
\titleformat{\chapter}[hang]{\fontfamily{ptm}\large\bfseries\centering}{\chaptertitlename\ \thechapter}{1em}{}
\titleformat*{\section}{\Large\bfseries}
%table of contents
\newcommand{\newchapter}[1]
{ \renewcommand{\thechapter}{\Roman{chapter}}
\chapter{#1}
\renewcommand{\thechapter}{\arabic{chapter}}
}
\setlength{\cftsecindent}{1.5cm}
\renewcommand{\cftchapdotsep}{4.5} % same spacing as for sections
\renewcommand{\cftchapfont}{\bfseries}
\renewcommand{\cftchapleader}{\bfseries\cftdotfill{\cftchapdotsep}}
\renewcommand{\cftchappagefont}{\bfseries}
\renewcommand{\cftchappresnum}{CHAPTER }
\renewcommand{\cftchapnumwidth}{2.8cm}
%test command
\newcommand*\updatechaptername{%
\addtocontents{toc}{\protect\renewcommand*\protect\cftchappresnum{\@\ }}
}
\makeatother
\begin{document}
\newpage
\normalsize
\tableofcontents{}
\chapter{First chapter}
\section{first section}
\pagebreak
\begin{appendices}
\updatechaptername
\chapter{SYMBOL LIST}
\end{appendices}
\end{document}