16 Dec
2011
16 Dec
'11
7:26 p.m.
Am 16.12.2011 um 18:37 schrieb Chris Lott:
On Fri, Dec 16, 2011 at 8:26 AM, Wolfgang Schuster
wrote: Centered text based on the longest line is simple but when it’s better to make this a feature of the lines environment.
Yeah, but it *isn't* based on the longest line, but on an average of line length. I guess that's why it is call...well, except for the first example in the doc provided, which is what I think your code does.
Though the code you provided is very useful, so thanks!
I showed only it’s not so hard to achieve this feature but with a more complex solution where you check the width of each line you can use different values for the margins. Wolfgang