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.

In a latex document I have got a section heading as the last line on a page, followed by the section content on the following page. How do I prevent this page shift between section heading and section content?

share|improve this question
4  
The default settings in LaTeX already make it infinitely bad to break within two lines of a section heading. So if it is doing that then every other option available was also disallowed. Please supply a complete small document that shows the problem. –  David Carlisle Jun 1 '12 at 11:19
3  
You probably can't provide a MWE? I at least couldn't provoke this behaviour with a simple example. Normally it's a sign of TeX panicking because it can't typeset some other stuff properly. Hard to say, really, without seeing your document. Do you redefine any typesetting penalty variables? Do you use microtype to give TeX more knobs to turn in order to save the day? –  Christian Jun 1 '12 at 11:22
    
Using \FloatBarrier might work with package placeins for Floats (Figures, tables). I hope there would something available for Sections also –  texenthusiast Jun 19 '12 at 0:37
add comment

closed as too localized by lockstep, Joseph Wright Jul 7 '12 at 21:21

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.