[OS X TeX] Avoiding page breaks

Chris Goedde cgg.lists at gmail.com
Mon Apr 14 12:10:03 EDT 2008


On Apr 14, 2008, at 10:46 AM, Toke Lindegaard Knudsen wrote:

>
> The problem is this:  Sometimes the description ends up at the  
> bottom of a page while the translation begins on the next page.   
> This looks rather silly and I would like for that to not happen.
>
> I have tried to insert \nopagebreak and \samepage at various place,  
> but without success.
>
> Would any of you have an idea about how I can avoid a page break  
> between the description and the translation?

I use this command:

\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. But then  
you can use \Nopagebreak to really mean don't break.

-- 
Chris




More information about the MacOSX-TeX mailing list