This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

LineSpacing

Updated In 6 Graphic
LineSpacing
is an option for Style and Cell which specifies the spacing between successive lines of text.
  • LineSpacing->{c, 0} leaves space so that the total height of each line is c times the height of its contents.
  • LineSpacing->{0, n} makes the total height of each line exactly n printer's points.
  • LineSpacing->{c, n} makes the total height c times the height of the contents plus n printer's points.
  • 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 LineSpacing->{1, 1}, which leaves space for the contents of the line, plus 1 printer's point (approximately of an inch) of extra space.
  • LineSpacing->{2, 0} makes text "double spaced."
  • LineSpacing->{1, -n} tightens text by n printer's points.
  • LineSpacing applies both to ordinary text and Mathematica expressions, including graphics.
  • A typical default setting for general Mathematica expressions is LineSpacing->{1.25, 0, 2}.
  • In ordinary text, LineSpacing determines the spacing between lines produced by automatic linebreaking. For lines produced by explicit newline characters, ParagraphSpacing is added.
  • In Mathematica expressions, LineSpacing is used whether lines are produced by automatic linebreaking or by explicit newline characters.
  • Extra space specified by 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.
Double spacing:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
 
Make the height of each line 10 printer's points:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
 
Single spacing with 5 printer's points of extra space added to each line:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
New in 3 | Last modified in 6