Percentage rules and line breaks in body text
Texts that grow with the content and break cleanly.
What it's about
- A percentage rule drops one font size once the text fills 95 % of the width.
- If that's not enough, the text wraps – the frame needs height for a second line.
- Body text that's too long only shows up for the buyer, as a red message with field and page.
- Work out the frame height first: lines × leading.
Transcript
Click a timestamp to jump to that point in the video.
- Three headlines, one box. The short one is set in 24 points. The slightly longer one gets smaller and stays on one line. And the very long one wraps onto a second line – the frame has room for it.
- A percentage rule at the start of the content does this. If the headline fills more than 95 percent of the width, it's set in 19 instead of 24 points. Nothing shrinks gradually: if the smaller size isn't enough, the text wraps. That's why the frame is two lines tall.
- In the layouter, select the Headline box: base size 24 points, height 21 millimeters.
- Under Inhalt bearbeiten – this button stays in German – you'll find the rule: hash, 95, the new font size, then the variable.
- The trap is the body text. If it runs longer than the frame, the rest is simply missing – and in the back end you see nothing. Only the buyer gets the red message, with field and page. So do the math first: 13 lines at 15 points of leading is just under 69 millimeters. And test with the longest text there could ever be.
- Here's how that looks live.
- One size smaller, then wrap – with enough height for it.
Also in: Print templatesRules & automationAdvanced course: print templates