(The following assumes that you have completed all the input work of the document! )
1. At the beginning of the document, select the text content for which you want to set the first-level title, set the font and font size, and then select Format-Paragraph-Indentation and Spacing tab- Outline Level in the menu and set it to 1! (key step! )-"OK" (Note: In this process, the text to be set as the first-level title is always selected! Hehe, it is an extra 0, but it is sometimes ignored. ) So the first-level title is set. Similarly, you can set the titles of Level 2 and Level 3 ... The difference is that you can choose Level 2 and Level 3 ... in the "Outline Level" accordingly.
Secondly, it's easy. Brush other first-level titles with the newly set first-level titles (why, format brushes don't? Ask someone else! ), other level titles and so on.
3. Place the cursor in the position where you want to insert the directory (generally it is better to put it in front of the document), and click Insert-Reference-Index and Directory-Format (the default is from the template, but there is no leading character at this time, you can select classical Chinese first, then select both the displayed page number and the right-aligned page number, and select one. ), and finally press "OK"! ! All right.
But don't be too happy, you may find that the format of the automatically generated directory is not quite what you expected, such as too large line spacing and too small font. You can reset the directory at this time. Move the cursor to any position in front of the table of contents, and then repeat Insert-Reference-Index and Table of Contents. At this time, you will find that the format has changed to From Template, and then click Modify on the right. In the pop-up dialog box, modify the format of directory 1 and directory 2. They actually correspond to each other. All right! ! !
5. As for whether the line spacing of the table of contents is too large or too small, you can only select all the tables of contents, and then set the line spacing in Format-Paragraph, which is the same as editing text, so you don't have to bother.
When generating the directory, modify the format and set all the indents to be the same, so that the problems you mentioned will not occur.
About the format modification of the directory, insert-reference-index and directory-modification. After entering, select Modify, Format-Paragraph, first look at the style of the first-level table of contents (only look at paragraphs), select the second-level table of contents, modify the format-paragraph, indent to the first-level title, and leave the rest unchanged. After confirmation, the third level adopts the same method.