[NTG-context] underbrace spacing

Aditya Mahajan adityam at umich.edu
Fri Jan 1 07:48:12 CET 2021


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


More information about the ntg-context mailing list