# How to add Word CHAPTER # for each chapter name in toc (for .sty file) [duplicate]

How to add Word CHAPTER # for each chapter name in toc (for .sty file)

This code from .sty file

  \renewcommand{\@makechapterhead}[1]{{
\setlength{\topmargin}{2in}   % really 1.5in, added by bph
% to meet OAP standards
\normalfont\normalsize\bfseries  %the size of the font of the headers   of the chapter
\begin{center}
\etchapterheadstyle{\@chapapp{ \thechapter}}  %  CHAPTER 1 or APPENDIX

\end{center}
\setlength{\topmargin}{1.5in}   % back to 1in

}}

\setlength{\topmargin}{2in}   % really 1.5in, added by bph
% to meet OAP standards
\normalfont\normalsize\bfseries
\begin{center}
\end{center}
\setlength{\topmargin}{2in}   % back to 1in
}}


The TOC shown as follow

How to appear TOC as:

CHAPTER 1 INTRODUCTION

CHAPTER 2 Chapter 2 name

CHAPTER 3 Chapter 3 name

After I add the below code from Peter Wilson this toc appears The Question is 1- How can I remove the word CHAPTER at the beginning of chapters toc 2- How can I make the title font smaller 3- list of figure - tables - symbols appear at the same page how can I make each of them in a single page?

## marked as duplicate by Dr. Manuel Kuehner, Sebastiano, Phelype Oleinik, Stefan Pinnow, MenschMar 1 at 23:51

Use the tocloft package.

...
\usepackage{tocloft}
\renewcommand{\cftchappresnum}{CHAPTER } % CHAPTER before number in ToC
\newlength{\mylen} % a scratch length
\settowidth{\mylen}{\bfseries\cftchappresnum\cftchapaftersnum} % extra space

Adding something before the chapter/section number means you have to allow extra spacing for the additional text. That is what the last three lines of the above code does. Of course you could just set \cftchapnumwidth to your specified value without the fiddle of the above code.
See the documentation (> texdoc tocloft) for more information.
• @ahmadHani I have no idea what you have done as you have not provided a MWE (from \documentclass...  to \end{document}) The code I provided puts CHAPTER before the chapter numbers in the ToC and with my test document changes nothing else. I can't help any more. – Peter Wilson Mar 3 at 19:35