Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Underline and Overline

Enthusiast ,
Nov 27, 2024 Nov 27, 2024

Hi,

 

I have some text in arabic language. I need some dots to be underline and some to be overline.

Issue is that the dots are zerowidth characters. (Screenshot attached). I am using underline feature but I need the underline OR overline only under or over the text.  (Screenshot attached)

 

How can I achieve this? Paragraph rules wont work here.

TOPICS
How to
473
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 27, 2024 Nov 27, 2024

What's wrong with Character Style Underline setting? 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 27, 2024 Nov 27, 2024
Yes. The current output screenshot file attached has character style
applied. The required screenshot attached has been done manually.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 27, 2024 Nov 27, 2024

That's an odd requirement. You're right, the Paragraph Rule won't work. Neither will the Underline tool, at least as you've stated it. So, what are your actual requirements here? You could simulate this appearance with e.g. each zero-width character padded out with spaces on each side, with the underline applied to the spaces as well. You have each diacritic separated with an em space in your sample; why not this? Underlined spaces are Totally Normal Spaces, and the separator spaces are en-spaces:

 

spaces.png

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Nov 27, 2024 Nov 27, 2024

@Joel Cherney Thank you so much for the tip. I would have followed the same step. Issue is they are separated by Tabs and not em-space. I used em-space just for example so that it is readable by the adobe community here.

One alternative I see is that make a separate textframe for each diacritic or use tables. This is my last preference.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 28, 2024 Nov 28, 2024
LATEST

Well, there are still lots of other ways, which might be more or less useful depending on what you're trying to do with this. If they're separated with tabs, and you only have a few of them, it's easy enough to manually add spaces on either side of your diacritics. If you have lots of diacritics, it'd be easy to write a little GREP query that would only find Arabic diacritics and replace them with diacritics with spaces on either side.

 

oneway.gif

 

If the method of padding  your diacritics with underlineable spaces won't work, then you could just as easily manually add anchored objects:

 

ANCH.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines