Page Layout ⇒ References in ToC
References in ToC
I have problem with the ToC of my thesis. I already define References for each chapter separately using \usepackage{chapterbib}. It works, References appear at the end of each chapters, and also appear in the ToC in every end of the chapters.
The problem is, I always see References appearing at the end of the ToC with the same page as summary. I assume this is the 'general' references. How can I remove this in the ToC (red arrow in the figure)?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
References in ToC
From my notes, here are two possible solutions:
1) Add the command \cleardoublepage just before the \addcontentsline.
2) The slightly involved solution consists of renewing the command \refname to automatically create a TOC
entry on reference, thus:
Code: Select all
\let\myRefname\refname%
\renewcommand\refname{\addcontentsline{toc}{section}%
{\myRefname}\myRefname}%
Good Luck!
If either one of this solves your problem, please edit your question and change the status of your question to "solved" by using the "tick mark" icon.
Best,
Skanda.
Re: References in ToC
Thank you for your reply. Both solutions do not work.
I was thinking to edit manually the thesis.toc file. Is there any way to keep the 'edited' *.toc file after compiling (rather than updating the *.toc)?
regards,