Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have found that setting \widowpenalty=10000\clubpenalty=10000 in the main document has not prevented widows and clubs from appearing occasionally in footnotes in a long and complex document I am working on.

I eliminated those widows and clubs by adding the same commands to a new command for creating footnotes:

\newcommand\footy[1]
 {\footnotemark{}%
  \footnotetext{\widowpenalty=10000\clubpenalty=10000\relax#1}%
 }

but it seems to me that this is rather wasteful since it calls the two penalty commands over and over again. Is there, instead, a pair of commands that specify widow and club penalties for footnotes, and that only need to be called once?

share|improve this question
9  
BTW, end explicit numbers with a space or \relax. Otherwise consider, what happens, if #1 starts with a number. –  Heiko Oberdiek Aug 6 '12 at 3:26
    
@HeikoOberdiek: Ah, thank you very much. –  brannerchinese Aug 6 '12 at 17:08

2 Answers 2

up vote 10 down vote accepted

Define for example \interfootnotelinepenalty=100 or try 10000· Macro \footnote uses the given \interfootnotelinepenalty if a pagebreak is necessary in your footnote.

share|improve this answer

The package bigfoot provides much better footnote breaking facilities than the default. Loading it alone will often fix bad breaking issues.

By default it also defines:

\newcount\footnotewidowpenalty 
\footnotewidowpenalty=250  
\newcount\footnoteclubpenalty 
\footnoteclubpenalty=250  
\newcount\finalfootnotewidowpenalty 
\finalfootnotewidowpenalty=4000 
share|improve this answer
    
Thanks. I looked for a while at bigfoot, but the documentation is scanty and I wasn't able to find many examples on-line. It seemed easier to stick with better-document packages or basic TeX and LaTeX commands. –  brannerchinese Aug 6 '12 at 17:09
    
@brannerchinese -- Sure, but all you need to do is change the settings I listed to control how bad things need to get before you allow widows and orphans in your footnotes. Most of the other stuff bigfoot does is for things beyond normal footnote needs. (Anyway, it worked for me when I changed these settings.) –  jon Aug 6 '12 at 17:19
1  
I see that a lot of bigfoot's functionality can be learned about by reading the comments in the bigfoot.dtx file, available here: ctan.mirrorcatalogs.com/macros/latex/contrib/bigfoot/… –  brannerchinese Aug 6 '12 at 23:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.