Re: [Chicken-users] Help with columnar formatting in the fmt egg
On Fri, Nov 20, 2015 at 5:53 AM, Christian Kellermannwrote: > > I would like to ask some help for finding the right fmt expression to > print entries formatted as like this: > > 2015-11-20 foo bar baz... Some·Label Some·Other·Label > -123.23-100.00 > Yet·Another·Label > -23.23 > > The hard part is obviously the last columns. Both are fed in a list of > entries consisting of (label amount). All positive amounts should be > printed in the first column the negative ones in the second. > Your example is split across 4 lines, is this what you intended? It's not really clear what the rule is. The columnar/tabular formatters are oriented around formatting single rows, so if you want to use them you'd need to first group the data accordingly. -- Alex ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] Help with columnar formatting in the fmt egg
Hi! I would like to ask some help for finding the right fmt expression to print entries formatted as like this: 2015-11-20 foo bar baz... Some·Label Some·Other·Label -123.23-100.00 Yet·Another·Label -23.23 The hard part is obviously the last columns. Both are fed in a list of entries consisting of (label amount). All positive amounts should be printed in the first column the negative ones in the second. Note that the labels should be left aligned and the amounts as well. What I have tried so far are combinations of columnar and tabular but none of these seem to do the alignment or laying out the column widths correctly. Do you know a way to achieve the above? Kind regards, Christian -- May you be peaceful, may you live in safety, may you be free from suffering, and may you live with ease. ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users