# Chapter Headings in TOC [closed]

Where the toc was changed from

  1 Introduction


to

Chapter 1 Introduction


Except I also have an abstract, acknowledgements, list of tables, and list of figures in the toc.

When I implement the solution my List of Tables, List of Figures, Acknowledgements and Abstract get piled on top of each other. My TOC compiled and looked fine (though not the way I wanted) before I added the \titlecontents block of code suggested in the above question.

% MWE
\documentclass{report}
\usepackage{titletoc}% http://ctan.org/pkg/titletoc
\titlecontents*{chapter}% <section-type>
[0pt]% <left>
{}% <numberless-entry-format>
{\bfseries\hfill\contentspage}% <filler-page-format>

\begin{document}

\setcounter{page}{2}
\setcounter{tocdepth}{1}
\tableofcontents
\cleardoublepage
\listoffigures
\cleardoublepage
\listoftables
\cleardoublepage
\cleardoublepage
\cleardoublepage

\begin{abstract}
\thispagestyle{plain}
\pagenumbering{roman}
\setcounter{page}{9}
MWE
\end{abstract}

\setcounter{page}{10}
\section*{Acknowledgements}
\thispagestyle{plain}
I would....

\end{document}


## closed as unclear what you're asking by user31729, Werner, Mensch, Symbol 1, MicoAug 6 '15 at 1:06

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

• Put the code \titlecontents*{chapter}... not in the preamble, but just before you start with your chapters. – karlkoeller Oct 18 '13 at 19:33
• I get undefined control sequence errors when I do that. – ABM Oct 18 '13 at 19:39
• I mean all the code starting with \titlecontents*{chapter} and ending with {\bfseries\hfill\contentspage} – karlkoeller Oct 18 '13 at 19:40
• Yes I had an error in my preamble. Your fix solved it. Now the chapter numbers and section numbers are out of alignment. They are not in the examples from the question I link to. – ABM Oct 18 '13 at 19:45
• It works fine for me – karlkoeller Oct 18 '13 at 19:59