[OS X TeX] Avoiding page breaks

Matthew Leingang leingang at math.harvard.edu
Mon Apr 14 20:06:13 CEST 2008


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


--Matthew Leingang


--
Matthew Leingang
Preceptor in Mathematics
Harvard University

http://www.math.harvard.edu/~leingang/vCard.vcf






More information about the macostex-archives mailing list