Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
\documentclass[12pt,a4paper]{mwrep}
...
\chapter{First chapter}
...
\chapter{Another chapter}
...
\begin{thebibliography}{999}
...
\end{thebibliography}

I have in ToC:

1. First chapter ....... 1  
2. Another chapter ..... 1  
Bibliography ........... 1  

I need:

1. First chapter ....... 1  
2. Another chapter ..... 1  
3. Bibliography ........ 1  

How can this be done?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Add the following to the preamble:

\usepackage{etoolbox}
\patchcmd{\thebibliography}{*}{}{}{}

In this way the call \chapter*{\bibname} becomes \chapter{\bibname}, because we are telling to change the * into nothing.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.