### Latex: Addcontentsline break page numeration in table of content

Thu, Aug 20, 2020 One-minute read

In some of my documents I have the secion below:

\phantomsection
\begin{thebibliography}{9}
\end{thebibliography}

\phantomsection
\listoffigures

\phantomsection
\listoftables


It did that in the table of content the page numeration was broken. Changing above configuration by adding \cleardoublepage:

\cleardoublepage
\phantomsection
\begin{thebibliography}{9}
\end{thebibliography}

\cleardoublepage
\phantomsection
\listoffigures

\cleardoublepage
\phantomsection