Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
I have the front matter file for my book open here, and I'd like to make a table of contents, but I am going to do it for the whole book. In this case, I have already thrown away the book that I created earlier in this chapter, so I am going to create a new one; File > New > Book. I will give it a name, click Save, and then add my documents. I am going to grab all my chapters, click Open, and it adds them all to the Book panel. I covered how to do all of this earlier in the chapter. Next, I am going to move my cover and front matter chapter to the top of the Book panel.
That looks pretty good. Now let's go make our table of contents. I will press Option+Page Down or Alt+ Page Down to jump to the next spread, and let's move my Book panel out of the way, because I don't need that right now. I am going to place my table of contents inside this text frame that I have already created. You'll find the table of contents feature under the Layout menu, down here; Table of Contents. When you're using the table of contents feature, you need to tell InDesign what paragraph styles to look for. I want InDesign to find all the paragraphs in my book that have the chapter name paragraph style applied to them.
So I will come over here to the Other Styles list, scroll down until I see chapter name, or it's called Chapter title, I guess, and click Add. I also wanted to find my subtitles, so I will drag a little bit further down, and grab subtitle. It adds both of those to my Include Paragraph Styles list here. So it's going to go through my whole book, find anything that's a chapter title, or a subtitle, and put it into my table of contents. I know it's going to go through my whole book, because I have the Include Book Documents checkbox turned on down here.
That's only available when you have a Book panel open currently in InDesign. Let's try it out! I will click OK, InDesign goes out, looks through all those documents, takes a little time here, and then it creates the table of contents for me. It also alerts me that there are some text frames in this book that are overset. There is text sticking out the bottom of the frame, so do I want to include that data too? Sure, let's go ahead and include that. I will click Yes, and it finishes up the table of contents, and it tells me that it created it successfully. So there we go! There is my chapter names, there is my subheads, but there's a problem; InDesign actually took the paragraph styles from the chapter titles, and the subheads, and put them in here.
That's not what I want. I want InDesign to use my special table of contents paragraph styles. I made those, and you can see them in the Paragraph Styles panel way down here: TOC 1, TOC 2, TOC 3. I want InDesign to use those. So let's go make our table of contents again. Go back to Layout menu; choose Table of Contents. This time, I'm going to select these styles in the Include Paragraph Styles list, and I'm going to specify an Entry Style. Here, I will choose TOC 1.
That means any time InDesign finds a chapter title, and puts it into the table of contents, it should automatically apply the TOC 1 paragraph style to it. Now I will choose subtitle, and change that to TOC 2. Obviously, this won't change anything on the document pages; this is only applying styles in the table of contents. I have Replace Existing Table of Contents turned on, so I know that it's going to swap out the existing table of contents with my new one. Click OK, and see how it does. We want to include the overset text. Terrific! That looks a lot better.
There is only one thing wrong with this table of contents, and that is, if I change the width of this text frame, it completely breaks. That's because this table of contents is using tabs instead of right aligned tabs. I like the right align tab feature, which I talked about in an earlier chapter. So let's go ahead and fix this, and set this back. To fix it, I go back to Table of Contents one more time, and I am going to click on the More Options button. I always love seeing more options. You can see that this lets me choose various options, such as, should the page number be before the entry, or after? Or maybe you don't want any page number at all.
In this case, I do want a page number, but I want to change the Between Entry and Number field. Right now, it's set to this code: ^t. That means type a tab. I am going to delete that, and type a different code. Now, I don't remember what the code is exactly, but fortunately, InDesign will type it for me if I click on this little pop-up menu. Right up here near the top, I can see Right Indent Tab, and when I choose that, it types the code for me: ^Y. Now, notice that I changed this when subtitle was selected.
That means it's only going to change it for subtitle. We better change it for chapter title as well. I will change the ^t to ^y; this time I remember what the code is, and click OK. It will go through my document, and find all of those, apply them appropriately, click Yes there, and let's see how the table of contents looks. It looks pretty much the same, doesn't it? Except the numbers are flush right against the edge of the frame. Now, when I change the frame, the numbers update too.
I love that right indent tab. Now, of course, most people see this table of contents feature, and they say, well, that's just for books. And sure, it can do books, but this feature is really powerful. It lets you build a collection of any kind of paragraph. For example, you might build a list of advertisers in a magazine, or a list of catalog items, or a list of figures. Anything that you've applied a paragraph style to, you can collect with this feature.
Get unlimited access to all courses for just $25/month.Become a member
119 Video lessons · 50802 Viewers
117 Video lessons · 38494 Viewers
113 Video lessons · 81509 Viewers
65 Video lessons · 11438 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.