5

I am using the hyperref package to generate bookmarks and links for the table of contents. However, when rendering documents in two column mode the chapter link anchors are placed below the actual chapter title, resulting in the view starting below the chapter heading upon using any of these links/bookmarks. Is there a way to fix this?

I am using the koma-script scrreprt class, however the problem appears with the normal report class as well.

Example:

\documentclass[twocolumn]{scrreprt}
\usepackage{lipsum}
\usepackage{hyperref}
\begin{document}
\tableofcontents
\chapter{First chapter}
\lipsum
\chapter{Second chapter}
\lipsum
\end{document}

1 Answer 1

3

This may not be an ideal solution, but it works.

\documentclass{scrreprt}
\usepackage{lipsum}
\usepackage{multicol}
\usepackage{hyperref}

\begin{document}
\tableofcontents

\chapter{First}
\begin{multicols}{2}
\lipsum[1-6]
\end{multicols}

\chapter{Second}
\begin{multicols}{2}
\lipsum[7-12]
\end{multicols}

\end{document}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .