Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica >

TotalWidth

TotalWidth
is an option which can be set for output streams to specify the maximum total number of characters of text that should be printed for each output expression. Short forms of expressions are given if the number of characters needed to print the whole expression is too large.
  • TotalWidth bounds the actual numbers of characters generated. Line breaks are not counted.
  • SetOptions resets the total width allowed for an open stream.
Set the TotalWidth to be 60 characters for a stream:
Set the TotalWidth to be 30 characters for a stream:
Compare the two resulting files:
Set the TotalWidth to be 60 characters for a stream:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Set the TotalWidth to be 30 characters for a stream:
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Compare the two resulting files:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF