This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 Documentation / Mathematica / Built-in Functions / New in Version 3.0 / Notebooks  /

  • TextJustification is an option for Cell which specifies how much lines of text can be stretched in order to make them be the same length.
  • TextJustification->0 does no stretching, and leads to ragged text boundaries.
  • TextJustification->1 does full justification, and forces all complete lines to be the same length.
  • No stretching is done on lines that end with explicit Return characters.
  • With settings for TextJustification between 0 and 1, partial justification is done.
  • With TextJustification-> s, Mathematica will take the amount by which each broken line is shorter than PageWidth, and then insert within the line a total amount of space equal to s times this.
  • If TextJustification is not 0, the standard Mathematica front end will dynamically adjust the lengths of lines as you enter text.
  • See the Mathematica book: Section 2.10.10.
  • See also: TextAlignment, PageWidth, AutoSpacing, ButtonExpandable.