LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Arik Raffael Funke <[log in to unmask]>
Fri, 16 Jun 2006 14:18:10 +0200
text/plain (18 lines)
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?