ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Emil Hedevang Lohse <emil@imf.au.dk>
Subject: How to prevent a page break before a \startformula, and more
Date: 18 Apr 2003 19:26:59 +0200	[thread overview]
Message-ID: <vg0of33d8d8.fsf@localhost.localdomain> (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.

             reply	other threads:[~2003-04-18 17:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-18 17:26 Emil Hedevang Lohse [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vg0of33d8d8.fsf@localhost.localdomain \
    --to=emil@imf.au.dk \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).