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

line by line custom text backfill

Return to Member Forum

  • Author
    Posts
    • #54852
      zackaders
      Member

      Hello

      does anyone know of a command, script, or plugin to do a custom text backfill based on the paragraph alignment? (hard to explain, but for ex: if you type a paragraph and select all the text, the background fill would be the same shape as your highlighted selection – get it?) I have been doing this manually by drawing a shape behind the text, but it is a huge pain to change the text background shape every time the text is edited.

      thanks

      zachary

    • #54853
      Anonymous
      Inactive

      How about using a Strikethrough, just increase the thickness of the Strikethrough to encompass the text.

    • #54854
      Tom Pardy
      Member

      Or you could use a rule (above or below) and adjust its thickness and offset to where you want it. If you then made a character style of that, you could simply select the text and apply the character style.

    • #54855

      I agree with Eugene and Furry. But, if it's not throughout and maybe something like boxed material or sidebars that flow with the text, you could try to make a single-cell table out of those paragraphs with the shading. When text is added or deleted, it will resize.

      If you use the character style sheet method for the strikethrough or rule above below, I'd nest through a hard return. Of course, you'd have to have a separate paragraph style sheet for that shaded material.

    • #54917
      zackaders
      Member

      Thanks a lot for the replies. I tried the strikethrough style, which was pretty clever, but the strikethrough is in front of the text, so I used an underline with an offset which was almost perfect. The only issue is that the aligned edge (in this case, Left) could have a little more white space (see the screenshot below). The right edge is perfect, it extends out beyond the text just enough. Changing the alignment and tab values just moves that edge along with the text, unfortunately. Can anyone think of a workaround? Almost there…

      Thanks again!

    • #54918
      Eelco
      Participant

      If you only got 1 line sentences you could you the paragraph rules (below or above).

    • #54919
      Anonymous
      Inactive

      Unfortunately the that is something that can't be avoided when underlining, you'd have to add a soft return to each line of text then insert a space after each soft return.

      I can't think of another way that you could it.

    • #54921
      zackaders
      Member

      Well, I think I'm just going to draw a vertical line along that edge and group it with the text. Then, just extend it down if i add text. Thanks for the help

    • #54923
      Eelco
      Participant

      Last thing I could come up with is finding the beginning of every line with GREP and insert a em-dash or something?

    • #54928

      No joy there. GREP's “start of line” and “end of line” markers are for paragraphs, not for single lines.

      You could make the entire thing a table — one single row to auto-grow, two columns, where the left one has a solid white fill. But I bet you are going to say, “Doesn't work — single cells do not break over pages!”

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