From: Shiv Shankar Dayal <shivshankar.dayal@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Linebreak in formual
Date: Mon, 15 Jan 2024 21:08:34 +0530 [thread overview]
Message-ID: <CALJ_jGRh-ywYomCHqpMBz0=xs-rcdQdBgjmGo5ZT2qchxVaiMA@mail.gmail.com> (raw)
In-Reply-To: <539qno65-n569-np13-s231-588oq7005s7s@hzvpu.rqh>
[-- Attachment #1.1: Type: text/plain, Size: 1185 bytes --]
Thanks a lot, Aditya.
On Mon, Jan 15, 2024 at 8:41 PM Aditya Mahajan <adityam@umich.edu> wrote:
> On Mon, 15 Jan 2024, Mikael Sundqvist wrote:
>
> > Hi,
> >
> > you can try something like
> >
> > \sum_{\mstack{k=0, k\equiv p + 1 (\mtext{mod }2)}}^{p -1}
> >
> > but it will not be too pretty with such a large sub-index to the sum.
>
> There is also
>
> \sum_{\startsubstack \NC a \NR \NC b \NR \stopsubstack}
>
> which imitates the \substack command from latex.
>
> OT but it is better to use one of \mod, \pmod, \bmod, rather than explicit
> \mtext{mod }.
>
> Aditya
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to
> the Wiki!
>
> maillist : ntg-context@ntg.nl /
> https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
> archive : https://github.com/contextgarden/context
> wiki : https://wiki.contextgarden.net
>
> ___________________________________________________________________________________
>
--
Respect,
Shiv Shankar Dayal
[-- Attachment #1.2: Type: text/html, Size: 2149 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2024-01-15 15:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-15 13:38 [NTG-context] " Shiv Shankar Dayal
2024-01-15 13:56 ` [NTG-context] " Mikael Sundqvist
2024-01-15 14:02 ` Shiv Shankar Dayal
2024-01-15 15:08 ` Aditya Mahajan
2024-01-15 15:38 ` Shiv Shankar Dayal [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='CALJ_jGRh-ywYomCHqpMBz0=xs-rcdQdBgjmGo5ZT2qchxVaiMA@mail.gmail.com' \
--to=shivshankar.dayal@gmail.com \
--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).