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

Insert hairspace between two characters in CS5

Return to Member Forum

  • Author
    Posts
    • #66852
      carrie walker
      Participant

      I work in publishing, and I’m currently working with a 400-page-book manuscript in CS 5.5. It has a lot of dialect use, so I’m encountering problems with internal apostrophes being too tightly spaced, especially usage of ‘d (as in you’d). I just started dabbling with GREP codes, but I haven’t found one yet that works for my particular issue.

      I want to input a code that will insert a hair space between a letter and an apostrophe, every time it occurs. For example, a hairspace inserted before the apostrophe in every ‘d word. I’ve found ways to input the hairspace itself automatically, but I haven’t been able to keep the existing letter on the left side and the apostrophe on the right.

      Any tips or guidance would be greatly appreciated.

    • #66855

      Hey Carrie

      I’m in book publishing, and I admit I stink at GREP. However, I have come across these very things. And there are a few options.

      Now, if you are using metric kerning, you could try to do a regular search and replace. Search for any letter/apostrope/any letter and replace with optical kerning. Sometimes that is enough to give the desired spacing. If it’s not enough, here’s what I do.

      Regular Search and replace:

      1) Search for any letter/apostophe/any letter and replace with the color red.
      2) Search for red apostrophe and replace with thin space + apostrophe [don’t forget to add that apostrophe]
      3) Search for red and replace with black

      Basically you will have turned red every instance of a letter preceded by an apostrophe and the letter following it. So you will simply add that space before the red apostrophe. And then since you won’t want the red any longer you change all red back to black.

      If you are doing a book in color, then you’d want to subsitute a different color.

      Hope that’s a good workaround for you.

      • #66866
        carrie walker
        Participant

        Dwayne, the use of optical kerning made quite a bit of difference. Thank you for the suggestion! We’re using Minion Pro medium as the book text font and it looks much better now.

        If anyone still has any suggestions on how to accomplish this via a GREP code, I’d still be very interested to learn! I’m sure it’s going to come up again.

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