6 Balance Ragged Lines
While no magic bullet, when incorporated into a Paragraph Style definition, this feature is useful for preventing unequal line lengths in heading and subheadings. Of course, it doesn’t know how to break for sense, so you still have to manually check your headlines and insert line breaks where necessary to move words down to the next line, but Balance Ragged Lines will definitely reduce your workload.
Figure 6a, 6b and 6c Balance Ragged Lines is part of the Indents and Spacing options of a paragraph style (A). Turning Balance Ragged Lines on for heading and subheading styles prevents them from being "top heavy" (B). However, in example C, it is clear that it isn’t always enough. Even though Balance Ragged Lines is on, it is necessary to break for sense and insert a line break to move "and" down to the next line.