kenw@raid5.uucp (Ken Waletzki) (07/31/90)
Ok, please someone help me w/this. I am trying to create a command that will
allow me to keep all the text within the command together on a page. Here
is the command in question:
\newcommand{\Field}[3]%
{
\begin{list}%
{B--}{ \addtolength{\leftmargin}{1in} \addtolength{\labelwidth}{1in}
\addtolength{\labelsep}{.2in} \addtolength{\topsep}{.2in}}
\item[\large \bf Field:\hfill] {\bf \underline{#1}}
\item[\large \bf Values:\hfill] #2
\item[\large \bf Definition:\hfill] #3
\end{list}
}
It produces a list similar to the following:
Field The field
Values The values
Definition The definition
The thing I want to avoid is having the list environment spilt accross to
the next page. If it would normally split to the next page, I want it
to do a pagebreak and begin the whole thing on the next page.
Any and all help would be appreciated.
Thanx!
ken waletzki
--
Ken Waletzki uunet!dunike!onecom!raid5!kenw
Array Technology Corp.
4775 Walnut St., Suite B
Boulder, Colorado 80301 USA