

Now you have another way to add your own content to a Table of Contents.įield codes may seem a little scary at first, but they do open up a whole lot of possibilities. Remember, we assigned level 8 to the TC entry, so go to the TOC 8 Style and click Modify.Ĭlick Format and Paragraph, and indent the Left and Right margins, the same way we did in the Summary Style. Go to the HOME tab and open the Styles pane. The last thing we might want to do is format the text. And you can see the description below Domestic Partners. To instruct Word to display TC field entries in the Table of Contents, click ahead of the 'T' switch and type backslash 'f', and a space. Table of contents option in export menu not working. To finish, go back up to the Table of Contents and press Alt+F9 to display the TOC field code. Remove expired marktext.app domain from GitHub repo metadata.

Here’s the field code, the text and the switches that the dialog box added.Ĭlick Show/Hide Paragraph Marks again to hide the field with the text. To see it, go to the HOME tab and click the Show/Hide Paragraph Marks button. Maybe Mark Text should include it as well. I chose 8 because it is not likely to be used for any other TOC entry.Īnd finally, check Suppresses page number, so that the page number doesn’t display. Typora supports the shorthand TOC to generate a table of contents. This assigns TOC level 8 to the text, so that it will be formatted with the TOC 8 Style. Then, under Field options, check Outline level and type 8. This is the text that will appear in the TOC, but not in the body of the document. Type the descriptive text you want in the Text entry box. When you do, you get these options, which correspond to the switches that are available for TC. With this dialog box, you can insert any field you want. Then, click the INSERT tab, click Quick Parts, and Field.

We can create descriptive text specifically for the Table of Contents and hide it in the field code, so that it appears in the Table of Contents but not the body of your document.Ĭlick at the beginning of the first paragraph in this section. In the first movie, we used a custom style to mark text to include in the Table of Contents.īut by using the TC field we have a lot more flexibility.
