Tabs: aligning values
Phone, fax and email line up neatly – with a tab stop in points.
What it's about
- One tab stop in points at the start of the box, <T> in every line.
- Convert mm to points: × 72 ÷ 25.4.
- The longest label must end before the stop.
- Don't put the stop on a line of its own.
Transcript
Click a timestamp to jump to that point in the video.
- Phone, mobile and email: the values line up exactly, even though the labels have different lengths.
- At the start of the first line, tab in brackets sets a tab stop. The value is in points, measured from the left edge of the box. Here thirty-four points, which is twelve millimeters. The capital T in angle brackets jumps to this stop in every line.
- To convert millimeters: multiply by seventy-two, then divide by twenty-five point four. In the code, use a decimal point.
- In the back end: layouter, box Contact, Inhalt bearbeiten. You'll also find the stop and the T under Insert option: Tabulator with value, and Tabulator.
- Two traps. First: the longest label has to end before the stop. Here the stop is at seven point two millimeters. Email fits, Phone and Mobile are too long. Then T doesn't jump, and the number sticks to the label.
- Second: don't put the stop on a line of its own. That line stays empty, and the whole text slides down one line.
- Here's how it looks live.
- One stop in points, one T per line – and everything lines up.