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) Best regards, Johann
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
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 ______________________________________________________________________________ _____
participants (2)
-
Aditya Mahajan
-
Johann Birnick