>>Date: Wed, 11 May 2005 17:12:29 +0300
>>From: Andrei Popov <[EMAIL PROTECTED]>
>>To: [email protected]
>>Subject: Re[4]: reallly long titles in page headings
>>X-OriginalArrivalTime: 11 May 2005 14:12:29.0401 (UTC)
>>FILETIME=[77413490:01C55633]
>>
>>Hello Jean-Pierre,
>>
>>Wednesday, May 11, 2005, 4:34:59 PM, you wrote:
>>
>>> I guess you may redefine the running headers to print in a parbox
>>> with limited width, latex will format your headings in multiple
>>> lines to fit. Of course,the height of the area in the page layout
>>> must be enough to cope with this.
>>
>>Thanks, Jean-Pierre, that sounds like a good solution to me. Maybe you
>>could point me to a HOWTO or smth on how to do that?
Encapsulate the running header commands \leftmark and \rightmark in a parbox,
e.g. with fancyplain pagstyle,
to have the long titles extend to half the textwidth:
\rhead[\fancyplain{}{\parbox[t]{0.5\textwidth}{\leftmark}}]{\fancyplain{\rm\thepage}{\rm\thepage}}
\lhead[\fancyplain{\rm\thepage}{\rm\thepage}]{\fancyplain{}{\parbox[t]{0.5\textwidth}{\rightmark}}
(sorry, I guess this is the old fancyheader syntax, bur it works with fancyhdr).
To get the page number aligned with the bottom line, \parbox[b]{...
--
Jean-Pierre