[Solution] Add multiple directories in different parts of the same word document

This article is a solution for the office software word, that is, at some point we will encounter the situation of adding a table of contents to different chapters in the same word document. Like from a colleague
insert image description here

It was quite tangled when I first encountered this situation, but it was solved successfully. The specific strategies are as follows:

document format

This document is a sample document, which contains two parts, that is, the two parts are independently set page numbers, that is, the first part starts from 1 page, and the second part also starts from 1 page, and it is implemented in the two parts respectively by the corresponding part of the table of contents.

insert image description here

How to set page numbers

1 Set section break
insert image description here
2 Select the next page in Set section break, that is, start a new section from the next page
insert image description here
3 Set as required, you will see the section break mark
insert image description here

insert image description here
4 Then start to set the page number
insert image description here
5 At this point, you will find that although it is divided into subsections, the page number of the second section is continuous with the first part, not starting from 1. At this time, on the first page of the second section, click the page number, set the format, and select Start page number radio button, you can start from 1
insert image description here
insert image description here

Set the table of contents by chapter

1 First, set the title required for the table of contents, that is, the title part that needs to be set, select it, and then select the corresponding title level.
insert image description here
2 If the title section is set, if you set the automatic table of contents directly in the reference at this time, the following situations will occur
insert image description here

here is the quote

insert image description here
Obviously the above situation is not what we want, if we want to achieve what we want, we need the following steps

1. Divide the word document into domains. The specific method is
to manually select all the contents to be used as your first directory, or place the cursor at the front of the contents, press F8, and then click the cursor at the end of the selected contents to select The content you need;
2. Set a field for your selected content, shortcut key Ctrl+shift+F5, the bookmark setting window will appear as shown below, then add a bookmark name named char1, you can select it and click to locate , check whether it contains the content you need;
insert image description here
3. Similarly, follow the above two steps to set the label fields of other directories you need;
insert image description here
4. After all the label fields are set, place the automatic directory where you need, but this When the directory is still the directory of the entire article, that's because you haven't set the bookmark field corresponding to the directory to what you need. Shortcut key Alt+F9, then the directory changes to a command as shown below.
insert image description here
After Alt+F9:
insert image description here
Add the bookmark domain name "char1" you set before "\b" in this command, note that it needs to be separated by a half-width space, as shown below

insert image description here

5 Then use the shortcut key Alt+F9 to find that the directory is still the directory of the entire article. At this time, what you need to do is to update the directory. You can click to update the entire directory in the update at the top left of the directory, or press F9, and you will find it after the update. The directory is all you need. Remember that Alt+F9 toggles between field codes and directories.
insert image description here

After you choose to update the entire directory, the following situation appears, indicating that this part of the setting is successful
insert image description here> 6. Similarly, follow the above steps to set the different directories you need.
But you will find a problem, that is, after the first directory, you will automatically generate a new directory, and each generation will overwrite the first one. A simple way is to copy the first directory and
copy the newly generated directory first. content
insert image description here

Paste it into the location of the second directory where you need to put it, and replace the name in the field code.
insert image description here

At this point, multiple directories have been added to a word, I hope it will be helpful to you, please click here for reference

Guess you like

Origin blog.csdn.net/qq_29750461/article/details/122887802