TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got two last questions. The first one is about the wrong page number for my bibliography in the table of contents. I've already tried the solution with \cleardoublepage and \phantomsection before or after my \addcontentsline{toc}{chapter}{REFERENCES}, but I can't obtain anything good. So I tried also the solution with tocbibind package, but in this case I lost some others properties of my bibliography. I give you my code for the bibliography, so you can understand better my situation:



I'm using book class. My second problem is more simple I think. The title of my bibliography (References) is farther from the top of the page than the other titles of my work. How can I correct this distance?

Ok.I'm sorry for my late. Here is part of my code. I hope it's helpful:




  {\labelsep=0.7cm \advance\leftmargin\labelsep}{}{}



\def\listofsymbols{\input{symbols} \clearpage}
\def\addsymbol #1: #2#3{$#1$ \> \parbox{6.5in}{#2 \dotfill \pageref{#3}}\\} 






\begin{abstract}        %Sommario
\normalsize\emph{Tanto va la gatta al largo che ci lascia lo zampino}

\begin{abstract}[german]        %Zusammenfassung
\normalsize\emph{Wenn die Katze geht zu viel zu verraten, kann verlor seine kleine Hand}

\begin{abstract}[english]       %Abstract
\normalsize\emph{If the cat goes too much away, can lost its little hand}

\renewcommand\contentsname{\bf\Large{TABLE OF CONTENTS}\vspace{-20pt}}
\chapter*{\bf\Large{LIST OF SYMBOLS}\vspace{-20pt}}







I don't know if this part of my code could be considered as a MWE, but I tried to leave the most important part of the code. With this code I'm obtaining the "REFERENCES" title farther from the top of the page than the usual distance of any other title. And in the Table of Contents, I have two times the word "REFERENCES", the first one at the wrong page (6 in my case) and the second one at the right page (7 in my case).

share|improve this question
Rather than code snippets, provide a minimal working example (MWE) that illustrates your problem. BTW, the \addtocounter could well be the cause of your first problem. – lockstep Oct 12 '11 at 15:36
I don't know in this case how is the best MWE to explain my problem. I can give you all my tex code, if you think could be a solution. – Marco Oct 12 '11 at 15:58
Not many helpers at tex.sx are interested to delve into huge anounts of code. By trimming your code to a manageable MWE (that still shows the problematic behaviour!), you'll increase the likelihood that someone is helpful. – lockstep Oct 12 '11 at 16:03
@lockstep I've answered in the GuIT forum where the same question was posted. – egreg Oct 12 '11 at 20:45

I can't seem to reproduce the error that you mention (about the line "References" showing up twice in the table of contents). Have you considered eliminating the instruction


from the code? The reason I ask is that some other style files you load may already be inserting a similar line somewhere in the process. Just a thought.

share|improve this answer

Your Answer


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.