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:
arabic.odt
Direct Formatting:
- Select Character(s)
- (
menu
):Format
→Character...
→Font Effects
(tab)→Font colour
Assigning a Style:
- 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.)
- Select Character(s)
- 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 ()