TOC - Different font for page number than chapter

Anonymous
2019-11-11T06:01:41+00:00

I am creating a TOC for my document, and I need the text for heading 3 to be italicized.  But I would like to have all the page numbers be non-italicized. I've found the solution of going in at the end and manually changing the italicized numbers.  That was from 2017, so I was hoping there might be another solution by now, maybe something using field codes?  I have Word 2019.

Thanks!

Nancy

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Doug Robbins - MVP - Office Apps and Services 322.1K Reputation points MVP Volunteer Moderator
    2019-11-11T07:02:56+00:00

    Sorry, there has been no change from 2017 to 2019 so you will need to resort to the same method.

    You could raise the issue at http://word.uservoice.com/ or, if it has already been raised there, add your vote to it.

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2019-11-11T08:43:21+00:00

    Hi NT14_55

    The same option still need to use.

    But you can only select the entire line of one of the sub-chapter (your case 3rd sub categories) TOC to change to Italics. It will reflect for rest of them as shown in the picture.

    0 comments No comments
  3. Anonymous
    2019-11-11T11:42:55+00:00

    You could use a macro to update the TOC and remove italics from all the page numbers.

    Sub UpdateTOC()

      Dim aFld As Field, aTOC As TableOfContents

      Set aTOC = ActiveDocument.TablesOfContents(1)

      aTOC.Update

      For Each aFld In aTOC.Range.Fields

        If aFld.Type = wdFieldPageRef Then aFld.Result.Italic = False

      Next aFld

    End Sub

    0 comments No comments
  4. Suzanne S Barnhill 275K Reputation points MVP Volunteer Moderator
    2019-11-11T12:34:08+00:00

    There is a way, but I don't recommend it. Instead of formatting the Heading 3 style as italic, apply the italics to your level 3 headings as direct font formatting. This will result in an italicized TOC entry with unitalicized numbers. The downside is that, if you ever update Heading 3, the italics will be lost.

    1 person found this answer helpful.
    0 comments No comments