: InDesign: Limit the minimal number of characters in the last line of the paragraph Is it possible to automatically limit the minimal number of characters in the last line of the paragraph, so
Is it possible to automatically limit the minimal number of characters in the last line of the paragraph, so that when InDesign Paragraph Composer does its job and hyphenates the paragraph, it ensures that the last line is at least N character wide?
More posts by @Chiappetta793
1 Comments
Sorted by latest first Latest Oldest Best
Eureka! Create a new character style NoBreak based on [None]. Tick "No Break" for it in "Basic Character Formats". Then in your paragraph styles add a new GREP style so that apply NoBreak style to text .{10}$. Instead of 10 fill in any number you need as a minimum number of characters in the last line of the paragraph. That's it!
To make the solution more general, one can change regular expression to something like (?<=.{55}).{10}$. Instead of 55 fill in an average width of a line in your paragraph measured in characters. In this case the style will only be applied if a paragraph has more than or equal to 55 + 10 characters in it.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.