how you get the bibliography treated as a part in the t-of-c depends on how
it's defined in the documentclass you're using. however, i assume that you
want the appearance of the bibliography itself to remain with the first page
looking like the first page of a chapter.
the two documentclasses with parts with which i'm most familiar (the latex book.cls
and amsbook.cls) both start {thebibliography}
as \chapter*
(though in slightly
different ways). the main difference is that book.cls doesn't put anything into
the t-of-c for \chapter*
. with such a class, all you need to do is enter something like
\addcontentsline{toc}{part}{Bibliography}
after \begin{thebibliography}
and before the first reference entry.
for a class like amsbook.cls, which automatically writes a t-of-c entry, you
would need to suppress that and then add a replacement. the deletion can be
accomplished by defining a command such as
\DeclareRobustCommand{\SkipTocEntry}[4]{}
(using [5] instead if you're loading hyperref). then, just before the start
of the bibliography, insert
\addtocontents{toc}{\SkipTocEntry}
and proceed as above with the replacement.
If i understood the question correctly, you want the following.
\documentclass[12pt]{report}
\usepackage{tocloft} % use for th next command in order to remove dots
\renewcommand{\cftdot}{} % remove dots of table of content
\renewcommand{\cftchapfont}{\cftsecfont}
\renewcommand{\cftchappagefont}{\cftsecfont}
\setlength{\cftbeforechapskip}{0pt}
\begin{document}
\tableofcontents
\addcontentsline{toc}{chapter}{Alpha}
\addcontentsline{toc}{chapter}{Bravo}
\addcontentsline{toc}{chapter}{Charlie}
\addtocontents{toc}{\protect\vspace{\baselineskip}}
\chapter{Animals}
\section{Mara}
\section{Echidna}
\section{Wombat}
\section{Guanaco}
\section{Dinosaur}
\section{Capybara}
\chapter{Legends}
\section{Martin}
\section{Enrico}
\section{Werner}
\section{Gonzalo}
\section{David}
\section{Christian}
\end{document}
Best Answer
If you want to change the
\chapter
heading of all the chapters use thetitlesec
package. I would not recommend that you change the contents heading on its own. If you realy wants it, you can addThe following will give more or less wat you want, execpt for the linebreak after Chapter 1. That will cause chaos if you include sections.