ToC given different font when updated
-
- SilverLounger
- Posts: 2391
- Joined: 28 Mar 2010, 01:49
ToC given different font when updated
Whenever I update my ToC, the font is changed from Times New Roman to Verdana. I need to manually select it and then press ctrl + spacebar for it to revert to Times New Roman. Is it possible to disable whatever is causing the font to change upon update?
Regards,
JMT
JMT
-
- Administrator
- Posts: 78545
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: ToC given different font when updated
Have the headings (Heading 1 etc.) on which the TOC is based been formatted manually as Verdana?
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 2391
- Joined: 28 Mar 2010, 01:49
Re: ToC given different font when updated
Both the Latin text fonts and the complex scripts of the definitions of the styles that appear in the ToC are
are set to Times New Roman and they have not been manually altered.
are set to Times New Roman and they have not been manually altered.
Regards,
JMT
JMT
-
- Administrator
- Posts: 78545
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: ToC given different font when updated
Mysterious.
You could create a macro:
and run it when you want to update the TOC. It will update the TOC, then reset the font.
You could create a macro:
Code: Select all
Sub UpdateTOC()
With ActiveDocument.TablesOfContents(1)
.Update
.Range.Font.Reset
End With
End Sub
Best wishes,
Hans
Hans
-
- SilverLounger
- Posts: 2391
- Joined: 28 Mar 2010, 01:49
Re: ToC given different font when updated
Word may be confused because in Normal.dot, the ToC style is set to Arial. In this document, I have modified the style such that the ToC appear as Times New Roman, but perhaps somehow the underlying Normal.dot definitions are interfering.
Regards,
JMT
JMT
-
- SilverLounger
- Posts: 2391
- Joined: 28 Mar 2010, 01:49
Re: ToC given different font when updated
This problem continues for me. Hans, are you suggesting that I run the above macro in lieu of updating the ToC using F9 or in addition to updating the ToC using F9?
Regards,
JMT
JMT
-
- Administrator
- Posts: 78545
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: ToC given different font when updated
Since the macro updates the TOC, you can run it instead of pressing F9.
Best wishes,
Hans
Hans
-
- NewLounger
- Posts: 1
- Joined: 29 May 2013, 12:46
Re: ToC given different font when updated
Have you examined the font defined within the TOC styles? Word automatically assigns TOC 1 to content tagged with Heading 1 (or more accurately, to paragraph level 1); TOC 2 to Heading 2 content; etc.
Use Ctrl-Shift-Alt-S to bring up the Styles dialog and scroll to select TOC 1. (If you don't see it listed, click "Options" and alter the style pane options to show all styles and sort them alphabetically.) Right-click on the style name and choose Modify Style... to display a dialog that lets you see the formatting defined for the style. If you see Verdana, change it to what you want. This should fix the problem.
Use Ctrl-Shift-Alt-S to bring up the Styles dialog and scroll to select TOC 1. (If you don't see it listed, click "Options" and alter the style pane options to show all styles and sort them alphabetically.) Right-click on the style name and choose Modify Style... to display a dialog that lets you see the formatting defined for the style. If you see Verdana, change it to what you want. This should fix the problem.