[Tex/LaTex] Pagebreak within the List of Figures

page-breakingtable of contents

How can I have a page break manually inserted into the list of figures (\listoffigures)? I need a page break after a certain line/image-caption.

Consider MWE:

\documentclass[14pt, a4paper]{extreport}
\usepackage[left=3.5cm, right=2.5cm, top=3cm, bottom=3cm]{geometry}
\usepackage[toc,page]{appendix}
\usepackage{caption}
\usepackage{graphicx}
\begin{document}
\renewcommand{\contentsname}{Table of Contents}
\tableofcontents{}
\addcontentsline{toc}{chapter}{Table of Contents}
\newpage
%%------------List of Figures----------------------
\listoffigures{}
\addcontentsline{toc}{chapter}{List of Figures}

\chapter{someCH}
\begin{figure}[htbp]
   \centering
      \includegraphics[height=8cm]{example-image-b}
\caption{bb}
\end{figure}

\part*{Test}
\markboth{}{}
\begin{figure}[htbp]
   \centering
      \includegraphics[height=8cm]{example-image-b}
\caption{name}
\end{figure}

\begin{figure}[htbp]
   \centering
      \includegraphics[height=8cm]{example-image-b}
\caption{bbb}
\end{figure}
\addtocontents{lof}{\protect\pagebreak}
\appendix
\chapter{chapt}\label{a.b}
\begin{figure}[htbp]
   \centering
      \includegraphics[height=8cm]{example-image-b}
\caption{name}
\end{figure}
\end{document}

Best Answer

you need to add the extra line with the page break after the pages on to which the other floats had floated (or add it within the float) placing it in the first appendix is simplest here

\documentclass[14pt, a4paper]{extreport}
\usepackage[left=3.5cm, right=2.5cm, top=3cm, bottom=3cm]{geometry}
\usepackage[toc,page]{appendix}
\usepackage{caption}
\usepackage{graphicx}
\begin{document}
\renewcommand{\contentsname}{Table of Contents}
\tableofcontents{}
\addcontentsline{toc}{chapter}{Table of Contents}
\newpage
%%------------List of Figures----------------------
\listoffigures{}
\addcontentsline{toc}{chapter}{List of Figures}

\chapter{someCH}
\begin{figure}[htbp]
   \centering
      \includegraphics[height=8cm]{example-image-b}
\caption{bb}
\end{figure}

\part*{Test}
\markboth{}{}
\begin{figure}[htbp]
   \centering
      \includegraphics[height=8cm]{example-image-b}
\caption{name}
\end{figure}

\begin{figure}[htbp]
   \centering
      \includegraphics[height=8cm]{example-image-b}
\caption{bbb}
\end{figure}



\appendix
\chapter{chapt}\label{a.b}
\addtocontents{lof}{\protect\pagebreak}

\begin{figure}[htbp]
   \centering
      \includegraphics[height=8cm]{example-image-b}
\caption{name}
\end{figure}
\end{document}