Ask Your Question
0

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

asked 2015-09-14 16:59:42 +0100

ANMB gravatar image

updated 2015-09-16 14:08:15 +0100

Alex Kemp gravatar image

Good Morning from America,

I am using LibreOffice Writer (Version: 5.0.1.2 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:

http://tex.stackexchange.com/question...

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

http://answers.microsoft.com/en-us/of...

What is your advise please?

Thank you.

Sincerely,

ANMB

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2015-09-16 15:37:34 +0100

Alex Kemp gravatar image

updated 2015-09-16 15:42:02 +0100

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
image description

Direct Formatting:

  1. Select Character(s)
  2. (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.)
  2. Select Character(s)
  3. 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 (✔)

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-09-14 16:59:42 +0100

Seen: 1,244 times

Last updated: Sep 16 '15