1
0
mirror of https://github.com/google/fonts.git synced 2024-12-19 06:41:31 +03:00
fonts/cc-by-sa/knowledge/glossary/terms/alignment_justification/content.md
2022-03-28 12:02:37 -07:00

1.5 KiB
Raw Blame History

In paragraphs of (western) text, alignment refers to the invisible vertical line(s) implied by a block of type, which aids readability. When type is left-aligned, each new line begins from the same point on the X axis.

Three blocks of text, each with different alignment: The first is left-aligned, the second center-aligned, and the third right-aligned. Each block has a line showing where the alignment resides.

If the text is right-aligned, the invisible vertical line sits to the right-hand side of the paragraph; if the text is center-aligned, the line sits in the center of the paragraph. Its possible to have the text aligned to both left and right; this is known as justified text.

A justified block of text, with lines showing how the text aligns to both left and right sides. The last line, consisting of just one word, is an orphan and is highlighted.

Because justification adds space between words, it often creates unsightly gaps and rivers in the text. This can be avoided with the liberal use of hyphenation to avoid word spaces that are too wide or too long.

Justified text can appear neater because of its uniform alignment. However, the last line of a paragraph in justified text will not be justified; this makes the occurrence of orphans more problematic, since they interrupt this perceived neatness.