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

SpanFromBoth

SpanFromBoth
is a symbol that can appear at a particular position in a Grid or related construct to indicate that the corresponding position is occupied by a spanning element that appears above and to its left.
  • {{e, SpanFromLeft, SpanFromLeft, ...}, {SpanFromAbove, SpanFromBoth, SpanFromBoth, ...}, ...}can be used to indicate that an element spans both multiple rows and multiple columns.
Span throughout a 2x2 block:
In[1]:=
Click for copyable input
Out[1]=
 
Set a red background throughout the spanned region:
In[1]:=
Click for copyable input
Out[1]=
New in 6