Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Notebooks and Documents > Notebook Formatting & Styling > Text Styling > Text Layout Options > LineSpacing >

LineSpacing

LineSpacing
is an option for Style and Cell that specifies the spacing between successive lines of text.
  • LineSpacing leaves space so that the total height of each line is c times the height of its contents.
  • LineSpacing makes the total height of each line exactly n printer's points.
  • LineSpacing makes the total height c times the height of the contents plus n printer's points.
  • LineSpacing 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, which leaves space for the contents of the line, plus 1 printer's point (approximately of an inch) of extra space.
  • LineSpacing applies both to ordinary text and Mathematica expressions, including graphics.
  • A typical default setting for general Mathematica expressions is LineSpacing.
  • 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:
Make the height of each line 10 printer's points:
Single spacing with 5 printer's points of extra space added to each line:
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]=
Limit the line space to be half the height of a single line:
Tighten text by 3 printer's points:
Create a notebook with double spacing:
When you press the Enter key, Mathematica leaves two times the height of each line:
New in 3 | Last modified in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF