keeping lines together 

Newsgroups: comp.text.tex
> how can i tell TeX to keep all these together on one page and to not
> put the page break anywhere within, but rather before such a block?

You can put the block in a \vbox (or \noindent\parbox{linewidth}). The drawback is that you don't keep baselines in registration, but if you put some vspace around it, it won't matter.

Another way is to use \samepage, which prevents most breaks, plus \@setpar to prevent breaks between paragraphs.

\newenvironment{blah}{\par
 \samepage
 \@setpar{\@@par\nobreak}%
}{%
 \par
 \allowbreak
}

Donald Arseneau