2. Before adding the table of contents, we need to do the following: select the text to be included in the table of contents, and then click a title style on the Start tab, such as "Title 1". This is done to make them appear in the directory.
3. click reference > table of contents and select a table of contents style.
4. At this point, a table of contents will appear in the document.
5. If you use automatic directory addition, you must perform the operation in step 2, otherwise you cannot add it.
6. Click Reference > Contents > Custom Contents.
7. You can set the added directory in the pop-up window.