Ask Your Question

# inconsistent TOC format?

C:\fakepath\TOC.odt

In TOC.odt, Table des matières entries are not formatted like the text originals. Specifically:

1. Level 1: why are the labels A, B, … smaller than the text, as in ‘A: Procédure’?

2. Level 2: why are the labels 0, 1, … missing? Eg, ‘0: Proposition’ becomes ‘Proposition’ (But labels do appear at Level 3, eg, ‘1.a: Styles’ —OK)

3. Why are page numbers at Level 3 not aligned with the others?

Formatting edited by ajlittoz for better readability

edit retag close merge delete

## 2 Answers

Sort by » oldest newest most voted

By default, TOC entries are styled with Contents n (n = level) paragraph styles. Customising these styles is normally sufficient to achieve your formatting goals. Playing with the TOC entries structure, you messed up everything and this resulted in the "glitches" you experiment.

To fix, right-click in TOC and Edit Index/Table, Entries tab.

1. Level 1: click on Level 1 to reveal formatting attributes

Click on E button in structure line. You assigned character style Ch5 to this element (forcing bold 18pt) while Contents 1 is bold 14pt. All other elements have no specific character style and are thus formatted Contents 1.

Fix: remove character style Ch5 by setting it to <None>

2. Level 2: click on Level 2

The structure line reads E T #, i.e. you deleted the E# (chapter number).

Fix: click in the white text box left of E, push Chapter no. button

3. Level 3: click on Level 3

Click on T button in structure line. It is aligned at right (the same as in other levels). This means you played with Contents 3 paragraph style.

Looking at Contents 1-3, Indents & Spacing tab, it seems you tried to tune TOC entries alignment through the First line parameter, resp. -0.51cm, 0cm, 0.51cm. More on this later. The culprit for "wrong" page alignment is After text (i.e. paragraph right indent) set to 0.51cm.

Fix: reset Content 3 "After text" parameter to 0

It is important to understand how controls have effect on what.

Headings are formatted by Heading n paragraph styles and their numbering be Tools>Chapter Numbering. There, you systematically style chapter number with user character styles Ch1 to Ch8. This is useful if you really want to make the number different from the heading. This is usually not the case and has the major drawback that updating Heading n is not transferred to the chapter number!

TOC entries are under control of Contents n paragraph styles. There is no Tools>Chapter Numbering equivalent to set relative position of levels from a single location. You must customise Contents n one after the other, though this is made relatively easy from Insert>Indexes & Tables>Indexes & Tables or Edit Index/Table dialog, Styles tab where you can select a style and Edit. Play only with Before text (left indent) unless your structure line includes a tab after the chapter number (something like E# T E T #). In this case, you can play both with Before text and First line.

As a general rule, avoid combinations of Before text and First line resulting in a negative indent, sending the first line in the margin. In principle, margins are no-print areas.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

Note: edit only removes typos

more

## Comments

TY very much!

( 2020-01-03 00:32:50 +0200 )edit
1. It's not "labels A, B, … smaller than the text", it's the other way round: text is larger than other parts of entry (numbering, page number): in your ToC, you assigned character style Ch5 exclusively to E element of the level 1 entry, while kept other parts of element structure without explicit character style. The Ch5 defines Arial 18 pt bold font for Western scripts, while Contents 1 paragraph style used for level 1 entries defines Arial 14 pt bold font.
2. There is no E# element in level 2 structure.
3. Because for Contents 3 paragraph style, "After text" indent is set to 5.08 mm.

more

## Stats

Asked: 2020-01-01 02:37:07 +0200

Seen: 48 times

Last updated: Jan 01 '20