Section heading for links and actual quotes are compressed together in LaTeX

This should be a common problem, because I see it in many published publications, but for Google it is quite difficult. You can insert a bibliography like this

\bibliographystyle{plain}
\bibliography{foo}

and everything works as expected, except that sometimes (I don’t know what circumstances cause this - it seems random to me) there is no gap between the section heading (for example, “7. References”) and the start of the actual Recommendation. The section headings and the first quote seem to be twisted together. This is not completely egregious, but it seems to me a definite flaw in the set.

I have been doing this for many years, but someone somewhere had to notice it and was obsessively compulsive in order to track it and find out what causes it and how to fix it.

I thought this would be a good place to record the solution. Let me know if you can figure out how to make this more accessible to Google.

ADDED: Here is an example document demonstrating the problem: http://yootles.com/outbox/squish/ . (See also my workaround below.)

+3
source share
2 answers

It turns out that LaTeX sometimes removes the space between the heading of the Links section and the start of the actual links if it tries to avoid overflowing the document with an extra page.

Thus, one way is to either lengthen or shorten the document so that it is not on the verge of moving to an additional page.

( ) , LaTeX, ( ). "\bibliographystyle{plain}":

\enlargethispage{\baselineskip}

, :

  • \bibliographystyle {amsalpha}
  • \bibliographystyle {plain}
  • ( , .)
+1

, , , , \enlagethispage{someamount}

+1

All Articles