[OS X TeX] Avoiding page breaks

Toke Lindegaard Knudsen toke_knudsen at brown.edu
Wed Apr 16 12:21:23 EDT 2008

On Apr 14, 2008, at 2:06 PM, Matthew Leingang wrote:

> On Apr 14, 2008, at 12:10 PM, Chris Goedde wrote:
>> \newcommand\Nopagebreak{\@nobreaktrue\nopagebreak}
>> You'll have to put this in a style file or make @ active (or 
>> inactive, I don't remember) if you put it at the top of your tex 
>> file.
> I think you mean you need to make @ at letter, which you can achieve 
> with the \makeatletter  macro.
> When you're finished, use \makeatother.
> So the complete tip would be
> \makeatletter
> \newcommand\Nopagebreak{\@nobreaktrue\nopagebreak}
> \makeatother

I could not get this suggestion to work.  However, I solved the problem 
by using the minipage environment as suggested by Peter Vamos.

Many thanks for the help to everybody who responded.  I appreciate it!


More information about the MacOSX-TeX mailing list