<div dir="ltr"><div><div><div><div>Hello,<br><br>I am trying to output a table with different column widths. That is, each column in the table will have a different column width. It looks like pretty printing and parameterizing column widths might do the trick but I have not been able to put it together and get it to work.<br>
<br></div>I have a function that determines the maximum string length for each entry in a column, from a transposed/pivoted list of lists/matrix and returns a list of those maximums for each column. Now I would like to apply those widths to each column as each line is printed.<br>
<br></div>This is for a simple text file.<br><br></div>Any examples or pointers to examples or docs would be much appreciated.<br><br></div>Regards<br clear="all"><div><div><div><div><div><br>-- <br>You can meet at his location,<br>
but you better come with cash.<br><br>-- Cake
</div></div></div></div></div></div>