ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Stefan Haller via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Stefan Haller <stefan.haller@stha.de>
Subject: Re: \nolimits no effect in LMTX
Date: Tue, 16 Aug 2022 18:15:10 +0200	[thread overview]
Message-ID: <YvvCjul4lJmH8GZ+@stha.de> (raw)
In-Reply-To: <4e245222-90b3-b292-698d-b50b7ee793c6@freedom.nl>

On Tue, Aug 16, 2022 at 05:47:06PM +0200, Hans Hagen via ntg-context wrote:
> \definemathoperator[nosum][sum][method=nolimits]
> 
> \startformula
>   \sum [method=nolimits]_{i=1}^{n} a_i +
>   \sum _{i=1}^{n} a_i +
>   \sum [bottom={n},top={i=1},topcolor=red] a_i +
>   \nosum _{i=1}^{n} a_i
>   \nosum[method=auto] _{i=1}^{n} a_i
> \stopformula
> 
> \stoptext

Thanks for the response and also for your efforts creating and
maintaining ConTeXt! The proposed alternative work well. This also
solves the confusion due to never being able to to remember that I have to
put the \limits / \nolimits directive *after* the symbol I want to
modify.

If somebody else stumbled across this: The code for the *mathoperators
macros sits in `mkxl/math-lop.mkxl`.

Best regards,
Stefan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2022-08-16 16:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-16 13:38 Stefan Haller via ntg-context
2022-08-16 15:47 ` Hans Hagen via ntg-context
2022-08-16 16:15   ` Stefan Haller via ntg-context [this message]

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=YvvCjul4lJmH8GZ+@stha.de \
    --to=ntg-context@ntg.nl \
    --cc=stefan.haller@stha.de \
    /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).