[Tex/LaTex] footnotes – on the bottom except on last page of chapter

chaptersfootmiscfootnotespositioning

My school requires that dissertations follow a set of sometimes odd formatting requirements. We have a latex class file which does a reasonable job at bringing documents into compliance with their requirements. There is, however, one requirement that I have't got a clue how to make happen:

Footnote are supposed to be at the bottom of each page which can be accomplished by using footmisc. However, on the last page of a chapter the footnotes are supposed to be directly after the actual chapter text ends not at the bottom of the page.

Now I can solve individual cases by adding vspace, or simply not putting footnotes at the end of my chapters. However, I'm wondering if there is a way to modify the class file to make this happen automatically.

Best Answer

No automated solution, but perhaps \enlargethispage can help. It should quite easy to measure the gap between text and footnotes on the last chapter page and issue an \enlargethispage{-??\baselineskip}, where ?? stands for the number of lines to cut from the page.

Let's hope that the among the requirements there's a page number at the bottom.

Of course this should be done when the text is completely definitive.

Related Question