1

In order to hide the Bibliography word I am using

\documentclass[a4paper,12pt{book}
\begin{document}
\tableofcontents
\addcontentsline{toc}{chapter}{Bibliographie}
\renewcommand\bibname{Bibliographie}
\chapter*{Bibliographie}
\renewcommand{\bibname}{}
\begin{thebibliography}{99}
\end{thebibliography}

The problem is that is the table of contents I have dots and the number of the corresponding page in the table of contents.

How can I delete those dots and the number of the corresponding page in the table of contents?

Thanks

4
  • What does \bibname have anything to do with a table of contents? Please provide a complete working example that shows the issue. Welcome to the site. Commented May 30, 2019 at 13:04
  • This is what i am using, \documentclass[a4paper,12pt]{book}\begin{document}\tableofcontents\addcontentsline{toc}{chapter}{Bibliographie} \renewcommand\bibname{Bibliographie} \chapter*{Bibliographie} \renewcommand{\bibname}{} \begin{thebibliography}{99} \end{thebibliography}
    – user640960
    Commented May 30, 2019 at 13:08
  • Rather than post this as a comment, you can edit your question and add that content directly to the question. Commented May 30, 2019 at 13:09
  • @ Steven B. Segletes, i edited my post
    – user640960
    Commented May 30, 2019 at 13:12

1 Answer 1

0

There are no dots in your example, but to remove the page number:

\documentclass[a4paper,12pt]{book}
\begin{document}
\tableofcontents
\renewcommand\bibname{Bibliographie}
\chapter*{Bibliographie}
\addtocontents{toc}{{\bfseries Bibliographie}}
\renewcommand{\bibname}{}
\begin{thebibliography}{99}
\end{thebibliography}
\end{document}

Not the answer you're looking for? Browse other questions tagged .