ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Dean Hung <deanyhung@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] underbrace label across two lines
Date: Wed, 20 Dec 2023 01:00:13 -0600	[thread overview]
Message-ID: <CAOgjQBuHubANA6s=0giic7D0e3Fkdc7bO0j_ojj3n9MyadDszA@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 655 bytes --]

Hi list,

Following on from Aditya's solution to my previous question, I have run
into a separate issue and would appreciate any assistance.

Sometimes text under the underbrace can become quite long, and should be
split into two (or more) lines.  In the example below, "firstline" should
be the top line of the underbrace label, and "secondline" should be on the
lower line of the underbrace label, but as it stands, both are printed on
the same line.

\underbrace[mindepth=0.5cm]{\tf x+y+z}_{\vrule width 0pt height
0.5cm\relax\text{firstline secondline}}

I have tried using \\ and \crlf, but to no avail.

Any help would be greatly appreciated!

Dean

[-- Attachment #1.2: Type: text/html, Size: 869 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2023-12-20  7:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-20  7:00 Dean Hung [this message]
2023-12-20  8:25 ` [NTG-context] " Mikael Sundqvist
2023-12-20 20:55   ` Dean Hung

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='CAOgjQBuHubANA6s=0giic7D0e3Fkdc7bO0j_ojj3n9MyadDszA@mail.gmail.com' \
    --to=deanyhung@gmail.com \
    --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).