ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to prevent a page break before a \startformula, and more
@ 2003-04-18 17:26 Emil Hedevang Lohse
  2003-04-18 18:17 ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Emil Hedevang Lohse @ 2003-04-18 17:26 UTC (permalink / raw)



Hello.

I many of my documents I use \startformula and \stopformula to get
displayed mathematics. But I would like to be able to discourage
ConTeXt to insert page breaks just before \startformula. Is there any
easy way to do this?

Also, how do I make \lim behave as \lim\nolimits in inner math
(between $ and $) mode and as \lim\limits in displayed math mode
(between \startformula and \stopformula)?

I known that the following code works.

\let\oldlim\lim
\def\lim{\ifinner\oldlim\nolimits\else\oldlim\limits\fi}

But is there some other way? Perhaps I can change something in

\definemathcommand [lim] [limop] {\mfunction{lim}} ?



-- 
Emil Hedevang Lohse <http://home.imf.au.dk/emil/> 

Alle spørgsmål er lige dumme. 
Og spørgsmålet "Kan ænder flyve?" er ikke dumt.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-04-22 14:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-18 17:26 How to prevent a page break before a \startformula, and more Emil Hedevang Lohse
2003-04-18 18:17 ` Hans Hagen
2003-04-19 13:46   ` Emil Hedevang Lohse
2003-04-21 11:17     ` Hans Hagen
2003-04-21 20:06       ` Emil Hedevang Lohse
2003-04-22 14:39         ` Emil Hedevang Lohse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).