Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

how to flip a % symbol without flipping the original digits?

Return to Member Forum

  • Author
    Posts
    • #116003
      Abdus Samad
      Member

      Hi friends,
      I know how to deal with arabic text in indesign but my question is bit tricky.
      how can i flip a % with a digit without flipping the digit

      for example : i got a number : 8.5% now what i am looking for is %8.5

      I tried everything but i am not getting the right results, it always flip the entire number where as i need the number to remain same but % to be flip
      is there is any way out?

      Thank you

    • #116009
      Abdus Samad
      Member

      Anyone?

    • #116010
      David Blatner
      Keymaster

      In the English version, I would use a GREP expression to do this. For example, in the GREP tab of the Find/Change dialog box, you could search for (\d+?\.?\d*)% and then replace it with %$1
      That would switch the position of the % symbol. (This will find 6%, 6.1%, 65.1%, or 123.694%)

    • #116036

      No need for GREP.
      If you select *only* the % sign, and then apply Character Direction = right-to-left, that should do it.

    • #116037

      To add to the above, there’s another method:
      If you change the text language to Arabic, the % sign moves to the left end of the digits from the right end.

    • #116040
      David Blatner
      Keymaster

      Ah! Thank you, Chris. That is a much more elegant solution. :-)

    • #116047
      Abdus Samad
      Member

      Thank you guys, the main problem was I am using an arabic font name ” GE family ” which doesn’t have english number and client need to show the digits in english instead of arabic , so i set up a class file in GREP style to convert all the digit to english using english font which automatically changed the RTL direction to LTR so the percentage symbol flipped and became like english, where as the client need the percentage to be RTL.

      But i found a better solution, i changed the digit style to an arabic font which had english numeric and did the job :)

      Thank you guys for your help :)

Viewing 6 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads