On Tue, Jun 28, 2016 at 7:25 PM, Steve Litt <sl...@troubleshooters.com> wrote: > On Tue, 28 Jun 2016 13:39:43 +0200 > Liviu Andronic <landr...@lyx.org> wrote: > >> On Tue, Jun 28, 2016 at 3:07 AM, Steve Litt >> <sl...@troubleshooters.com> wrote: >> > Hi all, >> > >> > I'm using LyX 2.1.4, fancyhdr, I've customized even and odd page >> > headers to report current chapter and current section, >> > respectively. On even numbered pages, moderate length chapter names >> > crash into the page number. Short ones right justify away from the >> > page number, and long ones wrap so that the page number isn't >> > touched, but moderate length chapter names overwrite the rightmost >> > digit or two of the page number. > >> Have you tried Short Titles for the offending headings? >> >> Liviu > > No, I'd forgotten about that, thanks for reminding me. > > But even so, short names would be coathangering the symptom rather than > fixing the root cause. Here's why... > > If the line's long enough to wrap, this problem doesn't occur. If it's > way shorter than the space allotted, this problem doesn't occur. But if > it's in the middle, the problem occurs. What's happening is that the > text part of the header, the part that isn't the page number, is using > too wide a width to word wrap. Let me repeat: Long names aren't the > problem. Middle length names are the problem. > > That's the root cause. To fix this with short names I'd need to make > the names extremely short: So short as to be confusing to the reader. > > So, given that, does anyone know a way to get the text part of the > header to wrap in a smaller width, so it doesn't crash into the page > number to its left? > I would suggest that this is a good question for http://tex.stackexchange.com/ . I'd wager you'll find there a LaTeX expert with a solution within the day (or an already existing question on this). I would expect this would have to do with some penalty of sorts either from LaTeX or from fancyhdr.
Regards, Liviu > Thanks, > > SteveT > > Steve Litt > June 2016 featured book: Troubleshooting: Why Bother? > http://www.troubleshooters.com/twb