I'm using the
book documentclass and the
I made some changes to the original footnote macros, and this causes the following problem when the footnoted word is on the last couple of lines of the page:
If line 67. in mylayout.sty is commented out, the footnoterule and the footnote moves to the next page, which is the expected behaviour. It beats me why it leaves the rule on the prev. page otherwise.