Copy link to clipboard
Copied
I want to make an Indesign book table of contents that includes the chapter title AND a chapter subtitle on the same line, with only one page number. Is there a way to do this? The automatic table of contents stacks my chapter name and subtitle, and I haven't figured out how to have a page number by just one of them.
The easiest way I can think of do do this is to add a non-printing text frame to the page and set a single paragraph with the head and subhead on the same line. Give this paragraph a unique paragraph style not used elsewhere and include that style in the TOC rather than the exisiting heading and subheading styles (which should remain addigned to those paragraphs).
When I do this I generally format this non-printing text on the page in larger, and red, type so it's obvious that it's there and do
...Copy link to clipboard
Copied
Not automatically, no. InDesign does not have a run-in head feature that allows two paragraphs to sit on the same line. (You can vote for the feature request here: https://indesign.uservoice.com/forums/601021-adobe-indesign-feature-requests/suggestions/35413504-st...).
There may be a workaround beyond having to manually fix this after every update, but we need to know if you're using a book file or have all the chapters in a single InDesign document. We also need to know if the subtitle always directly follows the title.
~Barb
Copy link to clipboard
Copied
Thanks for the rapid answer. All the documents I want to include in the table of contents are in a book file. From the top down, on the first page of each document - each of which is one chapter - the text boxes contain: the chapter number (Chapter 1), the chapter title (Been There, Done That), the chapter subtitle (1953: Brazil). These are followed by either a photo or body text. Does that answer your question? I wasn't quite sure.
Copy link to clipboard
Copied
The easiest way I can think of do do this is to add a non-printing text frame to the page and set a single paragraph with the head and subhead on the same line. Give this paragraph a unique paragraph style not used elsewhere and include that style in the TOC rather than the exisiting heading and subheading styles (which should remain addigned to those paragraphs).
When I do this I generally format this non-printing text on the page in larger, and red, type so it's obvious that it's there and do the formatting for the TOC with a new style in the TOC itself.
Copy link to clipboard
Copied
To add to @Peter Spier 's method, try this:
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Peter Spier's method has always been the one I used too, but just now it occurred to me that there is another way. Not sure whether it'll always work though.
1. In the chapters, separate the title and the subtitle with a forced line break.
3. In the chapters, insert the character you would use in the TOC as a separator between the title and the subtitle (en- or em-rule, a tab, whatever) at the end of the title.
3. In the chapters, instead of formatting the subtitle with a paragraph style, use a characters style.
4. In the TOC, remove all formatting of the character style used for the subtitle.
5. In the TOC window, check the 'Remove forced Line breaks' box.
Now the generated TOC should be as desired.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi @avid_Cosmos6738:
It looks like you already have a working answer and that's terrific. The reason I was asking if the two paragraphs were sequential, and if you were using a book is because another way to approach this is using line breaks and a character style.
In the first screen shot, the chapter title and subhead are one paragarph, but I added line breaks to separate them and added a character style to make the subhead smaller.
.
In the second screenshot, I enabled remove forced line breaks when I generated the table of contents so both elements appear as a single paragraph.
And the reason I asked if you were using a book is because InDesign will carry the character style into the TOC so you can see that 1953: Brazil is smaller than the actual chapter title due to that character style. If you're working in a single file this would be problematic, but if you're working in a book—which you are—then the TOC will be in a different document and you can leave the character style but remove the formatting from it so that it doesn't do anything and the whole line will be the same typeface size style, etc.
~Barb
Copy link to clipboard
Copied
Find more inspiration, events, and resources on the new Adobe Community
Explore Now