# How to have hyperref correctly refer to phantom sections without clearing a double page

When using starred sections in a double page layout, in order to get the table of contents refer to the correct place, it is usually advised to use the method

\cleardoublepage
\phantomsection
\chapter*{Introduction}


Yet this creates a blank page if the page is not odd numbered. In my case, I want to have two starred sections side by side and correctly referenced by the TOC and hyperref. Is there an easy way to achieve this ?

Edit : Sorry for the lack of precisions. I am working with the book class, and here is an example of this problem:

\documentclass{book}
\usepackage{hyperref}
\begin{document}
\tableofcontents
\clearpage
\phantomsection
\chapter*{Left side}
\end{document}


The link to Left Side refers to the wrong page, clearing two pages instead does the trick but that's what I am trying to avoid.

• What \documentclass are you using? – Werner Apr 4 '14 at 19:20
• I just use \chapter* followed by the \phantomsection and the \addcontentsline. In memoir at least the \chapter* clears the page if necessary. – bombcar Apr 4 '14 at 19:22
• Could you please post a complete minimum (working) example with several pages in it illustrating the problem. It would help the solvers to get fast into your problem. – Malipivo Apr 4 '14 at 19:24
• The important point is that \phantomsection goes to the very same page, where the chapter title is set. If \chapter internally uses \cleardoublepage, then you need \cleardoublepage. Otherwise \clearpage or \newpage (if there are not pending floating objects) suffices. – Heiko Oberdiek Apr 4 '14 at 19:27
• Oh right thank you for this comment Heiko. Now I realize how stupid this question was. The chapter environment clears two pages anyway, so the solution lies there, not within hyperref or something like that – Arnaud Apr 6 '14 at 20:33

Just use \clearpage rather than \cleardoublepage:

\documentclass[twoside]{report}
\usepackage{hyperref}
\begin{document}
\tableofcontents
\clearpage
\phantomsection
\chapter*{Left side}

• @Arnaud: When I compile the above MWE, the \phantomsection hyperlinks point to the top of the text block on the chapter page (exactly where it is supposed to be), making the title clearly visible. – Werner Apr 7 '14 at 14:12