I'm trying to create a titlepage that's linked in the table of contents (i.e. clicking the link should send me onto the titlepage). It should look like this:
\documentclass[oneside]{scrbook}
\usepackage{hyperref}
\usepackage{blindtext}
\begin{document}
\tableofcontents
\blinddocument
\begin{titlepage}
There's some text up here!
\vfill
\vfill
\begin{center}
\addcontentsline{toc}{chapter}{My Part}
\Huge\bfseries My Part % (*)
\end{center}
\vfill
\vfill
\vfill
And there's more text down here!
\end{titlepage}
\end{document}
Unfortunately, when you do click the link in the table of contents, you find yourself one page above my titlepage.
To achieve my goal correctly, I've decided to use the part sectioning command. So let's replace the line I marked with (*) with \addpart{My Part}. Unfortunately, you'll notice that the page breaks apart.
What can I do to prevent this from happening? I'm aware that you can change fonts in KOMA-Script classes by redefining \partformat or using \addtokomafont{part}{...}. Are there similar commands to control the pagebreaks?
\addpart. – StckXchnge-nub12 May 15 '19 at 15:23