From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 22370 invoked from network); 18 Dec 2023 22:18:48 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 18 Dec 2023 22:18:48 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 350FD483DCC for ; Mon, 18 Dec 2023 23:15:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7oNq_FQqU8i0 for ; Mon, 18 Dec 2023 23:15:52 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 5448D483D1B for ; Mon, 18 Dec 2023 23:14:44 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 888E1483C54 for ; Mon, 18 Dec 2023 23:13:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2VGUujHXuG6p for ; Mon, 18 Dec 2023 23:13:57 +0100 (CET) Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 5AF90483C42 for ; Mon, 18 Dec 2023 23:12:39 +0100 (CET) Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2cc6eecd319so22907211fa.1 for ; Mon, 18 Dec 2023 14:12:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702937558; x=1703542358; darn=ntg.nl; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=FXugwkPgiFbThSki/lpVzODqRl4NjgPpxE/hmr8qeqE=; b=g3dkxMmkDBId/n4e8BOmYuyjbZzOxnn0BJ2eyUEhfavkeJDZvwNzomu0xinqI7roPT nBmzHpneZak5V1BokBmL+J5vgIaHcmkq/4jAPPuf8AAepMPiSapWTBcj/zc1mdrn9F/d VjPHTIIEtXyqR+zL8Wh5QUMOhsPXcUx+hkWzWEuJIY2fAupZAezMCJ0UPkvds+QtdCWA TH7d7KD74aF9AjegDvRNJoPGwgxeK3FjgtnZzByPhyOk7ac5peuOf2WHwm4hmkrX2Fyc 3rqzpkPWP5UBA3Ccs/ZP7a79TiZpnMZOjj4a48vKQyf5fcb4RDFnhMxHmM0cDXzT1Vas e1KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702937558; x=1703542358; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FXugwkPgiFbThSki/lpVzODqRl4NjgPpxE/hmr8qeqE=; b=UhaDyd425OytXw5cBMGrH70E4hRK5FCXXWABP+e/kzWO5zJylmomw53YciZxlNaJxT T8B+/BV2ZXV9zzypkp+nuMSHgPLAUtp2SE2jyWpXQIrH+YBb8qs7lfEgU9HKEcV3Uxh2 fcL8CicgIS3debAa8bAQ7KiarjQvBiir9UIwPgL3AbLz/5LiXZup+zz4yxyN/OkaRL90 4ETT91DI3vaAT8QN6pm3KMPH9Q+k0e8VPmPVbZdp45+AJMdKCBDaErcHVosgAj29uznm slWE/SDDX+/hcpl9Bos8CE58PpOIN0XO4QulVqEfWH5aZEUbMgjqTCiNdUQAGMhSaeYT h+Fg== X-Gm-Message-State: AOJu0YwtLNwUH+m+pbp4tUYUUH3mTe5MnKwDc/7uythfDpdMfweeNKrA AKMuS7wPRYwI3Zx1UCRKg3TB1I6u9mULi8VGF3AhSfmU X-Google-Smtp-Source: AGHT+IH5i2ffqAqZcZW/XgE5XCqOAP6/iHiC9RccyxBvK0dIG7qD1wdApKscqpG7M2+X3d1NL1wdD3C8VW6enLYMu6M= X-Received: by 2002:a2e:be91:0:b0:2cc:2b93:d888 with SMTP id a17-20020a2ebe91000000b002cc2b93d888mr6696104ljr.64.1702937558234; Mon, 18 Dec 2023 14:12:38 -0800 (PST) MIME-Version: 1.0 References: <1q253p89-q4q9-r0s9-7302-389no49p9s96@hzvpu.rqh> <5s52659p-qo39-75op-32r8-or6n82720722@hzvpu.rqh> In-Reply-To: From: Dean Hung Date: Mon, 18 Dec 2023 16:12:27 -0600 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: M3WHJEINBBQBICS6J46GODXTQHR3ZFBG X-Message-ID-Hash: M3WHJEINBBQBICS6J46GODXTQHR3ZFBG X-MailFrom: deanyhung@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: increase vertical between underbrace and equation List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============1064415092298057393==" --===============1064415092298057393== Content-Type: multipart/alternative; boundary="0000000000003bbd0c060cd00c0d" --0000000000003bbd0c060cd00c0d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you, Wolfgang! On Mon, Dec 18, 2023 at 3:13=E2=80=AFPM Wolfgang Schuster < wolfgang.schuster.lists@gmail.com> wrote: > Aditya Mahajan schrieb am 18.12.2023 um 21:55: > > On Mon, 18 Dec 2023, Aditya Mahajan wrote: > > > >> On Mon, 18 Dec 2023, Dean Hung wrote: > >> > >>> The documentation on underbrace (and overbrace, underbracket, etc...) > in > >>> the ContextGarden wiki seems to be very limited, and I was not able t= o > 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=3D1cm]{x+y+z}_{\mathrm{my text here}} > >> \stopformula > > Actually, realized that you want more distance in the other direction. > One option is to use \vrule. > > > > \underbrace{x+y+z}_{\vrule width 0pt height 1cm\relax\mathrm{my text > here}} > > > > You probably also want \text{...} instead of \mathrm{...}. > > \underbrace{x+y+z}_{\unframed[toffset=3D1cm]{my text here}} > > Wolfgang > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --0000000000003bbd0c060cd00c0d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you, Wolfgang!

On Mon, Dec 18, 2023 at 3:13=E2= =80=AFPM Wolfgang Schuster <wolfgang.schuster.lists@gmail.com> wrote:
Aditya Mahajan schrieb am 18.12.2= 023 um 21:55:
> On Mon, 18 Dec 2023, Aditya Mahajan wrote:
>
>> On Mon, 18 Dec 2023, Dean Hung wrote:
>>
>>> 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 dista= nce.
>>>
>>> There are various solutions available for LaTex, and they requ= ire external
>>> packages (e.g., BigStrut, vphantom) that redefine the strut he= ight.
>>>
>>> I hope I'm missing something simple... Any help would be g= reatly
>>> appreciated!
>> Hey, this is context. We don't need any packages for simple st= uff:
>>
>> \startformula
>> \underbrace[mindepth=3D1cm]{x+y+z}_{\mathrm{my text here}}
>> \stopformula
> Actually, realized that you want more distance in the other direction.= One option is to use \vrule.
>
> \underbrace{x+y+z}_{\vrule width 0pt height 1cm\relax\mathrm{my text h= ere}}
>
> You probably also want \text{...} instead of \mathrm{...}.

\underbrace{x+y+z}_{\unframed[toffset=3D1cm]{my text here}}

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / https://mailman.ntg.nl/mail= man3/lists/ntg-context.ntg.nl
webpage=C2=A0 : https://www.pragma-ade.nl / https://context.aanhet.net= (mirror)
archive=C2=A0 : https://github.com/contextgarden/context=
wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net
___________________________________________________________________________= ________
--0000000000003bbd0c060cd00c0d-- --===============1064415092298057393== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1064415092298057393==--