How to change Arabic vowel/diacritic colors that are seperate from base color?

Good Morning from America,

I am using LibreOffice Writer (Version:
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: en-US (en_US)) on Windows 10 system.

When typing in the Arabic language, I want to be able to change the colors of the diacritics, separate from the base/main letter color itself - similar to what is seen here for Hebrew and Arabic:

and somewhat addressed in MS-Word, but all the diacritics are the same color

What is your advise please?

Thank you.



Hi ANMB, Good Afternoon to you from the UK.

Please take my reply with a little sideways glance, as I am hardly an expert in this regard.

I take my lead from this comment in the first link:-

Do you mean ligatures or Unicode combining characters? For combining characters, c{\color{red}̧} (there should be an invisible combining cedilla between the two closing braces) works in both XeLaTeX and LuaLaTeX. Ligatures, on the other hand combine to a single symbol in the font and I don’t think there is a way to color the parts individually. – Caramdir Mar 10 '11 at 0:40

That suggests that you can achieve what you want in LO/OO using Unicode combining characters, and for the same reason that Caramdir gives in that comment. In LO the individual chars can be coloured using either Direct Formatting via the Menu or by assigning a Style:

First, the Proof:


Direct Formatting:

  1. Select Character(s)
  1. (menu):FormatCharacter...Font Effects(tab)→Font colour

Assigning a Style:

  1. Create a Style with a font of the correct colour
    (Probably, use New Style from Selection to preserve all other Style characteristics, then change the font colour of the new style to that for a Combining character.)
  1. Select Character(s)
  2. Assign the new Style to that character

Using the coloured Combining character will not be exactly easy, as you will need to have a page with a collection of all such characters, probably on a separate page. You will then need to copy that character, and paste in place when required.

If this helps then please tick the answer (:heavy_check_mark:)