Rudi van der Linde wrote:
Helge Hafting wrote:
Rudi van der Linde wrote:
Hi All,
I have a problem where a longtable row sometimes enters the footer
area of my Lyx document. Any ideas where I can start to debug? It
is not going to be feasible to "tweak" the output by hand because
the document is generated from a database, i.e. I have to fix the
inherent problem and not the symptom.
More of a latex problem I think - try a latex forum.
Thanks for the tip, will have a look into it.
What does this longtable contain? Text only is really supposed
to work - or is there complicated stuff like minipages
or graphics in the cells?
The longtable contains "complicated" stuff like minipages. Will try
to remove these and see what happens.
Also, a wrong lower margin setting could cause this.
Maybe the margin doesn't leave enough room for the footer,
or the footer contains some big stuff? Try bigger margins.
The document is a "Test Procedure". A requirement is that any page
that can be "filled in" must have a place for the Tester and the
Witness to sign. I have placed such a "signature block" in the footer
of the applicable sections. It is quite large of course. It also
means that the document contains one footer for the start of the
document and another for the "tests" section. I have adjusted the
footer size by using "\advance \textheight by -6\baselineskip" in ERT
just before the "test" section starts. Is there a better way of doing
it? I am using the geometry package to manage the margins.
I see.
The usual footer is about one line high, so it can contain a page
number and perhaps a few words like a section title or book name.
Latex lets you use a bigger footer
if you like, but then _all_ pages have this tall footer and the space
is never used for ordinary text at all.
I have no experience in varying the text area height, so I can't help
you with that. The problem with doing that is that one never
knows where the page breaks will go, and so the page break might
fall between the size change command and the big block. Then
you get a problem - space for the big block is reserved on another page
and the block crashes into the text _if_ the page is nearly full.
Two solutions:
1. Make the footer big enough on all pages.
Useful if most pages needs a signature block, other pages
will waste paper.
2. Use a small footer, and put the signature block in the normal
text instead. If you want to push the block down to the bottom,
put vertical space of the "fill" variety in front of the block. It
will then go to the bottom of the page even if there is only one
line at the top.
If the page is too full, then your signature block will go
to the next page instead with this solution. This is a good
solution if a single signature at the end of a multi-page
section is ok.
Helge Hafting