LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Proportional Font
Show HTML Part by Default
Show All Mail Headers

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

Print Reply
Subject:
From:
Heiko Oberdiek <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Fri, 16 Jun 2006 16:55:55 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
On Fri, Jun 16, 2006 at 02:18:10PM +0200, Arik Raffael Funke wrote:

> 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}}{}}

* A higher order structure element than chapter is part.
* The generic interface for formatting issues in the table
  of contents are macros that start with \l@:
  \l@part, \l@chapter, ...
  Package tocloft provides help at user level.

> 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.

The standard classes make a page break *before* this entry
easier, but they don't force page breaks.

BTW, a better place for asking this kind of questions
is the newsgroup comp.text.tex or AFAIK the mailing list texhax,
see:
  http://www.tex.ac.uk/cgi-bin/texfaq2html?label=maillists
  Where to get help

See also FAQ section P.6 "Table of contents and indexes", e.g.:
  http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tocloft
  The format of the Table of Contents, etc.

Yours sincerely
  Heiko <[log in to unmask]>

ATOM RSS1 RSS2