Print

Print


Hello all,

I am working on quite a large document and the content is getting quite
long and it becomes difficult find things quickly. I have thus
introduced an "artificial" structure layer by adding following to the code:

\addtocontents{toc}{\contentsline {chapter}{\centerline{SECTION 1}}{}}

Unfortunately this line in the content listing is classified as a
chapter and a page break to the following chapter will occur. I have
found no way to prevent this. Adding \nopagebreak, \newpage etc. to the
toc file just resulted in errors.

How is this done properly?

Cheers,
Arik