({{, (RefLink[LineSpacing, paclet:ref/LineSpacing])
is an option for (RefLink[Style, paclet:ref/Style]) and (RefLink[Cell, paclet:ref/Cell]) that specifies the spacing between successive lines of text. }})

OpenersNotesSection(Spacer1)Details

(RefLink[LineSpacing, paclet:ref/LineSpacing])->{c,0} leaves space so that the total height of each line is c times the height of its contents.

(RefLink[LineSpacing, paclet:ref/LineSpacing])->{0,n} makes the total height of each line exactly n printer's points.

(RefLink[LineSpacing, paclet:ref/LineSpacing])->{c,n} makes the total height c times the height of the contents plus n printer's points.

(RefLink[LineSpacing, paclet:ref/LineSpacing])->{c,n,max} limits the amount of extra space to be max times the height of a single line of ordinary text in the current font.

A typical default setting for text is (RefLink[LineSpacing, paclet:ref/LineSpacing])->{1,1}, which leaves space for the contents of the line, plus 1 printer's point (approximately (1/72) of an inch) of extra space.

(RefLink[LineSpacing, paclet:ref/LineSpacing])->{2,0} makes text "double spaced".

(RefLink[LineSpacing, paclet:ref/LineSpacing])->{1,-n} tightens text by n printer's points.

(RefLink[LineSpacing, paclet:ref/LineSpacing]) applies both to ordinary text and Wolfram Language expressions, including graphics.

A typical default setting for general Wolfram Language expressions is (RefLink[LineSpacing, paclet:ref/LineSpacing])->{1.25,0,2}.

In ordinary text, (RefLink[LineSpacing, paclet:ref/LineSpacing]) determines the spacing between lines produced by automatic linebreaking. For lines produced by explicit newline characters, (RefLink[ParagraphSpacing, paclet:ref/ParagraphSpacing]) is added.

In Wolfram Language expressions, (RefLink[LineSpacing, paclet:ref/LineSpacing]) is used whether lines are produced by automatic linebreaking or by explicit newline characters.

Extra space specified by (RefLink[LineSpacing, paclet:ref/LineSpacing]) is inserted equally above and below a line, except that no extra space is inserted before the first line or after the last line of an expression or cell.

OpenersPrimaryExamplesSection(Spacer1)Examples  (5)

OpenersExampleSection0(Spacer1)Basic Examples  (3)

Double spacing:

t=StringJoin@@Table["abcde ",{40}];

Framed@Text[Style[t,LineSpacing->{2,0}]]

Make the height of each line 10 printer's points:

t=StringJoin@@Table["abcde ",{40}];

Framed@Text[Style[t,LineSpacing->{0,10}]]

Single spacing with 5 printer's points of extra space added to each line:

t=StringJoin@@Table["abcde ",{40}];

Framed@Text[Style[t,LineSpacing->{1,5}]]

OpenersExampleSection1(Spacer1)Scope  (2)

Limit the line space to be half the height of a single line:

t=StringJoin@@Table["abcde ",{40}];

Framed@Text[Style[t,LineSpacing->{2,0,1/2}]]

Tighten text by 3 printer's points:

Framed@Text[Style[t,LineSpacing->{1,-3}]]

Create a notebook with double spacing:

nb=CreateDocument[ExpressionCell[{},"Input",LineSpacing->{2,0}]];

When you press the (Key0[MacOSXreturnenter]) key, the Wolfram System leaves two times the height of each line:

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[FontSize, paclet:ref/FontSize])  ▪  (RefLink[ParagraphSpacing, paclet:ref/ParagraphSpacing])}})}})

({{DocumentationFooterIconsRelatedTutorial.png, ({{Tutorials}, {▪(RefLinkPlain[Text and Font Options, paclet:tutorial/TextAndFontOptions])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Text Layout Options, paclet:guide/TextLayoutOptions])}, {▪(RefLinkPlain[Text Styling, paclet:guide/TextStyling])}, {▪(RefLinkPlain[Stylesheets, paclet:guide/Stylesheets])}})}})