by RICoder » Feb 21, 2002 @ 6:23pm
Ok, I uploaded a new version of the e-book to the server, so you can download it again from the link in the review. It has a TOC in it.
In Word, if you look at the toolbar, or go to the format menu, you will see Styles and Formatting as an option. (In the menu bar, it should say 'normal' in it when you start up word).
What you want to do, is use the menu, because in the dialog it will give you the option to show all available styles.
Heading 1, Heading 2, etc. are all associated with levels. You can tell what level by customizing each one and looking at the settings.
The idea is that as you write your document, you should assign styles to each part. So, the Title is Title style, section headings use Heading styles, regular text is either Normal or Body Text (up to you).
Once you are done, you can go in to the menu and actually change the appearance of any/all of the styles, and it will update the document for you. This is pretty sweet if you want to change the whole look and feel really easily. The only effort was in making sure you set it up right from the start.
You can also specify the Style to follow each style. Meaning that you could say, set Heading 1 to be followed by Heading 2 and Heading 2 to be followed by body text. So, when you type in a Heading 1 and hit enter, Heading 2 is the active style, hit enter again and it is in body text. This makes it all a lot eaier on you.
Now, once you are done, go to the very top of the document (or wherever you want to put in the toc). Click Insert->Reference->Index and Tables, click the table of contents tab and click ok. Viola, you should have a TOC now. I would insert a page break after it, just to be nice.
There is a ton of other stuff you can do as well, like auto update the TOC if stuff changes, etc.
Hope that all helped.
<iframe src="http://gamercard.xbox.com/RICoder.card" scrolling="no" frameBorder="0" height="140" width="204">RICoder</iframe>