Skip to main content
Participant
November 13, 2019
Question

How to set Arabic character style, not paragraph

  • November 13, 2019
  • 1 reply
  • 1069 views

Hello,

 

I want write in a mixture of arabic and english in the same sentence. however paragraph styles changes evereything instead of just the one arabic word in the sentence. And when i go to make a character style for the arabic text, there is no option for changing the composer to 'world ready' (which joins together the arabic writing)

 

is there any way round this?

This topic has been closed for replies.

1 reply

Derek Cross
Community Expert
Community Expert
November 13, 2019

Presumably you want the Roman to read left to right and the Arabic to read right to left in one sentence – right?

Participant
November 13, 2019

Yes, sorry i forgot to mention

 

is it possible?

Zaid Al Hilali
Community Expert
Community Expert
November 20, 2019

It is possible by creating one Paragraph style, and two Character Styles, one for Arabic and another Character style for English text.

In the Paragraph style options window, go to Grep Style in the left pane, and add both character styles you created as follows (character style name is irrelevant, you may name them as you want : 

Now, the hard part, you need to copy this GREP code [\‬u‭\]‬ then paste it in both Arabic and English GREP Styles as shown in the screenshot above, but then add all Arabic and English alphabets and numerals manually which will take time and testing.

[\u\ 1234567890؟.أإءابتثجحخدذرزسشصضطظعغفقكلمنهوي]

[\u\abcdefghijklmnopqrstuvxyz]

Now, above two GREP scripts, I placed for you aren't complete, you need to add more to both. I'm sure if you search the net you will find others who had a similar case and posted a full script.

Here is the result of applying one Paragraph style with GREP style of two Character styles…