Jose Capco wrote:

In the amsmath package, when one starts a new section
environment a pagebreak is not accompanied. This is
sometimes awkward especially in cases when you for
instance have just ended your old section that is
almost in the end of the page (you get a one line
section title that resides in the end of the page
which looks really bad).
This only happens to me if I create a new section heading
and do a view-dvi before writing anything in that section.
Latex happily put such a section heading on the bottom
of a page because the section is empty and ends at
the same page.  Therefore, latex knows that it did not make
a "bad break" -- the section wasn't broken up after all.

Try writing some lines of text into that section.  Now latex will
see that having the section heading at the bottom of one page
and the section text on the next page is a bad split, and move
the section heading too to the next page.  (Doing such a move
is easier for latex, if the rest of the page contains some stretchable
vertical space.  (I.e. more sectioning, images, display formulas, or
the use  of "skip" instead of "indent" as paragraph separation.)

Don't use "view-dvi" to check layout as you write - the breaking
of lines and pages is greatly influenced by the _next_ paragraph(s)
too, and so the layout isn't true at all when the next paragraph isn't
written yet.

Write everything (all content), include all graphichs and so on, before
checking how the layout turns out.  Chances are you'll be
pleasantly surprised, and you don't waste time on layout during writing
either.  Forced page breaks _may_ be used to tidy up the final result,
but you'd better be sure that you aren't going to add any more
writing in the middle (or the beginning), and that you aren't
going to add a figure or change the font or the margins or anything else
that will affect line/page breaking at all.  Because any such change
may cause the forced page break to move to  a very silly place, such
as slightly below the top of a page . . .

Helge Hafting

Reply via email to