Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod!ub!mdeck From: mdeck@acsu.buffalo.edu (Mary Deck) Newsgroups: comp.text.tex Subject: Re: LaTeX sections and bottom of page Message-ID: <54370@eerie.acsu.Buffalo.EDU> Date: 14 Jan 91 22:25:14 GMT References: <1991Jan10.185851.170@cs.wright.edu> <1991Jan12.195735.20151@csrd.uiuc.edu> Sender: news@acsu.Buffalo.EDU Organization: State University of New York at Buffalo/Comp Sci Lines: 51 Nntp-Posting-Host: sybil.cs.buffalo.edu In article <1991Jan12.195735.20151@csrd.uiuc.edu> eijkhout@s41.csrd.uiuc.edu (Victor Eijkhout) writes: >sdawalt@cs.wright.edu (Shane Dawalt) writes: >> It has been discovered that subsection headers and the text >By whom? More than one person. I've seen the problem, too. :) >>they represent may be split between pages. For instance, a >>subsection header will appear on one page while the paragraph(s) >>following the header are placed on the following page. This is not >>desirable. >I would even say that it's not possible in LaTeX. >Unless you're doing something out of the ordinary. >I suggest that you supply an example. This sort of thing >has meticulously been taken care of in LaTeX. I'd appreciate >seeing it go wrong. I don't have the source, but this is an example of what happened: \section{Something} \subsection{Something Else} \subsubsection{And Now, For Something Completely Different} Here's some text in the subsubsection. It doesn't really matter what it is, as long as there's something here. Now, if this occurs near the end of a page, then LaTeX is going to try to break it somewhere. Let's assume that it can fit the section on the first page without shrinking the stuff on the page before it. Let's assume that it then tries to put the subsection on the same page; it will have to do a fair amount of shrinking, but it can be done. Well, then it gets to the subsubsection, and it just can not squeeze the page any more. LaTeX tries to put the section and subsection on the next page, but that stretches thing so they're worse than the shrunk-down stuff. LaTeX puts the section and subsection on the first page, and the subsubsection and text goes on the following page. Judicious use of \pagebreak[x] could help this situation (I suggest this to Mr. Dawalt), but not always. There are only three intermediate levels of \pagebreak's, and my situation (which is more complex than this) demands at least four. Any suggestions, short of resorting to TeX's \penalty, would be appreciated. Thanks. If anyone would like a concrete example, mail me and I'll see what I can do. .....Mary --- Mary M. Deck Student Assistant, User Services | Internet: mdeck@cs.buffalo.edu University Computing Services | uucp: rutgers!ub!mdeck SUNY at Buffalo | Bitnet: mdeck%cs.buffalo.edu@ubvms