I am trying to set very long lines of computer output that have the form:

text(text, "this is text that may span several lines and that may have only one or two spaces in it, or perhaps none") = text

InDesign's paragraph formatter, of course, tries to break on the spaces, but I want to break at the paragraph width, no matter what. So, to use a more compact example, if the text I'm trying to set looks like "abcde fghij klmnopqrstuvwxyz", then:

[--paragraph width--]  ...what I want (break on width)
abcde fghij klmnopqrs

[--paragraph width--]  ...what I get (break on space)
abcde fghij

How can I get InDesign to break at such a point that it considers "mid-word"?

  • Hi Cary, welcome to GDSE and thanks for your question. If you want to know more about the site, please see the help center or ping one of us in the Graphic Design Chat. Keep contributing and enjoy the site! – Vincent Nov 3 '15 at 16:17
  • I have tried creating a GREP style to use a "no break" character style upon the pattern ".{168}", but that results in an apparently infinitely long overset text problem. The number 168 is magic because my frame will hold 168 characters in the fixed-pitch font I'm using. I've tried smaller numbers, resulting in the same apparent outcome. – Cary Millsap Nov 26 '15 at 7:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.