||It has been suggested that this article be merged into Typographic alignment. (Discuss) Proposed since May 2013.|
In typesetting, justification (sometimes referred to as 'full justification') is the typographic alignment setting of text or images within a column or "measure" to align along both the left and right margin. Text set this way is said to be "justified."
To justify means to adjust the length of the line so that it is flush left and right on the measure. Type in latin alphabets is commonly set either justified or FL/RR (flush left, ragged right).
In justified text, the spaces between words, and, to a far lesser extent, between glyphs or letters (known as “tracking”), are stretched or sometimes compressed in order to make the text align with both the left and right margins. When using justification, it is customary to treat the last line of a paragraph separately by left or right aligning it, depending on the language direction. Lines in which the spaces have been stretched beyond their normal width are called loose lines, while those whose spaces have been compressed are called tight lines.
The following table displays the difference between a justified (flush left and flush right) and a flush left (and ragged right) text.
Justified (flush left and right) Flush left, ragged right Thy father was delighted and cried out to the servant, ‘Give him a hundred and three gold pieces with a robe of honour!’ The man obeyed his orders, and I awaited an auspicious moment, when I blooded him; and he did not baulk me; nay he thanked me and I was also thanked and praised by all present. When the blood-letting was over I had no power to keep silence and asked him, ‘By God, O my lord, what made thee say to the servant, Give him an hundred and three dinars?’; and he answered, ‘One dinar was for the astrological observation, another for thy pleasant conversation, the third for the phlebotomisation, and the remaining hundred and the dress were for thy verses in my commendation.’” “May God show small mercy to my father,” exclaimed I, “for knowing the like of thee.” Thy father was delighted and cried out to the servant, ‘Give him a hundred and three gold pieces with a robe of honour!’ The man obeyed his orders, and I awaited an auspicious moment, when I blooded him; and he did not baulk me; nay he thanked me and I was also thanked and praised by all present. When the blood-letting was over I had no power to keep silence and asked him, ‘By God, O my lord, what made thee say to the servant, Give him an hundred and three dinars?’; and he answered, ‘One dinar was for the astrological observation, another for thy pleasant conversation, the third for the phlebotomisation, and the remaining hundred and the dress were for thy verses in my commendation.’” “May God show small mercy to my father,” exclaimed I, “for knowing the like of thee.”
It was common for early word processing systems to use monospaced fonts, and packages designed for these systems often allowed text to be justified by inserting extra spaces between words in the shorter lines. This has the disadvantage that it tends to lead to very uneven spaces between words.
The following is an example of justified text in a monospaced font, one in which each character, including the whitespace character, occupies the same amount of horizontal space:
And indeed thou shalt never find a man better versed in affairs than I, and I am here standing on my feet to serve thee. I am not vexed with thee: why shouldest thou be vexed with me? But whatever happen I will bear patiently with thee in memory of the much kindness thy father shewed me." "By God," cried I, "O thou with tongue long as the tail of a jackass, thou persistest in pestering me with thy prate and thou becomest more longsome in thy long speeches, when all I want of thee is to shave my head and wend thy way!"
Justification sometimes leads to typographic anomalies. One example: when justification is used in narrow columns, extremely large spaces may appear between words on lines with only two or three words.
Another example: when the spaces between words line up approximately above one another in several loose lines, a distracting river of white space may appear. Rivers appear in right-aligned, left-aligned and centered settings too, but are more likely to appear in justified text, because of the additional word spacing. Since there is no added white space built into a typical full stop (period), other than that above the full stop itself, full stops only marginally contribute to the river effect.
At one time, common word-processing software adjusted only the spacing between words, which was a source of the river problem. Modern word processing packages and professional publishing software significantly reduce the river effect by adjusting also the spacing between characters. Additionally, these systems use advanced digital typography techniques such as automatically choosing among different glyphs for the same character and slightly stretching or shrinking the character in order to better fill the line. The technique of glyph scaling or microtypography has been implemented by Adobe InDesign and more recent versions of pdfTeX.
The problem of loose lines is reduced by using hyphenation. With older typesetting systems and WYSIWYG word processors, this was done manually: the compositor or author added hyphenation on a case-by-case basis. Currently, most typesetting systems (also called layout programs) and modern word processors hyphenate automatically, using a hyphenation algorithm. In addition, professional typesetting programs almost always provide for the use of an exception dictionary, in part because no algorithm hyphenates all words correctly, and in part because different publishers will follow different dictionaries. Different publishers may also have different rules about permissible hyphenation. Most publishers follow a basic system such as the Chicago Manual of Style or Oxford style, but will overlay their own "house style," which further restrict permissible hyphenation.
People with dyslexia (particularly Scotopic Sensitivity Syndrome) find that justification helps with cognitive understanding. Judicious hyphenation is also reported to be beneficial for dyslexics.[clarification needed]
Justification has been the preferred setting of type in many Western languages through the history of movable type. This is due to the classic Western manuscript book page being built of a column or two columns, which is considered to look "best" if it is even-margined on the left and right. The classical Western column did not rigorously justify, but came as close as feasible when the skill of the penman and the character of the manuscript permitted. Historically, both scribal and typesetting traditions took advantage of abbreviations (sigla), ligatures, and swash to help maintain the rhythm and colour of a justified line.
Its use has only waned somewhat since the early 20th century through the advocacy of the typographer Jan Tschichold's book Asymmetric Typography and the freer typographic treatment of the Bauhaus, Dada, and Russian constructivist movements.
Not all "flush left" settings in traditional typography were identical. In flush left text, words are separated on a line by the default word space built into the font.
Continuous casting typesetting systems such as the Linotype were able to reduce the jaggedness of the right-hand sides of adjacent lines of flush left composition by inserting self-adjusting space bands between words to evenly distribute white space, taking excessive space that would have occurred at the end of the line and redistributing it between words. This feature is also available in desktop publishing systems, although most now default to more sophisticated approaches.
Graphic designers and typesetters using desktop systems also have the option, though rarely used, to adjust word and letter spacing, or "tracking", on a manual line-by-line basis to achieve more even overall spacing. Some modern desktop publishing programs, such as Adobe InDesign, evaluate the effects of all the different possible line-break choices on the entire paragraph, to choose the one that creates the least variance from the ideal spacing while justifying the lines (so as to reduce rivers); this also gives the least uneven edge when set with a ragged margin.