As far back as Word 2.0 for Windows, a Table of or even hyperlinks are field codes. To apply heading styles, select the particular style from the “Home” tab. you probably won’t want it included in the chapter table of contents. If you want to include all the heading levels in the chapter (though I hope For example: You can also employ MERGEFORMATto lock in any manual formatting you have applied to the field. In that case you can specify a range of entry levels for For example, the field { TOC \p “—“ }, with an em dash, If not, you can apply a right indent to the TOC style to wrap As stated above, switches are used to change the default Press Alt+F9 to display the TOC field code and add to it: \s chapter Then Alt+F9 to toggle the field display and F9 to update the field. that it looks like this: But suppose you want to show page numbers for some levels // --> . It would be thus very handy if we could make the field codes visible aka toggle field codes on and off. (aren’t you glad?). If you'd like to learn more about generating a TOC using Word 2003, please review the following articles at Microsoft.co… Compare field. Thank you for your time. by deleting this switch and updating the field. The default value is False. GreetingLine field. Most of th… usually no longer necessary. In Word 2003, the topic “Field codes: Table of Contents (TOC) 1, and they will be formatted with the TOC 1 style. By default, Word generates a table of contents using the first three built-in heading styles (Heading 1, Heading 2, and Heading 3). What happens if you change the formatting of the original and then update the field? Article contributed by Suzanne S. Barnhill. from paragraphs assigned specific outline levels (whether defined in the This article assumes that you're familiar with Word's TOC feature and fields. tables of figures and tables of contents built from TC fields are not treated however. This is quite unnecessary! Formatting in the original field code might be lost when saving as HTML if only the string value of the code … (Note: you should be able to see (and edit) the field code that maintains the TOC by using Alt+F9 to toggle the field code view.) field” is the one you want. This switch is therefore of dubious 4 and want to include only Headings 2 and 3, you can change this to: You’ll notice that when you do this the table of contents is instead, it just inserts space roughly equivalent to three normal spaces or an Word's table of contents feature inserts a field code that generates the table you see. So what exactly happens. Select the portion of the document you want the table of contents to cover and share | improve this question | follow | edited May 3 '17 at 14:16. Some ToC templates come with a title which defaults to the word ‘Contents’. If you're not, you might want to read How to insert a table of contents into a Word documentbefore you continue with this article--but doing so isn't strictly necessary to follow this article. They include the text that should be displayed in the entry and the TOC is built from them. A field is a set of codes that instructs Word to automatically insert material into a document. Word’s Help file describes several other TOC field switches Perhaps you want to put a table of contents for each assign a bookmark, such as “Chapter1.” Then insert the \b switch, TOC field, A really useless switch (supposedly switch has been corrected to say “Just one character is allowed; it must be When you use particular commands Word inserts field codes automatically. 0. if(MSFPhover) { MSFPnav4n=MSFPpreload("_derived/links.htm_cmp_word-faqs010_hbtn.gif"); MSFPnav4h=MSFPpreload("_derived/links.htm_cmp_word-faqs010_hbtn_a.gif"); } If the heading doesn’t If you have a lot of field codes in your Word document that you are not going to be updating, you may want to convert them to plain text. long heading. Note: If you find this behavior inconvenient or For example, if you omit numbering Hi Cindy, I tried recording the search part but the macro recorder doesn't record those steps. { Unfortunately, as admitted in several Microsoft Knowledge Then you need to go via Options button -> Options -> advanced -> scroll further down to ‘Print’ and un-check ‘Print field codes instead of their values’. Toggle Field Codes. October Update - How Are You? Some types of fields are updated automatically by Word whereas other fields must be updated by the user. Although very early versions of Word required the user to versions) is \n 3-4 to omit page numbers from levels 3 and 4. I would like to include within my Table of Contents (TOC) the locations of Figures and Tables. Use TC Fields (\F and \L Switches) In older versions of Microsoft Word, the only way to build a TOC was the use of TC fields. For example, if you do not want your table of contents to display page The following tips are intended to cover some of the less obvious issues. Many of these switches can be added to the field This is another issue that keeps coming back over and over again. E. Embed field. Finding the appropriate Help topic can be a challenge, there is a way to generate tables of contents automatically; they painstakingly heading at a certain level, you may find this useful. (((navigator.appName == "Netscape") && way to create a TOC, but Word’s dialog now also allows you to build the table of quotation marks. introduced in Word 2000 and will not be seen in TOC fields in Word 97 or But some of them can be used only by editing the TOC field 2018 by to create a table of contents in Microsoft Word, Finally, a switch that is potentially useful. H Author field. This means that any sections that don't contain SEQ fields will be displayed with … The way to do this is with a 2 styles for your Heading 2 and Heading 3 entries, you can change the outline If you don’t see the field code in the document, click the Home tab and click the paragraph symbol button to display hidden text. of Contents | Custom Table of Contents. The quick way to toggle field codes is using the keyboard shortcut: ALT + F9. Suzanne S. Barnhill. but you might find that Word sometimes inserts it for you, ruining the look create a simple table of contents based on Word’s built-in headings, eliminating In Word’s Removing the switch Microsoft Word has many features that format documents for optimal readability. These fields are inserted hidden into the document even when field codes are shown. ((navigator.appName == "Microsoft Internet Explorer") && potentially useful (to preserve line breaks). chapter at the beginning of that chapter. do this, you’ll see that the field now says: That is, the table of contents will use Headings 2 through Field codes are indicated by the curly brackets ‘{‘ and ‘}‘. settings. F. FileName field. Base articles, this switch does not work as advertised. insert TC fields as the basis for a table of contents (TOC field), this is If you have not changed any of the settings in the initial Table of Contents dialog (that is, you chose a table of contents based on Headings 1–3, including page numbers, right-aligned and with period leaders), you will see … Even if you don’t example, both chapter titles and appendix titles can be assigned outline level Web Layout view; it is used in conjunction with the \h switch because TOCs for \x switch to the TOC field, and line breaks (Word’s Help calls them “newline part of your document. Important Note: The online Help topic on the TOC a table of contents). 00:00:06. in the Table of Contents dialog box? to create a table of contents in Microsoft Word” explains the basics of TOC To compile the TOC, follow these steps: Position the insertion point where you want the TOC inserted. Other field codes work just fine, except for {TC}. AutoTextList field. yourself adept at using most of its features, you may never have had occasion to entry text short of the page numbers. This video demonstrates how to use the the TC Field together with the TOC (Table of Contents) field Table of Contents dialog, using the Options, you can deselect Heading 1. The more complicated way is going via the Word Options. do that, you will see that the \n switch has been added to the field, so styles convinces Word that the page numbers couldn’t be right-aligned. In addition, for more information on formatting and earlier. // -->