Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2022, 08:31 AM
Schorch Schorch is offline Can't get page numbers in table of contents to align Windows 10 Can't get page numbers in table of contents to align Office 2019
Novice
Can't get page numbers in table of contents to align
 
Join Date: Jun 2022
Posts: 2
Schorch is on a distinguished road
Default Can't get page numbers in table of contents to align


Hello there,

I have been struggling with the automatically generated table of contents for a while. Ever since I updated the right side margin (reduced it from 4 cm to 3,5 cm), the page numbers no longer align. For some reason it only happens to those that belong to heading 3. I already checked the properties of heading 3 but they seem to be identical to those of heading 1 and heading 2.
When I change the layout back to the 4 cm margin, the page numbers go back to normal and align as they should.

Any ideas what this might be caused by and what I can do to fix it?
Thank you in advance!
Attached Images
File Type: png word.png (51.7 KB, 20 views)
Reply With Quote
  #2  
Old 06-23-2022, 09:45 AM
Charles Kenyon Charles Kenyon is offline Can't get page numbers in table of contents to align Windows 11 Can't get page numbers in table of contents to align Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,125
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

Change the right-tab setting in your TOC 3 style.
TOC Tips and Tricks by Suzanne Barnhill, MVP
Reply With Quote
  #3  
Old 06-23-2022, 05:08 PM
Guessed's Avatar
Guessed Guessed is offline Can't get page numbers in table of contents to align Windows 10 Can't get page numbers in table of contents to align Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,969
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I don't think Suzanne's TOC tips include the issue the poster is having. Microsoft have been tweaking the behaviour of tab stops with regards to TOC levels and there are differences between Word versions now.

In older versions of Word (from memory pre-2013), you used to be able to bring the right indent in a bit and put the tab stop for the page number out beyond that. You could do this to make any multi-line TOC entries avoid having words that ran into the vertical line of the page numbers.

In current versions of Word (excluding Compatibility Mode), this cleaner look is not possible. For starters the GUI stops you moving a tab stop on the ruler beyond the right paragraph margin. If you use the Insert Tabs dialog to place a tab beyond the right margin, the page number stops at the paragraph right margin instead - this did not happen in earlier versions of Word.

The question raised by the OP relates directly to the 'new' Word behaviour so they have to think about where they want their page numbers to align. The alignment they are seeing looks like the TOC 3 style has a right tab somewhere beyond the right margin setting of the style (and Word is displaying the newer behaviour of ignoring that tab in favour of the right margin setting). They are not seeing this with TOC 1 and TOC 2 because the tab stop is aligned at a smaller number which either aligns with the right margin or 0.5cm inside the margin depending on their margin size. This is why the TOC 3 style number alignment is varying depending on margin size but TOC 1 and TOC 2 aren't. I hypothesize that reducing the column width further by making the right margin even bigger (eg 5cm) would get all their numbers aligning again because of this behaviour.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote
  #4  
Old 06-24-2022, 01:27 AM
Schorch Schorch is offline Can't get page numbers in table of contents to align Windows 10 Can't get page numbers in table of contents to align Office 2019
Novice
Can't get page numbers in table of contents to align
 
Join Date: Jun 2022
Posts: 2
Schorch is on a distinguished road
Default

Thank you for your answers. I managed to (hopefully) fix the problem by manually setting the position of the tab stops at 14,5 cm. It involved a lot of guessing and I assume there might be an easier way to do this but it seems to have worked.

Again, thank you so much for your help, wouldn't have thought of the tab stop settings myself.
Reply With Quote
  #5  
Old 06-24-2022, 08:15 AM
Charles Kenyon Charles Kenyon is offline Can't get page numbers in table of contents to align Windows 11 Can't get page numbers in table of contents to align Office 2019
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,125
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

By changing the tab stop, by default, it changed the TOC 3 style. TOC styles are set by default to automatically update the style when you change the formatting.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Space and Align Between Page Number and Content Head in Table of Contents turkey Word 1 12-24-2019 09:18 PM
Can't get page numbers in table of contents to align Automatic page numbers in Word Table of Contents egrizzly Word 3 04-01-2018 05:22 PM
Can't get page numbers in table of contents to align Mail merged document and page numbers for table of contents jab40 Mail Merge 20 04-07-2016 08:25 AM
Can't get page numbers in table of contents to align Cannot Update Page Numbers Only on Table of Contents CrossReach Word 8 03-09-2016 01:18 PM
Can't get page numbers in table of contents to align Page Numbers in Table of Contents MerRob54 Word 6 01-28-2013 03:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:03 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft