KWord/1.5/Manual/ToC

From KDE Wiki Sandbox

Table of Contents

Mike McBride

When writing a large document, it is useful to include a table of contents. This can be done automatically with KWord.

To begin creating a table of contents KWord needs to know what to include in the table of contents. The first part of this chapter describes how to prepare the document to generate an accurate table of contents.

The second part of this section, discusses the actual generation and updating of the table of contents.

The final part of this section provides pointers on changing the look of the table of contents.

Preparing the document

KWord uses a style-based method of creating table of contents entries.

For more information on styles, see the Styles section of this documentation.

To mark each level of the document, use the paragraph styles Head 1, Head 2 and Head 3.

Major subjects should be marked with the Head 1 style.

Sub-headings under the Head 1 subjects should be marked with Head 2.

Sub-headings under the Head 2 subject headings should be marked with Head 3

Once this is done, proceed to the next section.

Creating the table of contents

To create the table of contents is easy. Simply place the cursor in a text frame where the table of contents should be inserted.

Select Insert->Table of Contents from the menubar.

KWord locates all entries labeled with the appropriate paragraph styles, and their corresponding page numbers. It assembles this into the table of contents.


Note
Once the table of contents is created, it will remain unchanged until KWord is instructed to update it.
To update the table of contents, click once with the left mouse button in the current table of contents. Then select Insert->Update Table of Contents from the menubar.
KWord will replace the old table of contents with a newly updated one.

Changing the look of the table of contents.

The look of the table of contents is also adjusted by using the paragraph styles in KWord.

The table of contents title is formated with the Contents Title paragraph style. All major subject headings (those marked with the Head 1 style), are now formatted using Contents Head 1 paragraph style. All sub-headings (those marked with the Head 2 style), are now formatted using Contents Head 2 paragraph style. Finally, all sub-headings (those marked with the Head 3 style), are now formatted using Contents Head 3 paragraph style.

By changing the look of those three styles, the appearance of the table of contents can be radically changed.

Prev Contents Next
Handling Graphics Document Variables