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 am trying to typeset an article using the philosophersimprint class, but footnotes are having a weird interaction with pagebreaks. Here is a minimal example demonstrating my problem:

\documentclass{philosophersimprint}
\usepackage{lipsum}

\begin{document}
  \lipsum[1]
  \section{First Section}
  A sentence fragment.\footnote{A footnote}
  \subsection{A subsection}
  \lipsum[3-4]
\end{document}

screenshot

The first column lasts up until the footnote, and then the column breaks and starts subsection 1.1 at the top of the next column.

Using the \samepage environment closes up the gap, but later on in the document it makes text run off the bottom of the page in many places. I'm thinking that I'll have to make my own changes to how philosophersimprint.cls handles either footnotes or {sub,}sections, but I'm not sure which to look at.

share|improve this question
5  
Hi John, Welcome to TeX.SE! Thanks a lot for posting a complete MWE, it'll really help folks who are looking at your problem. I edited your question to include a screenshot. Again, welcome! –  cmhughes Aug 12 '12 at 20:44
add comment

1 Answer

up vote 6 down vote accepted

The problem comes from the assignement

\setlength{\skip\footins}{13.5pt plus 1fill}

made in philosophersimprint.cls. A possible solution is to override this value, doing something like

\documentclass{philosophersimprint}
\usepackage{lipsum}

\makeatletter
\setlength{\skip\footins}{\bigskipamount}
\makeatother

\begin{document}
  \lipsum[1]
  \section{First Section}
  A sentence fragment.\footnote{A footnote}
  \subsection{A subsection}
  \lipsum[3-4]
\end{document}

I chose the value \bigskipamount since it's the value used in the LaTeX kernel, but the author/maintainer of the class can decide what should be the best value to be used here.

enter image description here

share|improve this answer
add comment

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.