[OS X TeX] writing twice to the same line

Florian Grammel grammel at gmx.net
Sun Dec 13 13:05:10 CET 2009


Den 13.12.2009 kl. 12:23 skrev Jacques André:

>> 
>> I need to do quite a peculiar setup for section-headers, where a part of the heading has to be aligned to both sides and another part centered *in the same line*.
> 
> 
> Why not
> 
> \section[]{Left\hfill Center \hfill Right}


Thanks for your suggestion, but unfortunately this doesn't work well for me, as textportions with different lengths will produce different positioning:


|left              middle                  very long right text|

|left                            middle                          right|  


I would need the middle text always to be centered in relation to the total textwidth:


|left                            middle    very long right text|

|left                            middle                          right|  






____________________________________________

Florian Grammel

Gentofte, Denmark






More information about the macostex-archives mailing list