#1
|
|||
|
|||
Combine Headings in Table of Contents on one line
I have a document with a table of Contents. Heading 1 consists of 2 lines of text (for example "Article I" and "Definitions"). When I include both within Heading 1, "Article I" appears on line 1 with its own page number, and "Definitions" appears on the next line with its own page number.
What I would like is for them to appear on the same line such as "Article I Definitions"...........p1 Any help? |
#2
|
|||
|
|||
See TOC Tips and Tricks by Suzanne Barnhill, MVP.
In particular, look at TOC Entries that do not appear in the document. You want to be using Table Entry (TC) Fields as the basis for your TOC rather than headings. |
#3
|
|||
|
|||
Thanks Charles.
Im new to Word, and quite confused. If I sent you a sample document and a separate word file showing what I wanted, would you consider showing me? Thanks again. |
#4
|
|||
|
|||
Yes, please attach here.
Attach a Sample File Demonstrating the Problem - Here's How |
#5
|
|||
|
|||
Attached is a template that demonstrates these principles.
The TOC is using TC fields to combine Headings 1 and 2 on one line and looks like this: The generic TC Field looks like this:
Code:
{ TC “{ STYLEREF "Heading 1" \n }: { StyleRef "Heading 2" }” \l 1 } If your Chapter numbering is not automatic numbering, then the first StyleRef field should not have the \n switch. Useful StyleRef tricks by Suzanne Barnhill, MVP You do not need to use Heading 2 for your secondary text but cannot use the same two styles. They can look the same, but the StyleRef fields will not work with two of the same style. Without using the StyleRef fields, you will need to separately write the TC Field for each chapter. With them, you can copy and paste the field or insert it from AutoText. |
#6
|
|||
|
|||
My initial reaction is to use a simple carriage return instead of a full line feed/carriage return, in the document.
ie, CTRL+ENTER instead of ENTER |
#7
|
||||
|
||||
Quote:
Ctrl+Enter inserts a manual page break in Word. Enter creates a new paragraph.
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
#8
|
|||
|
|||
I can't even blame thinking I was in Excel. |
#9
|
||||
|
||||
These things happen. :-)
__________________
Stefan Blom Microsoft Word MVP Microsoft 365 apps for business Windows 11 Professional |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Manipulating Headings so Image contents is correctly referenced in Table of Contents | dynamictiger | Word | 2 | 05-29-2019 05:41 AM |
How to Combine a Table of Contents Page with Another Document | Dante49 | Word | 2 | 10-24-2016 01:53 PM |
Some headings or pages missing from table of contents | Jim Robison | Word | 2 | 08-13-2016 04:56 PM |
Table of contents and headings compatibility problem | dabbler | Word | 1 | 01-18-2015 10:55 AM |
Table of contents with multiple coloured headings | chaka2487 | Word | 3 | 10-17-2011 01:18 PM |