Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

longtable and fancyhdr

109 views
Skip to first unread message

Paul Thompson

unread,
Jul 29, 2012, 11:01:00 AM7/29/12
to
I am using the longtable and fancyhdr styles. My table is 3 pages long. The first page works fine. The text at the bottom of the table is as defined, the footer is present. Pages 2 and 3 are not correct. The table is too long on P 2, and several rows are hidden at the bottom. The footer is not showing on P 2 and 3, either.

Are there known bugs in the combo of fancyhdr and longtable? Are there better-behaving styles now being supported for these two?

Clemens Niederberger

unread,
Jul 29, 2012, 11:34:04 AM7/29/12
to

Paul Thompson

unread,
Jul 29, 2012, 1:03:03 PM7/29/12
to
Thanks. I looked at it, and tried the fix, but it does not solve the problem. It's odd that no other reports of this have been made.

Clemens Niederberger

unread,
Jul 29, 2012, 3:47:25 PM7/29/12
to
Am 29.07.2012 19:03, schrieb Paul Thompson:
> On Sunday, July 29, 2012 10:34:04 AM UTC-5, Clemens Niederberger
> wrote:
>> Am 29.07.2012 17:01, schrieb Paul Thompson:
>>
>>> I am using the longtable and fancyhdr styles. My table is 3
>>> pages long. The first page works fine. The text at the bottom of
>>> the table is as defined, the footer is present. Pages 2 and 3 are
>>> not correct. The table is too long on P 2, and several rows are
>>> hidden at the bottom. The footer is not showing on P 2 and 3,
>>> either.
>>>
>>> Are there known bugs in the combo of fancyhdr and longtable? Are
>>> there better-behaving styles now being supported for these two?
>>>
>>
>> This might be related:
>>
>> http://tex.stackexchange.com/questions/54671/longtable-changes-the-page-heading
>>
>
>>
> Thanks. I looked at it, and tried the fix, but it does not solve the
> problem. It's odd that no other reports of this have been made.
>

You might want to build a minimal working example (MWE) and ask a
question on TeX.SE yourself. David Carlisle, the author of longtable, is
quite active there.

--
Clemens Niederberger
www.mychemistry.eu


Paul Thompson

unread,
Jul 29, 2012, 4:25:30 PM7/29/12
to
Regrettably, it is more likely a fancyhdr problem. I have been a long-time user of fancyhdr, but do not believe that Oostrum is maintaining it at this time. I replaced fancyhdr with scrpage2, and all now works flawlessly. Sometimes I wonder if fancyhdr has fundamental problems. I use it in my letter package newlfm, but may replace it now.

Lars Madsen

unread,
Jul 29, 2012, 4:34:22 PM7/29/12
to
>

> Regrettably, it is more likely a fancyhdr problem. I have been a
> long-time user of fancyhdr, but do not believe that Oostrum is
> maintaining it at this time. I replaced fancyhdr with scrpage2, and
> all now works flawlessly. Sometimes I wonder if fancyhdr has
> fundamental problems. I use it in my letter package newlfm, but may
> replace it now.
>

that is interesting, because it seems that the memoir class has the same
problem as article.

So what is scrpage2 doing differently with the headers?

to me it seems that at the core they are doing similar things


--
/daleif

DK-TUG president
memoir and mh bundle maintainer

Robin Fairbairns

unread,
Aug 13, 2012, 7:45:08 AM8/13/12
to
Lars Madsen <dal...@imf.au.dk> writes:

>> Regrettably, it is more likely a fancyhdr problem. I have been a
>> long-time user of fancyhdr, but do not believe that Oostrum is
>> maintaining it at this time. I replaced fancyhdr with scrpage2, and
>> all now works flawlessly. Sometimes I wonder if fancyhdr has
>> fundamental problems. I use it in my letter package newlfm, but may
>> replace it now.
>
> that is interesting, because it seems that the memoir class has the
> same problem as article.

doesn't memoir have an "embedded fancyhdr"? if so, it's designed to do
what keeps fancyhdr happy, surely?

> So what is scrpage2 doing differently with the headers?
>
> to me it seems that at the core they are doing similar things

indeed. but that was true when fancyhdr appeared: it did what
fancyheadings used to do, but did it so much better that fancyheadings
quickly disappeared as a package that "people in the know" use.

similarly, doublespace disappearing when setspace appeared.
--
Robin Fairbairns, Cambridge
sorry about all this posting. i'll go back to sleep in a bit.

Lars Madsen

unread,
Aug 13, 2012, 7:51:44 AM8/13/12
to Robin Fairbairns
Robin Fairbairns wrote, On 2012-08-13 13:45:
> Lars Madsen <dal...@imf.au.dk> writes:
>
>>> Regrettably, it is more likely a fancyhdr problem. I have been a
>>> long-time user of fancyhdr, but do not believe that Oostrum is
>>> maintaining it at this time. I replaced fancyhdr with scrpage2, and
>>> all now works flawlessly. Sometimes I wonder if fancyhdr has
>>> fundamental problems. I use it in my letter package newlfm, but may
>>> replace it now.
>> that is interesting, because it seems that the memoir class has the
>> same problem as article.
>
> doesn't memoir have an "embedded fancyhdr"? if so, it's designed to do
> what keeps fancyhdr happy, surely?
>

nope, it is much more integrated into the various commands and has only
some ideas in common with fancyhdr

I'm e.g. quite fond of the aliasing feature, there one can define a page
style to be an alias for another style.

For example the chapter style is executed by \chapter and similar, and
is an alias for plain. But can easily be remapped to something user defined.

In some of out teaching material I use this feature to add svn data to
each chapter start.

>> So what is scrpage2 doing differently with the headers?
>>
>> to me it seems that at the core they are doing similar things
>
> indeed. but that was true when fancyhdr appeared: it did what
> fancyheadings used to do, but did it so much better that fancyheadings
> quickly disappeared as a package that "people in the know" use.
>
> similarly, doublespace disappearing when setspace appeared.


--

/daleif (remove RTFSIGNATURE from email address)

Memoir and mh bundle maintainer
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://math.au.dk/videnudveksling/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.minimalbeispiel.de/mini-en.html
0 new messages