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

GREP for automatic Tabs?

Tagged: ,

Return to Member Forum

  • Author
    Posts
    • #100677
      Rheta Thola
      Member

      I want to automate set tabs for lines and I feel like there should be a GREP for this.

      Here is what I want/need:

      I need the first line to have a number, then have the words after to be tabbed. The the next line/ paragraph to tabbed to a different distance. Then I need it to repeat to the next line. Here is an example of how I want it to look:

      1 Your love, for ever will I sing; *
      from age to age my mouth will proclaim your faithfulness.
      2 For I am persuaded that your love is established for ever; *

      Is there a way to do this?

      Thanks!

    • #100779
      Masood Ahmad
      Participant

      Hi Rheta, Why don’t you use the Next Style feature and create your paragraph styles with required indent and number-lists.

      However, as per your brief, here are my findings. Check and let me know if it works for you.

      GREP Find/Change:
      Step1:
      Find What: ^(\d)(\x{0020})(.+)
      Change to: $1$3

      Step2:
      GREP Find/Change:
      Find What: ^(\d.+\r)(.+)
      Change to: $1$2

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