Difference between revisions of "Table of Contents - Word"

From Help Wiki
Line 1: Line 1:
{{stub}}
+
<div class="intro">[[Image:Wordlogo.gif|left|50px]] Making a table of contents is simple using styles and headings. Word can insert a Table of Contents for you based on the Headings you select, or you can make one manually.</div>
  
==Introduction==
+
====The Automatic (Easy) Way:====
If (and only if) one used styles in creating a document in Word, a functional and dynamic table of contents can be generated.  
+
Type a Heading on its own line in front of each part of the document you want in your Table of Contents.  Click on each heading, then click "Heading 1" under the "Home" tab.  Use "Heading 2," or "Heading 3", for sub-sections, or sub-sections within sub-sections.  Then click where you want your table of Contents to be, and click "Table of Contents" under the "References" tab.  Choose one of the automatic tables.
  
==Inserting a Table of Contents==
+
*Note:  If you change the document, be sure to click "Update Table" under the "References" tab.
First off, the text of the document should be edited with styles, with the chapter headings that are to appear in the TOC using the Header series of styles. If you have only one level of heading, it should be heading1 style. If you want subheadings they should use the next available heading number.  While it is possible to use any style as a header (insert-->index and tables--> options), the index and tables dialog expects the preset heading styles by default.
+
*Insert --> Index and Tables
+
*choose the "table of contents" tab
+
*Pick a formating style.(these are just TOC style that can be modified in Format--> Styles)
+
*Choose a tab leader from the lower right hand corner
+
*In "show levels" select the levels of headings you want to appear in the TOC
+
*Hit "ok"
+
Now all this will give you is a field (shiver), (which youll prolly want to put a section break after, and change the numbering style in each section if you dont want the toc to be on page 1 and not like, iv-i) to see the output of the field one can use print preview.  
+
  
==Editing the field==
+
====Additional Help====
Now you will see something like <nowiki>{ TOC /o "1-3"}</nowiki>
+
Which of course, leads to the question what does that mean? and what else can i stuff in there?
+
  
*TOC stands for Table of Contents.
+
Microsoft documentation on [http://office.microsoft.com/en-us/word-help/create-a-table-of-contents-HP001225372.aspx?pid=CH100626361033 Creating a Table of Contents]
*\o with its argument "1-3" tells Word to use Headings 1-3 to build the table of contents.
+
Manual
  
Other possible switches:
+
[[Category:Word]]
*\n if you dont want to display page numbers in the TOC. If you want some headers to have page numbers and some not use \n with and argument of the headings to be ommited. such as <nowiki>{TOC \o "1-3" \n 2-3} </nowiki>would display heading levels 1-3 in the TOC but only have page numbers for the heading1 style.
+
*\b for a partial table of contents. Perhaps you want to put a table of contents for each chapter at the beginning of that chapter.  Select the portion of the document you want the table of contents to cover and assign a bookmark (insert-->bookmark), such as “Chapter1.” Then insert the \b switch, followed by the bookmark name, in the TOC field, like this: <nowiki> { TOC \b Chapter1 \o "1-3" }</nowiki>
+
*\p insert custom leader, doesnt work very well, use the leaders in the TOC dialog.
+
*\w preserves tab entries within table entries. (im not really sure)
+
*\x preserves line breaks in headings.
+
*\s and \d \s put a chaper number before the page number. \d indicates the seperator.
+
[[category: Word]]
+

Revision as of 22:29, 10 May 2011

Wordlogo.gif
Making a table of contents is simple using styles and headings. Word can insert a Table of Contents for you based on the Headings you select, or you can make one manually.

The Automatic (Easy) Way:

Type a Heading on its own line in front of each part of the document you want in your Table of Contents. Click on each heading, then click "Heading 1" under the "Home" tab. Use "Heading 2," or "Heading 3", for sub-sections, or sub-sections within sub-sections. Then click where you want your table of Contents to be, and click "Table of Contents" under the "References" tab. Choose one of the automatic tables.

  • Note: If you change the document, be sure to click "Update Table" under the "References" tab.

Additional Help

Microsoft documentation on Creating a Table of Contents Manual