Join Michael Murphy for an in-depth discussion in this video Saving table of contents settings as a TOC style, part of InDesign: Styles.
A TOC style preserves your Table of Contents settings, but one document can contain many TOC styles. This allows you to quickly try out alternative ways to format a Table of Contents and could be a useful tool when a client asks you to maybe see something a little different. I'm going to select my existing Table of Contents that I built in the last movie and I am going to go up to the Layout menu and choose Table of Contents, and in the Table of Contents dialog I want to change some of the formatting settings.
My client wants to see something a little bit different so I'm going to move the page numbers before the entry, and lose the leader dots and change some styles and things like that. So let's start making some changes to this Table of Contents. For the Entry Style I'm going to change the formatting from TOC Body Text to a paragraph style I created called TOC Alt Body Text. And as soon as I do that, notice that the TOC style shows My TOC (Custom). It's indicating that I've changed the setting and I am now deviating from the norm, this is no longer a match to the My TOC-TOC Style.
I'm going to go make a few more changes. For Page Number I'm going to change it from After Entry to Before Entry. I'm not going to use a Right Align tab so I'll clear that out and choose Tab Character from the menu. My Page Number style is going to use my TOC alt page number style because I have a different look for the page number in this TOC. And I don't want to see those leader dots between the entry and the numbers, so I'm going to set the Character Style for that to None.
If I want to save these changes I'll go up to Save Style and by default InDesign is going to want to replace my existing My TOC style, since that's why I started out from. I actually don't want to do that, I don't want to lose all the formatting and work I did in the first version. I actually like that one better but let's try this one out. I'm going to save this as My Alt TOC, click OK. As soon as I start using this different TOC style my Replace Existing Table of Contents checkbox gets grayed out.
When I assign a new TOC style altogether InDesign won't replace the Existing Table of Contents, but that's fine. I'm going to click OK and yet again, I'm asked if I want to include my overset text. Eventually I'll deal with my overset text but not right now. So I'll click Yes, and I get a loaded text cursor and I'm going to have to draw out a new frame to place my new TOC. So I'll draw it out here on the page, my Smart Guides are basically showing me that I have got a match in size to my original box and it drops that new look and feel for the Table of Contents in there.
If I want the box to appear the same I just need to go to my Object Styles panel and apply my TOC object style and everything looks exactly like I want. So I can delete this one, put this one over here in its place, and we'll show that to my client and we'll see what they think. Well it turns out that my client is really not that impressed with this and they actually prefer the original version, so I'm glad I saved my TOC style. I'm going to select this TOC, go to Layout > Table of Contents and I am going to switch back to my original My TOC style.
Once again, it will not let me replace the existing TOC. Create PDF Bookmarks is not checked because this particular option is not included as part of the TOC Style, so I have to recheck that here. And I'll click OK, Yes; I want to include my overset text. I have to click and drag out a new frame which restores my original look and feel for My TOC. I'll apply my object style, switch to the Selection tool, delete the old TOC and move the other one back in its place.
I don't know if the InDesign engineers intended for TOC Styles to be anything more than a way to save settings, but since alternate TOC styles are so easy to set up, they are also a great way for quickly trying out different design treatments for a Table of Contents.
- Setting up a style-centric workspace
- Creating relationships between paragraph styles
- Using Quick Apply to apply styles
- Using GREP styles to automate text formatting
- Connecting paragraphs with Keep Options
- Creating, applying, and modifying object styles
- Maintaining links between styled tables and external data
- Applying styles with Find/Change
- Working with text variables
- Resolving missing font problems in styles
- Mapping Word styles to InDesign styles
- Export tagging styles for EPUB, HTML, and PDF