#1
|
|||
|
|||
Table of contents - second line of entry keeps adding a tab stop
I have a custom TOC style that only has the following two tab stops: 0.15" and 3.23". But when the table of contents entry is two lines long, the second line seems to always add a tab stop at 1", which means the page number doesn't align to the right because it's too short and stops at the 1" tab stop. How do I remove the 1" tab stop? I tried to remove it from the style but it keeps coming back whenever I refresh the table of contents.
|
#2
|
|||
|
|||
These tab stops are set in your TOC styles.
Tab settings are set by paragraph, not for the entire document. |
#3
|
|||
|
|||
But my TOC style that I have applied for this doesn't have the 1" tab stop.
|
#4
|
|||
|
|||
Quote:
I'd click on the little expansion marker underneath Styles on your Home ribbon, find TOC2, right mouse click and hit Modify. Then hit the Format button in the lower left corner of the Modify Style window, select Tabs on the dropdown, and clear all tabs before resetting your Right Tab at the point where you want it (right margin?). |
#5
|
|||
|
|||
TOC styles are not applied by the user but by Word.
I would also guess that it would be TOC 2. Try just moving the tab stop on the Ruler. By default, this should change the applicable style. |
#6
|
|||
|
|||
No, it's definitely a TOC 4. It's a really big document and TOC 2 refers to another line.
I have also tried moving the tab stop on the ruler, and it does automatically update the style, but then when I make changes in the document and refresh the TOC, the tab appears again. I guess it's just a bug. Thanks anyway! |
#7
|
||||
|
||||
It is a bug and it has been a 'feature' of Word for a very long time. It is known as the Jason Tab. See Whenever I update my Table of Contents it acquires unwanted tabs, and I have to press Ctrl+Q to get rid of them
Once you refresh the TOC, select it and press Ctrl-Q to remove it. Alternatively, you could use a macro to refresh your TOC(s) Code:
Sub UpdateTOCs() Dim aTOC As TableOfContents For Each aTOC In ActiveDocument.TablesOfContents aTOC.Update aTOC.Range.ParagraphFormat.Reset 'remove the jason tabs (local formatting tabs inserted in a toc with hanging indents) Next aTOC End Sub
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#8
|
|||
|
|||
Never heard of that. Thanks, Andrew! Hope that sticks in my brain in case I ever face it.
|
#9
|
|||
|
|||
Thank you, Andrew! That is so helpful to know.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
add/remove entry in table of contents | Burt | Word | 4 | 07-12-2019 11:47 AM |
How to stop a contents table from splitting over several pages | Hollie | Word | 3 | 12-23-2016 08:26 AM |
Adding a carriage return at end of each line, and then a blank space, after text entry complete | CEMurphy4 | Word VBA | 1 | 12-02-2015 11:53 PM |
Table of Contents Shrinking Font to Fit Text on One Line - How to stop this? | Jgreer0315 | Word | 3 | 02-13-2014 03:18 AM |
Adding to table of contents messes up format | Lebber | Word | 3 | 01-16-2013 08:51 AM |