I have a question about modifying the table of content I want to divide it into three parts (here, part 2, part 3). For the first part, I have a book sample like the following:
\documentclass{book}
\usepackage[a5paper]{geometry}
\usepackage{lipsum}
\linespread{1.5}
\begin{document}
\tableofcontents
\addtocontents{toc}{ \textbf{Title} \hfill \textbf{Page}\par}
\chapter{Spring}\lipsum[1-30]
\section{Sp1}\lipsum[1-30]
\section{Sp2}\lipsum[1-30]
\section{Sp3}\lipsum[1-30]
\section{Sp4}\lipsum[1-30]
\section{Sp5}\lipsum[1-30]
\section{Sp6}\lipsum[1-30]
\section{Sp7}\lipsum[1-30]
\section{Sp8}\lipsum[1-30]
\section{Sp9}\lipsum[1-30]
\chapter{Summer}
\section{Su1}\lipsum[1-30]
\section{Su2}\lipsum[1-30]
\section{Su3}\lipsum[1-30]
\section{Su4}\lipsum[1-30]
\section{Su5}\lipsum[1-30]
\section{Su6}\lipsum[1-30]
\section{Su7}\lipsum[1-30]
\section{Su8}\lipsum[1-30]
\section{Su9}\lipsum[1-30]
\chapter{Fall}
\section{F1}\lipsum[1-30]
\section{F2}\lipsum[1-30]
\section{F3}\lipsum[1-30]
\section{F4}\lipsum[1-30]
\section{F5}\lipsum[1-30]
\section{F6}\lipsum[1-30]
\section{F7}\lipsum[1-30]
\section{F8}\lipsum[1-30]
\section{F9}\lipsum[1-30]
\chapter{Winter}
\section{W1}\lipsum[1-30]
\section{W2}\lipsum[1-30]
\section{W3}\lipsum[1-30]
\section{W4}\lipsum[1-30]
\section{W5}\lipsum[1-30]
\section{W6}\lipsum[1-30]
\section{W7}\lipsum[1-30]
\section{W8}\lipsum[1-30]
\section{W9}\lipsum[1-30]
\end{document}
As is seen, I have added "title" and "page" on the top of the content (toc) and page columns. Since the toc is a multipage one, I want to repeat them as they are on the first page of the toc. How can it be figured out? Thanks


\addtocontents{toc}{ \textbf{Title} \hfill \textbf{Page}\par} \section{Su3}– samcarter_is_at_topanswers.xyz Mar 20 '23 at 15:54