GREP or Script to get first character

Learn / Forums / General InDesign Topics / GREP or Script to get first character

Viewing 1 reply thread
  • Author
    Posts
    • #91419

      Hi.

      My page layout has a section part like: [T] Travel

      And this “T” is in white over a circle. So I always have the section name in some particular color, and its first letter in a colored circle bafore it.

      Is there a way to make it automatically get the first character and put it into the circle? I was trying to do something like variables, getting the text from the first block using a specific style, but didn’t get to anywhere.

      Any suggestion?

      Thanks,
      Luiz

    • #91430

      Luiz,

      I’m curious about this one too. We do “Drop Caps” on our lead paragraph so that the first character is three lines high. If you look in “Paragraph Styles” you’ll find Drop caps and there is a third drop-down that allows you to set a character style. Perhaps you are using a character style to produce the colored circle? If so, I think that could be the answer.

      Hope this helps.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.
>