Mobile app version of vmapp.org
Login or Join
Hamm6457569

: Practically making interrupted underlines that don't clash with descenders I'm looking for a practical way to achieve pretty underlining (interrupted at descenders) in InDesign or Illustrator. See

@Hamm6457569

Posted in: #AdobeIllustrator #AdobeIndesign #IllustratorEffects #ObjectStyles #Typography

I'm looking for a practical way to achieve pretty underlining (interrupted at descenders) in InDesign or Illustrator.

See Should underline clash with text descenders?

I've tried to fake it by applying a white stroke to the text, but the way that cuts into the underline is too ugly to use. Because I'm trying to use it for large text with a thick underline that's also round-capped.



Simply removing the underline does interrupt nicely around letter like g, but leaves too much of a gap for p



If this can be achieved at all, it's got to be something only one of you wizards could think up.

It really needs to be an InDesign & Illustrator feature though (here's the link to Adobe's wishform). Like text-decoration-skip: ink; from CSS3 needs browser support.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamm6457569

1 Comments

Sorted by latest first Latest Oldest Best

 

@Turnbaugh909

If you don't mind changing the source text you can remove the underline from characters with descenders and use spaces to make up the missing underline where needed. If you only have a handful of places where you need to do this then you can do it manually pretty easily, for anything longer you can (in InDesign) set GREP styles and use some GREP find & replace queries to do the hard work for you.

Manually


Underline your text.
Add spaces after the "p"s.
Remove underline from characters with descenders.
Kern the "p"+"space" negatively to bring the underline under the "p"s.




Semi-automated (InDesign only)


First add the underline to your paragraph style and create a character style with no underline for your descender characters.
Add spaces after you "p"s. You can use a GREP find & replace to find only "p"s that don't already have a space after them (so you can reuse the query on the same text if your text changes) using something like:


Duplicate your no-underline character style for the "p"s. Set up some GREP styles within your paragraph style to apply the correct character styles:


Now you can add some negative tracking on your "p"s to pull in the spaces (and the extra underline) to fill the gap under the "p"s.




You could expand this to a number of character styles and saved GREP find & replace queries, for example adding a space before a "y" and tracking the space to pull the "y" in. Once you have your styles and find & replace queries set up all you need to do is rerun the queries every time your text changes.

There are no GREP styles in Illustrator so you would have to do this manually there but this should work as a semi-automated solution in InDesign (although it is a bit "hacky").

Note also, I'm using CS6 so I'm not sure if there's anything new in CC that makes this easier.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme