In justified text, each line is aligned both left and right. Stylo achieves this by increasing the spacing between words. This doesn't always work: if a word stands alone in the line, there is no word spacing that Stylo could stretch. The word remains on the left, leaving a gap on the right. And if a line has only two or three words, large gaps appear between them.
With letter spacing, Stylo distributes the missing width to the spaces between the letters as well. The line becomes full without noticeable gaps. This is set in the paragraph format, under the Flexibility tab.
Purpose of Letter Spacing
- Single long words. In narrow columns, such as in classified ads, a long word like "attic apartment" often stands alone in the line. Spaced out, it fills the line like its neighbors.
- Stacked headings. A heading made up of several short lines, such as "SUMMER" ↵ "CONCERT" ↵ "BY THE LAKE", should form a clean block. Each line is spaced out to be as wide as the frame, at the same font size.
- More uniform justification. In narrow columns, the stretching is distributed across word and letter spacing, instead of creating large gaps between words.
- With limits. You set how far apart the letters can be spaced. If that is not enough, the remainder remains as a gap. This is better than stretching a word to the point of being unreadable.
The text itself, the font, and the line break do not change. Stylo simply redistributes the width within the already wrapped line.
Word Spacing and Letter Spacing
A justified line that is narrower than the frame has a gap. There are two places for this gap:
- Word spacing: the spaces between the words. This is the normal justified text. How far Stylo should stretch them is set in the "Exclusion" tab under Word Spacing (%), value Maximum.
- Letter spacing: the spaces between the letters. This is the spacing from the "Flexibility" tab.
A word that stands alone in the line can only be spaced. With multiple words, Stylo first fills the word spacing up to the "Maximum" value, then it spaces the letters up to the limit, and whatever is still missing goes back into the word spacing. This way, the line in justified text is always full.
Opening the "Flexibility" Tab
- Open the paragraph format dialog, tab Flexibility (behind "Fit").
- In the "Paragraph" palette, the entry Flexibility leads directly there.
- Or via the command palette: Ctrl+K (Mac: ⌘K), enter "Flexibility" or "spacing".
In the paragraph format catalog, the settings apply to all paragraphs of this format, while for an individual paragraph, only for that one.
The "Flexibility" Tab
Justified Text: Letter Spacing
Here you choose which lines will be spaced:
| Selection | What is Spaced |
|---|---|
| off (default) | nothing; justified text only stretches the word spacing |
| only single words | lines that contain only one word |
| only the last line | the last line of the paragraph and any line before a line break with Shift+Enter |
| all lines | every line that justified text stretches |
Spacing occurs only in justified text, that is, with the alignment Block, Block-Center, Block-Right, or Block-Block (Flexibility tab). Stylo only stretches the last line of a paragraph in Block-Block. Therefore, "only the last line" only works there.
Tip: "Only single words" is the most conservative choice. It only changes the lines that would have a gap without spacing and leaves the rest of the text as it is.
Single Word, Not Enough Space
A single word is spaced by Stylo only up to the limit "further to". If there is still a gap afterwards, this setting decides where the word stands:
- left: The word starts at the left edge, the gap remains on the right.
- center: The word is in the center, the gap is distributed on both sides.
Letter Spacing (%): Further To
The limit for spacing: This is how much space Stylo may add between two letters at most, measured against the font size. With a font size of 10 pt and "further to 10 %", the letters will be spaced at most 1 pt apart.
- The field is grayed out as long as "Letter Spacing" is set to "off".
- If you enable spacing and the field is empty, the tab 15 % is suggested.
- Empty or 0 means: without its own limit. Stylo then spaces up to 100 % of the font size, which is usually too much.
- For body text, values of 5 to 15 % have proven effective, for headings even more.
The limit applies to everything that is enabled above. It does not enable anything by itself.
Letter Spacing (%): Tighter To
This field is currently grayed out. Spacing only pushes letters apart, never together. The field is intended for future functions that will also set text tighter.
When Spacing Does Not Occur
Even when spacing is enabled, Stylo skips some lines:
- Lines with a tabulator,
- Lines with "Indent up to here",
- Lines with text tabulators spanning multiple paragraphs ("Align Tabulators"),
- Lines in text flow that split an object into several pieces,
- Lines in Indian scripts (for example, Devanagari), whose characters would lose their shape when spaced,
- Lines that are already full or too full.
The initial at the beginning of the paragraph retains its own spacing and is not spaced. The lines that were skipped are shown in the tab's info line (see "See What Happened").
Examples
The images show the text on the left without and with the first setting, and on the right with the second. Below it states what the info line of the tab reports. The calculations are based on the Roboto font, without hyphenation, and the text frame is dashed. How much spacing is applied depends on the frame width and font in each case.
1. A Long Word Alone in the Line
| Setting | Value |
|---|---|
| Alignment (Basis tab) | Block |
| Letter Spacing | only single words |
| further to | 15 % |
Text in 11 pt: "For rent: bright attic apartment with south-facing balcony, fitted kitchen, and underground parking space in a quiet location near the city park." Without spacing, "attic apartment" is left-aligned, leaving a gap on the right. With spacing, the letters are spaced 9 % of the font size apart, filling the line. The other lines remain as they are.
2. When the Space is Not Enough
Same text, but with a small limit:
| Setting | Value |
|---|---|
| Letter Spacing | only single words |
| further to | 4 % |
| Single Word, Not Enough Space | left or center |
With 4 %, spacing is not enough to fill the line. Stylo spaces up to the limit and leaves the rest as a gap: left for "left", distributed on both sides for "center". The info line reports: "for 1 line(s), the space is not enough".
3. Stacked Heading with "Only the Last Line"
| Setting | Value |
|---|---|
| Alignment | Block-Block |
| Letter Spacing | only the last line |
| further to | 20 % |
Text: "SUMMER" ↵ "CONCERT" ↵ "BY THE LAKE" in 30 pt bold, the lines separated by Shift+Enter. Each of these lines is considered the "last line", and Block-Block stretches them to full width. Without spacing, "SUMMER" and "CONCERT" remain left-aligned because they have no word spacing, and there is a large gap in the middle for "BY THE LAKE". With spacing, all three lines form a block, with letters spaced up to 20 % apart.
Unlike "Fill Line" (Fit tab), each line retains its font size. If you want each line to fill the frame by size, use "Fill Line". If all lines should remain the same size, use spacing.
4. Even Justified Text in a Narrow Column
| Setting | Value |
|---|---|
| Alignment | Block |
| Letter Spacing | all lines |
| further to | 10 % |
| Word Spacing Maximum (Exclusion tab) | 120 % |
Text in 10 pt: "On Saturday, the local association invites you to the autumn market in the town square. …" Without spacing, all the stretching goes into the word spacing, creating noticeable gaps in some lines. With "all lines", Stylo first stretches the word spacing up to 120 % and distributes the rest to the letters, here at most 6 %. The gray of the column becomes more uniform.
Important: When using "all lines", allow the word spacing to grow a bit (Maximum greater than Optimal). If both are set to the same value, as is the default, the stretching of each line will first go into the letters. The tab then warns: "Word Spacing Maximum = Optimal (Exclusion tab): Every stretched line will be spaced."
See What Happened
In the "Flexibility" Tab, there is an info line for the paragraph at the text cursor (for a text selection for the first marked paragraph):
- "Paragraph at Cursor: Letters spaced in 2 line(s), up to +12 %": This many lines are spaced, and this far the letters are spaced apart at most.
- "… – for 1 line(s), the space is not enough": In this line, there remains a gap despite spacing. Increase "further to" if you do not want that.
- "1 line remains unspaced (tabulator)": One line would have been spaced, but it falls under an exception. The most common reason is noted in parentheses.
The selection applies to the entire paragraph format, the numbers only for the paragraph at the cursor.
The tab also provides hints when a setting cannot take effect:
- "Only works in justified text (Basis tab).": The paragraph is not aligned in justified text.
- "Only the last line" only works in "Block-Block".
- "The last line is only stretched in "Block-Block": In "Block", the last line remains left-aligned, even if it contains only one word. This is intentional; switch to "Block-Block" if it should also have full width.
In the Paragraph Format Catalog, the tooltip for "Letter Spacing" names the exceptions where spacing does not occur.
Frequently Asked Questions
I have enabled spacing, but nothing happens. Check the alignment in the Basis tab: Spacing only occurs in justified text. For "only the last line", it must be "Block-Block". Or the line falls under an exception (tabulator, "Indent up to here", text flow ...); the info line states the reason.
The single word does not fill the line completely. The limit "further to" has been reached. Increase the value, or set "Single Word, Not Enough Space" to "center", then the gap will appear more balanced.
The last line of my paragraph is not spaced, even though it contains only one word. In "Block", "Block-Center", and "Block-Right", the last line is not stretched, and therefore not spaced. This is common in justified text. Only in "Block-Block" does it also receive full width.
With "all lines", my text looks too airy. Lower "further to" (e.g., to 5 %) and allow the word spacing to grow a bit: Exclusion tab, Word Spacing Maximum for example 120 %.
Does spacing change the line break? No. The words remain in the same lines as before; Stylo simply redistributes the width within the line differently.
What is the difference to "Fit Text"? "Fit Text" changes font shape and size to fit or fill the text in its place. Spacing only changes the spaces between letters; the font remains the same size and width.
Comments
0 comments
Please sign in to leave a comment.