textDesktop version
Application: Text Desktop version

MyOffice Text allows you to add a table of contents that is formed from the existing headings of the document. A heading is a fragment of text where the built-in styles for Heading 1Heading 5 or custom styles are applied.

By default, the table of contents includes the headings with Heading 1, Heading 2, and Heading 3 built-in styles applied. You can change which headings and heading levels should be included in the table of contents at any time.

The table of contents is updated automatically and reflects both changes in the headings and their respective page numbers.

Apply heading styles

Make sure to apply heading styles to all document headings before creating the table of contents. For example, if your document includes chapters, sections, and subsections, apply the Heading 1 style to chapter headings, the Heading 2 style to section headings, and the Heading 3 style to subsection headings.

To apply a heading style:

1.Select the text or place the cursor in the text you want to use as a heading.

2.On the Toolbar, select the Styles section and select a heading style. For example, Heading 1.

Once the styles are applied, you can create the table of contents.

Create a table of contents

1.Put the cursor before the place where you want to insert the table of contents.

2.Insert the table of contents in one of the following ways:

In the Command menu, click Insert > Table of Contents.

On the Toolbar, select the Insert section and click t_more. In the opened insert pane, click t_insert_table_of_contents Table of Contents.

By default, the table of contents is always separated from the rest of the document by a page break. You can remove it if needed.

You need to enter the name of the table of contents manually.

Edit the table of contents

You may perform the following actions to edit the table of contents:

Add or remove levels of the table of contents.

Change the heading styles for the table of contents levels.

Hide or display page numbers in the table of contents.

To edit the table of contents, do the following:

Left-click the table of contents. On the Toolbar, select the Contents section. Click t_contents_edit Edit.

Right-click the table of contents. Click Edit Table of Contents on the shortcut menu.

The Edit Table of Contents window opens.

When you have edited the table of contents, press close_window or click outside the window to close the Edit Table of Contents window.

Add a new level of the table of contents

The table of contents can have up to 9 heading levels. By default, it consists of three levels. The first level of the table of contents comprises the headings with the Heading 1 style applied. Heading 2 is the second level. Heading 3 is the third level.

The table of contents typically includes no more than five heading levels. If you add a fourth and fifth level of the table of contents, they will automatically have predefined styles of Heading 4 and Heading 5, respectively.

If you want to add more than five levels of headings to the table of contents, create custom styles and apply them to the desired headings. Then add the table of contents levels that will be created from these headings.

To add a new level of table of contents:

1.In the Edit Table of Contents window, click new_level New Level. A new table of contents line will appear in the level list.

2.Select the headings style you want to apply to this level of the table of contents from the drop-down list or leave the style selected by default.

Change the headings style for the table of contents level

You can create the table of contents levels from the headings with predefined styles Heading 1Heading 5 applied, as well as from the headings with custom styles applied.

To change the style of the headings that form a table of contents level:

1.In the Edit Table of Contents window, on the desired line, expand the styles drop-down list.

2.Select from the drop-down list the headings style you want to apply to this level of the table of contents.

Remove the level of table of contents

If necessary, you can reduce the number of the table of contents levels. For example, you can convert the table of contents which consists of four levels into a table of contents of two levels. For this purpose, you should remove the fourth and third levels of the table of contents.

You can remove the levels of the table of contents from the list, starting with the last one.

To remove the last level of the table of contents, click remove_table_of_contents_level to the right of this level in the Edit Table of Contents window.

Hide or display the page numbers

By default, for each heading of the table of contents is supplemented with the page number where it is located. Page numbers are calculated automatically.

To hide page numbers in the table of contents, clear the Display page numbers check box in the Edit table of Contents window.

To return to displaying page numbers, select the check box.

Format the table of contents

When you create a table of contents, the default formatting is applied. You can change the font and paragraph properties for the table of contents, if necessary.

Formatting applies to the entire table of contents. Changing the formatting of individual parts of the table of contents is not possible.

Formatting the table of contents is similar to formatting the main text of the document.

To format the table of contents, select it first. To do this, click the table of contents with the left mouse button.

Delete the table of contents

To delete the table of contents, use one of the following methods:

Select the table of contents by left-clicking it. On the Toolbar, select the Contents section and click t_contents_delete Delete.

Click the table of contents and press Delete.

Right-click the table of contents and click Delete Table of Contents on the shortcut menu.

Was this helpful?
Yes
No
Previous
Section break