Jump to content
You must now use your email address to sign in [click for more info] ×

Different colours for heading 1 , heading 2 and table of contents


obef

Recommended Posts

Hello,

In a document with several sections I would like to identify the different sections with different colors for the text of heading 1 , heading 2, ... 
I would also like to see this colour diversification reflected in the table of contents.
Is it possible, how, suggestions ..

Thanks & Ciao

Link to comment
Share on other sites

Before getting to your question, just a comment: this seems misplaced, as you're not reporting a bug but asking a question. It would be better in Affinity on Desktop Questions (Mac and Windows).

To get different colors for Heading 1, Heading 2 etc. in your document just edit those Paragraph Styles using the Text Styles panel.

To get different colors for the ToC, you can edit the TOC 1: Heading 1, TOC 1: Heading 2, etc. Text Styles the same way you edited Heading 1, etc. after you create the ToC, (The styles won't exist until you have created the ToC.)

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

5 hours ago, walt.farrell said:

Before getting to your question, just a comment: this seems misplaced, as you're not reporting a bug but asking a question. It would be better in Affinity on Desktop Questions (Mac and Windows).

To get different colors for Heading 1, Heading 2 etc. in your document just edit those Paragraph Styles using the Text Styles panel.

To get different colors for the ToC, you can edit the TOC 1: Heading 1, TOC 1: Heading 2, etc. Text Styles the same way you edited Heading 1, etc. after you create the ToC, (The styles won't exist until you have created the ToC.)

Sorry to have asked the question in the wrong forum, however, following your advice I will always have the text of heading1  red color, I would like that when I change the section also change the color of heading 1, the same in the Table of Contents:
In the text:
Section 1 - heading 1 text "red"
Section 2 - heading 1text  "grey"
In the Table of contents the same colors

Thanks & Ciao

Link to comment
Share on other sites

Sorry; didn't understand the desire for it to be related to the sections. I'll try to read more carefully.

The only way you can do that is to use different Heading styles for each section. For example, use Heading 1 and Heading 2 for section 1, then copy those styles and name them something like Section 2 Heading 1 and Section 2 Heading 2. Do that for each section.

Then when making your ToC select all the heading styles, and then edit the ToC styles that are created.

To get something different you would need to enter a Feature Request in Feedback for Affinity Publisher on Desktop. I think that when the moderators see this topic they'll probably move it for you, so I wouldn't bother reposting there at this time unless they ask you to.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.