ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Johann Birnick <johann.birnick@hotmail.de>
To: ntg-context@ntg.nl
Subject: Re: underbrace spacing
Date: Fri, 01 Jan 2021 15:22:38 +0100	[thread overview]
Message-ID: <DB8PR03MB623670EF58354C2F03EE1C3EFBD50@DB8PR03MB6236.eurprd03.prod.outlook.com> (raw)
In-Reply-To: <nycvar.YAK.7.78.908.2101010147040.234415@nqv-guvaxcnq>

Thanks!!

On Fri, 2021-01-01 at 01:48 -0500, Aditya Mahajan wrote:
> On Thu, 31 Dec 2020, Johann Birnick wrote:
> 
> > Hi there,
> > 
> > if I do
> > 
> > \starttext
> > $4 \underbrace{+ 3}_{\text{because of lorem} + 2}$
> > \stoptext
> > 
> > then the spacing gets really big because of the long. How can I prevent
> > this?
> > 
> > (in LaTeX one can use \mathcal or so and that works)
> 
> Do you mean \mathclap? If so, then in Context, \clap works correctly in both
> text and math mode. So, you can just use:
> 
>     \starttext
>     $4 \underbrace{+ 3}_{\clap{\text{because of lorem} + 2}}$
>     \stoptext
> 
> 
> Aditya
> ______________________________________________________________________________
> _____
> If your question is of interest to others as well, please add an entry to the
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ______________________________________________________________________________
> _____

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

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

      reply	other threads:[~2021-01-01 14:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-31 19:37 Johann Birnick
2021-01-01  6:48 ` Aditya Mahajan
2021-01-01 14:22   ` Johann Birnick [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=DB8PR03MB623670EF58354C2F03EE1C3EFBD50@DB8PR03MB6236.eurprd03.prod.outlook.com \
    --to=johann.birnick@hotmail.de \
    --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).