Some title styles do not appear in the table of contents
Solved
Max-Caufield
-
Raymond PENTIER Posted messages 58216 Registration date Status Contributor Last intervention -
Raymond PENTIER Posted messages 58216 Registration date Status Contributor Last intervention -
Hello,
I wanted to create a table of contents, but some titles are not showing up in it, even when I update it; I don't know why. Titles 1, 2, and 3 seem to work, but not 4 and 5, and I don't understand why. Could someone please explain it to me?
Thank you in advance and have a nice evening
Here is the link:
https://www.cjoint.com/c/KIysAyCBfr7
Configuration: Windows / Chrome 93.0.4577.82
I wanted to create a table of contents, but some titles are not showing up in it, even when I update it; I don't know why. Titles 1, 2, and 3 seem to work, but not 4 and 5, and I don't understand why. Could someone please explain it to me?
Thank you in advance and have a nice evening
Here is the link:
https://www.cjoint.com/c/KIysAyCBfr7
Configuration: Windows / Chrome 93.0.4577.82
3 answers
-
-
Good evening
The automatic table of contents that Word creates is based by default on 3 hierarchical levels, title styles 1 to 3.
To modify it, you need to change its field code:
- press Alt F9 to display the field code { TOC \o "1-3" \h \z \u } where 1-3 corresponds to the number of levels.
- Therefore, replace the 3 with 5
- Press Alt F9 again to re-hide the field code and update the TOC
One detail in your doc, your title 5 does indeed have a style with a hierarchical level 5 in the paragraph, but it is better to use the already defined titles in the gallery, namely Title 5
--
Argitxu -
Hi,
The table of contents must have been set for only 3 levels.
I only know how to modify it through a trick:
- press Alt+F9
- your TOC is replaced by something that looks like { TOC \O "1-3" \H \Z \U }
- you replace the 3 with the number of levels you want to include, 5 in your case, which gives { TOC \O "1-5" \H \Z \U }
- press Alt+F9 again
The other settings may be different from those I indicated.