• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Paragraph shading colour in TOC

Explorer ,
Jul 02, 2020 Jul 02, 2020

Copy link to clipboard

Copied

I'm having a document where various headings are colour coded – both text and background (paragraph shading). These headings are included in TOC.

 

I'd like to retain colours of headings – specifically the backgroud/shading – in TOC automatically.

 

Is this possible?

TOPICS
How to

Views

271

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jul 02, 2020 Jul 02, 2020

Hi Printhouse:

 

When you create a TOC, you collect the text by designating the paragraph styles you want to include from the body of the document. In the same dialog box, you can then map those paragraphs to your TOC-specfic paragraph styles, and design those to have the desired color coding. 

 

~Barb

toc.png

Votes

Translate

Translate
Community Expert ,
Jul 02, 2020 Jul 02, 2020

Copy link to clipboard

Copied

Hi Printhouse:

 

When you create a TOC, you collect the text by designating the paragraph styles you want to include from the body of the document. In the same dialog box, you can then map those paragraphs to your TOC-specfic paragraph styles, and design those to have the desired color coding. 

 

~Barb

toc.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 02, 2020 Jul 02, 2020

Copy link to clipboard

Copied

Thanks Barb,

It's not working for me.

What I'm having in my doc is a single paragraph style (for simplicity's sake) for headings which I'm modifying manually by assigning different colours and shading for verious headings. Curiously, it's only the text colour that gets reflected in TOC but the para shading is whatever is set in TOC para style and it doesn't change. I understand that I'd need to apply a different style for each heading I want to have in a unique colour?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 02, 2020 Jul 02, 2020

Copy link to clipboard

Copied

What I'm getting:

Screenshot 2020-07-03 at 01.14.39.png

 

What I want:

Screenshot 2020-07-03 at 01.15.48.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 02, 2020 Jul 02, 2020

Copy link to clipboard

Copied

LATEST

OK, so in the body of the document you'll need to make multiple paragraph styles. For example,  Heading 1 blue, Heading 2 pink, Heading 1 green. And then pull each of those styles into the table of contents. They will bring their formatting with them. Right now they are all adapting to the first Heading 1 definition (blue).

 

~Barb

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines