Align columns: Difference between revisions

Content added Content deleted
(added Ursala)
Line 1,135: Line 1,135:
then pad the lists out to the length of the maximum length list, transpose,
then pad the lists out to the length of the maximum length list, transpose,
do the same with each column, and transpose again. For left justification,
do the same with each column, and transpose again. For left justification,
nothing further but concatenation is needed. For right justifications, each word's string
nothing further but concatenation is needed. For right justification, each word's string
of trailing blanks is moved to the beginning, and for center justification, the
of trailing blanks is moved to the beginning, and for center justification, the
trailing blanks are divided equally between the beginning and end of each word.
trailing blanks are divided equally between the beginning and end of each word.