# Add chapter to TOC without page number

How can I add a chapter entry to TOC without showing the correspondent page number? my documentclass is `report` and I am generating my TOC like this:

``````\phantomsection
\pdfbookmark{\Contents}{contents}
\tableofcontents
``````

Thank you.

-

You could load the `tocloft` package and issue the command `\cftpagenumbersoff{chapter}`. This will suppress the showing of the page numbers of chapter-type entries globally.

To make this change apply to only a single instance of a chapter, you might type

``````\addtocontents{toc}{\cftpagenumbersoff{chapter}}
\chapter{XYZ}
...
\addtocontents{toc}{\cftpagenumberson{chapter}} % to restore the showing of page numbers
``````
-

You can add text to the table of contents using the command `\addtocontents`. Internally, LaTeX uses a couple of commands to create these entries. So for example to add a line, matching the rest of the contents style for chapters write

``````\addtocontents{toc}{\contentsline{chapter}{\numberline{}Title of this chapter}{}}
``````

Here I assuming you do not wish to have the chapter number displayed, as per your question on bibliographies. If you do wish to have a chapter number, it is inserted as the first argument to `\numberline` (one can conviently use `\thechapter` for that).

-