next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: netList(VisibleList)

netList(VisibleList) -- a table of boxes

Synopsis

Description

i1 : f = {{"hi there","foo"},{-3, 2^40}}

o1 = {{hi there, foo}, {-3, 1099511627776}}

o1 : List
i2 : netList f

     +--------+-------------+
o2 = |hi there|foo          |
     +--------+-------------+
     |-3      |1099511627776|
     +--------+-------------+
i3 : netList(f,Boxes=>false)

o3 = hi therefoo          
     -3      1099511627776
i4 : netList(f,Boxes=>true,HorizontalSpace=>1,VerticalSpace=>1)

     +----------+---------------+
     |          |               |
o4 = | hi there | foo           |
     |          |               |
     +----------+---------------+
     |          |               |
     | -3       | 1099511627776 |
     |          |               |
     +----------+---------------+
i5 : netList(f,Boxes=>true,Alignment=>Center)

     +--------+-------------+
o5 = |hi there|     foo     |
     +--------+-------------+
     |   -3   |1099511627776|
     +--------+-------------+
i6 : netList(f,Boxes=>true,BaseRow=>1)

     +--------+-------------+
     |hi there|foo          |
     +--------+-------------+
o6 = |-3      |1099511627776|
     +--------+-------------+
i7 : netList apply(5,i->apply(i+1,j->(i,j)))

     +------+------+------+------+------+
o7 = |(0, 0)|      |      |      |      |
     +------+------+------+------+------+
     |(1, 0)|(1, 1)|      |      |      |
     +------+------+------+------+------+
     |(2, 0)|(2, 1)|(2, 2)|      |      |
     +------+------+------+------+------+
     |(3, 0)|(3, 1)|(3, 2)|(3, 3)|      |
     +------+------+------+------+------+
     |(4, 0)|(4, 1)|(4, 2)|(4, 3)|(4, 4)|
     +------+------+------+------+------+