You can automatically generate a table of contents by clicking a reference in the menu bar, then clicking a table of contents, and then selecting Auto Table of Contents.
Step 1: Open the word document.
Step 2: Click the Start menu, select the title content and set the format of the title content, such as title 1.
Step 3: Click Reference, Directory, and then select Auto Directory 1 or Auto Directory 2.
Step 4: The directory is as follows