Macaulay2 » Documentation
Packages » Macaulay2Doc :: columnate
next | previous | forward | backward | up | index | toc

columnate -- arrange strings in columns

Description

columnate(w,s) -- arranges the strings in the list s in columns, returning a Net suitable for output to a terminal with a linewidth of w.

i1 : columnate(12, characters ascii (65 .. 90))

o1 = A F K P U Z
     B G L Q V
     C H M R W
     D I N S X
     E J O T Y

For the programmer

The object columnate is a function closure.