13


Word has Headings 1 - 9, but by default only 1 - 3 will show in the TOC.

So, to apply a style to selected text other than Heading 1 - 3, I have done this:

  1. select the text
  2. right-click the selected text
  3. select Styles... from the dropdown list
  4. select Apply Styles... from the dropdown list
  5. type Heading 4 into the textbox, and hit enter


Now that the text is styled correctly, it does not show in the TOC! I have read mention of changing the "field codes" of the TOC to something like this: { TOC \o "1-4" }, but such examples only applied to Word 2007...

So how do you do this in Word 2010?

1
21

You can use the same method as in Word 2007.

  1. Click the 3 vertical dots in the box that say "Update Table" at the top so the whole table is selected
  2. Right click and select "Toggle Field Codes" (or type Shift+F9)

You should see {TOC \o "1-3" \h\z\u}.

  1. Edit the part where it says "1-3" to whatever amount of indents you'd like e.g. "1-4" for 4 indents

  2. repeat Steps 1 and 2

  3. Click "Update Table...".

4
  • Thanks for the quick reply @darthbith. Hmm, so when I do this, the entire selected text of the TOC is replaced with the existing field code {TOC \o "1-3" \h\z\u}. How do I stop it from deleting all of the TOC's text? – Ian Campbell Aug 15 '13 at 16:05
  • 1
    Nevermind, I just figured it out -- following these instructions I modify the field code to {TOC \o "1-4" \h\z\u} as was suggested. Then I click on the 3 vertical dots on the upper-left of the TOC again, right click the TOC textarea and select Toggle Field Codes again to revert it back to its' text. Then you have to update the TOC to see the change take affect. – Ian Campbell Aug 15 '13 at 16:17
  • 1
    Ah yes, forgot to mention how to change it back :-) I'll edit the answer. Glad it worked for you! – darthbith Aug 15 '13 at 16:26
  • 1
    Also, see here: superuser.com/questions/365346/… – darthbith Aug 15 '13 at 16:30
2

A simpler solution would be to select the table of contents and click Alt+F9. You should probably see the following code: { TOC \o "1-3" \h }

Change 3 to 4 and the problem should be solved.

Again click Alt+F9 to see table of content.

0
  1. In the REFERENCES tab, select TABLE OF CONTENTS.
  2. Click Custom Table of contents a window with a Print Preview shows you what is currently showed.
  3. below in GENERAL section, SHOW LEVELS: you can go up or down to the level you want to have visible.
  4. OK and your TOC is now updated to the level you chose.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.