home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!news.acns.nwu.edu!nucsrl!ddsw1!gagme!n5ial!jim
- From: jim@n5ial.chi.il.us (Jim Graham)
- Newsgroups: comp.text.tex
- Subject: Why does TeX not break a paragraph at all costs?
- Distribution: world
- Message-ID: <721605858snx@n5ial.chi.il.us>
- References: <1992Nov10.230009.27125@athena.mit.edu>
- Date: Thu, 12 Nov 92 22:04:18 GMT
- Organization: Me? Organized? Hah! :-)
- Lines: 55
-
- In article <1992Nov10.230009.27125@athena.mit.edu>
- lasmith@athena.mit.edu writes:
-
- > I am dumbfounded at (La)TeX's insistence on breaking o page after only
- > say two inches of text rather than include then next paragraph and break it
- > in the middle. Someone got the priorities all screwed up in allowing
- > TeX to consistently cpome down on the side of never breaking a paragraph.
-
- but TeX *DOES* break pages in the middle of paragraphs, unless you
- specifically tell it not to. take a look at your settings for the
- following:
-
- \interlinepenalty --- high number, TeX tends to break pages between
- paragraphs rather than split them
- \raggedbottom --- if set, TeX doesn't insist on pages being exactly
- the same length (as the name implies)
-
- for example, a sample letter format (Appendix E of ``The TeXbook'')
- uses \raggedbottom and \interlinepenalty=1000 to make page breaks
- tend to happen between paragraphs. according to the quick little
- run I just did with emTeX, using \showthe\interlinepenalty , the
- default for this is 0, meaning break the page anywhere TeX wants
- to, even if right in the middle of a paragraph. so, either you've
- changed this, or the author of some macro set you're using changed
- it for you.
-
- now, one thing TeX does try to avoid is ``breaking a page between the
- first two lines of a paragraph, or just before the last line, so that
- `club' or `widow' lines that are detached from the rest of a paragraph
- will not appear all alone on a page unless the alternative is worse.''
- [pg. 104, ``The TeXbook'']
-
- if this is what you're talking about, you might want to let TeX do
- its work here --- a club or widow line really looks horrible. better
- to let the page be slightly less full (i.e., use \raggedbottom) than
- to leave club or widow lines laying around.
-
- take a look in Chapter 24 of ``The TeXbook'' for information on this.
- some penalties you might want to adjust one way or the other to fit
- your needs are:
-
- \clubpenalty --- penalty for creating a club line at bottom of page
- \widowpenalty --- penalty for creating a widow line at top of page
-
- hope this helps.
- --jim
-
- --
- #include <std_disclaimer.h> 73 DE N5IAL (/9)
- ------------------------------------------------------------------------------
- INTERNET: jim@n5ial.chi.il.us | grahj@gagme.chi.il.us | j.graham@ieee.org
- ICBM: 41.70N 87.63W UUCP: gagme!n5ial!jim@clout.chi.il.us
- AMATEUR RADIO: (unstable...back after I've moved) AMTOR SELCAL: NIAL
- ------------------------------------------------------------------------------
-
-