Hi Aditya,

Many thanks for the help!  It works great!

On Mon, Dec 18, 2023 at 2:41 PM Aditya Mahajan <adityam@umich.edu> wrote:
On Mon, 18 Dec 2023, Dean Hung wrote:

> Hi ConText friends,
>
> I am trying to increase the vertical distance between the underbrace and
> the part of the equation above the underbrace.
>
> \startformula
> \underbrace{x+y+z}_{\blank[1cm]\mathrm{my text here}}
> \stopformula
>
> I've tried using \blank and \vspace, but to no avail.  For example:
>
> \underbrace{x+y+z}_{\blank[1cm]\mathrm{my text here}}
> ...does not work.
>
> The documentation on underbrace (and overbrace, underbracket, etc...) in
> the ContextGarden wiki seems to be very limited, and I was not able to find
> any user-supplied arguments for increasing this vertical distance.
>
> There are various solutions available for LaTex, and they require external
> packages (e.g., BigStrut, vphantom) that redefine the strut height.
>
> I hope I'm missing something simple... Any help would be greatly
> appreciated!

Hey, this is context. We don't need any packages for simple stuff:

\startformula
\underbrace[mindepth=1cm]{x+y+z}_{\mathrm{my text here}}
\stopformula


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
___________________________________________________________________________________