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.

I'm using the memoir class and have my document structured by parts which means that the "Bibliography" entry in the Table of Contents are not showing correctly (I guess that it is shown as a chapter instead of as a part).

I see two solutions:

  1. Remove the entry from the ToC and add a custom entry like

    \addcontentsline{toc}{part}{Bibliography}

  2. Change the way the entry is shown by default

Does anyone know about a solution to this?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

Redefine \bibsection; for example, to have the bibliography heading as one for a regular unnumbered part and to have the entry in the ToC formatted in the same way as part entries, you can do:

\renewcommand{\bibsection}{%
\part*{\bibname}
\bibmark
\ifnobibintoc\else
\phantomsection
\addcontentsline{toc}{part}{\bibname}
\fi
\prebibhook}

and then invoke

\bibintoc
share|improve this answer
    
What a very nice fix! The only thin is that the Bibliography gets its own part page, but the page doesn't say "Part XX Bibliography". Is it possible to somehow make that happen? Otherwise I would like that the Bibliography header is on the same page as the references - like default. Thanks a lot! –  thilemann Oct 7 '12 at 13:18
    
@thilemann sure! Change \part*{\bibname} to \part{\bibname} in the redefinition of \bibsection. –  Gonzalo Medina Oct 7 '12 at 14:43
    
Thank you again. Your help is much appreciated! –  thilemann Oct 7 '12 at 14:49
add comment

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.