[OS X TeX] writing twice to the same line
Nestor Aguilera
aguilera at santafe-conicet.gov.ar
Sun Dec 13 07:20:17 EST 2009
El Dom, 13 de Diciembre de 2009, 9:05, Florian Grammel escribió:
>
> 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|
Have you tried the fancyhdr package?
Nestor Aguilera
More information about the MacOSX-TeX
mailing list