next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: columnate

columnate -- arrange strings in columns


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.