We're going to go through, step-by-step, how you insert a table of contents with page numbers
or with links and how you get it to format right with the indentations in the different
sections.
The easiest part, the first thing that you do, is you just go to insert -> table of contents.
Both of these are going to function exactly the same way as far as how we put them together.
So, for now, I am just going to choose with page numbers and at the end I'll show you
the links as well and just a couple of nuances about that.
So I just inserted a table of contents and this entire area inside the border is made
dynamically.
You're not really supposed to edit this.
It is produced from the formatting below.
So we're going to look at how this became the way it is with the sections here and the
sub-sections here and the page numbers.
The best way to look at that is through the Document Outline.
Go to Tools and go to Document Outline.
This is going to show you where your Title is and where your headers, your Heading 1
and Heading 2, are.
What I'm talking about it, this line is formatted as this style Title.
Table of Contents don't pick up Titles.
That's why it's not up here.
The next one is formatted as a Heading 1.
The Table on Contents is going to pick that up and so is this section and this section.
But, if you go down to where these are indented, and you look at the Table of Contents as well,
they're indented.
I didn't do that by creating a Table of Contents and hitting tab.
The Table of Contents does that automatically because if I go down to Kind Replenish, it's
a Heading 2.
If I make a Heading 3, you'll see that it indents even further.
Go back up to the Table of Contents, and you have to refresh it, click in here and hit
the refresh button.
It indented it even further.
So, if you just made a Table of Contents and you couldn�t figure out why it looks so
random, it's because it's being driven by the formatting.
Let's go back down to Kind Replenish, make it a Heading 2, it will bring it back to where
it was before.
If you want to make this look like a regular Table of Contents that you would find, I would
probably insert a page break right after it.
You could even title it Table of Contents.
You'll see I put that above the actual Table of Contents so it's not in the bordered area.
But, you can also format items in the Table of Contents if you want to.
It's probably best practice to format it right in your document so it gets picked up.
But, if you left-click on it, and you hit change, you can change the name of the header
here.
If I take that period off and I hit Apply, it doesn't actually change the document so
you can customize your Table of Contents.
It also made that a link, which I didn't want so just hit remove.
So that brings us to the second type of Table of Contents which we can do which is - let's
just delete this one first.
Let's get rid of the entire Table of Contents by right-clicking, and doing delete Table
of Contents.
I'm going to insert this Page Break again.
I'll show you how to insert a Table of Contents with links.
There's just a couple of things that work strangely about this.
I am in editing mode, you see that in the upper right hand corner.
If I go into the Table of Contents though, these links don't work.
You can't click on them.
It's because it thinks you're still creating the Table of Contents.
You can change or remove it, but you can't actually click on it.
But, if you share this with someone else in a view-only format, when they get this document
and they're viewing it, they'll be able to navigate.
If you click on one of the lines, I had to double-click that time, it'll go down to that
header.
So, the Table of Consents with links is probably more useful if you think other people are
going to be viewing this online, the Table of Contents with page numbers is more helpful
if you're going to distribute this in paper.