ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Multiline text in mathmode
@ 2022-06-29  9:42 Johann Birnick via ntg-context
  2022-06-29 18:12 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Johann Birnick via ntg-context @ 2022-06-29  9:42 UTC (permalink / raw)
  To: ntg-context; +Cc: Johann Birnick

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

Hey there,

does anybody know how to obtain a similar result as in the attached screenshot?
I'm only asking about the multiline text in the big braces, the rest I know.

Thank you,
Johann

[-- Attachment #2: screenshot.png --]
[-- Type: image/png, Size: 62434 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiline text in mathmode
  2022-06-29  9:42 Multiline text in mathmode Johann Birnick via ntg-context
@ 2022-06-29 18:12 ` Hans Hagen via ntg-context
  2022-06-29 23:34   ` Johann Birnick via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2022-06-29 18:12 UTC (permalink / raw)
  To: Johann Birnick via ntg-context; +Cc: Hans Hagen

[-- Attachment #1: Type: text/plain, Size: 793 bytes --]

On 6/29/2022 11:42 AM, Johann Birnick via ntg-context wrote:
> Hey there,
> 
> does anybody know how to obtain a similar result as in the attached screenshot?
> I'm only asking about the multiline text in the big braces, the rest I know.
If you can wait a few days ... see attached. Mikael and I are currently 
testing some of the latest updates to the math machinery and there will 
be an intermediate update in a few days before we enter a next stage.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------

[-- Attachment #2: paragraph-001.pdf --]
[-- Type: application/pdf, Size: 19389 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiline text in mathmode
  2022-06-29 18:12 ` Hans Hagen via ntg-context
@ 2022-06-29 23:34   ` Johann Birnick via ntg-context
  2022-06-30  5:13     ` Aditya Mahajan via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Johann Birnick via ntg-context @ 2022-06-29 23:34 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Johann Birnick

I guess you will update to LMTX..? Unfortunately I use MkIV, because of other
math bugs in LMTX. Do you know any (can be ugly) way of doing this without the
new stuff?

Johann

On Wed, 2022-06-29 at 20:12 +0200, Hans Hagen via ntg-context wrote:
> On 6/29/2022 11:42 AM, Johann Birnick via ntg-context wrote:
> > Hey there,
> > 
> > does anybody know how to obtain a similar result as in the attached
> > screenshot?
> > I'm only asking about the multiline text in the big braces, the rest I know.
> If you can wait a few days ... see attached. Mikael and I are currently 
> testing some of the latest updates to the math machinery and there will 
> be an intermediate update in a few days before we enter a next stage.
> 
> Hans
> 
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ______________________________________________________________________________
> _____
> 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
> ______________________________________________________________________________
> _____
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiline text in mathmode
  2022-06-29 23:34   ` Johann Birnick via ntg-context
@ 2022-06-30  5:13     ` Aditya Mahajan via ntg-context
  2022-06-30  5:58       ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Mahajan via ntg-context @ 2022-06-30  5:13 UTC (permalink / raw)
  To: Johann Birnick via ntg-context; +Cc: Aditya Mahajan

On Thu, 30 Jun 2022, Johann Birnick via ntg-context wrote:

> I guess you will update to LMTX..? Unfortunately I use MkIV, because of other
> math bugs in LMTX. Do you know any (can be ugly) way of doing this without the
> new stuff?

You could just use a framed. 

\define[1]\multilinetext{\vcenter{\framed[align=middle,frame=off]{#1}}}

\startTEXpage[offset=2mm]
  \startformula
    \left\{ \multilinetext{Quaternion algebra over $\rationals$ \\ up to
    isomorphisms} \right\}
  \stopformula
\stopTEXpage

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiline text in mathmode
  2022-06-30  5:13     ` Aditya Mahajan via ntg-context
@ 2022-06-30  5:58       ` Hans Hagen via ntg-context
  2022-06-30 14:03         ` Johann Birnick via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2022-06-30  5:58 UTC (permalink / raw)
  To: ntg-context; +Cc: Hans Hagen

On 6/30/2022 7:13 AM, Aditya Mahajan via ntg-context wrote:
> On Thu, 30 Jun 2022, Johann Birnick via ntg-context wrote:
> 
>> I guess you will update to LMTX..? Unfortunately I use MkIV, because of other
>> math bugs in LMTX. Do you know any (can be ugly) way of doing this without the
>> new stuff?
> 
> You could just use a framed.
> 
> \define[1]\multilinetext{\vcenter{\framed[align=middle,frame=off]{#1}}}
> 
> \startTEXpage[offset=2mm]
>    \startformula
>      \left\{ \multilinetext{Quaternion algebra over $\rationals$ \\ up to
>      isomorphisms} \right\}
>    \stopformula
> \stopTEXpage
indeed, the lmtx definiton sis similar:

\permanent\tolerant\protected\def\mparagraph[#1]#*#:#2%
   {\vcenter class \mathconstructcode \bgroup
      \framed
        [\c!offset=\v!overlay,
         \c!frame=\v!overlay,
         \c!align=\v!middle,
         #1]{#2}%
    \egroup}

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Multiline text in mathmode
  2022-06-30  5:58       ` Hans Hagen via ntg-context
@ 2022-06-30 14:03         ` Johann Birnick via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Johann Birnick via ntg-context @ 2022-06-30 14:03 UTC (permalink / raw)
  To: ntg-context; +Cc: Johann Birnick

Thank you!

On Thu, 2022-06-30 at 07:58 +0200, Hans Hagen via ntg-context wrote:
> On 6/30/2022 7:13 AM, Aditya Mahajan via ntg-context wrote:
> > On Thu, 30 Jun 2022, Johann Birnick via ntg-context wrote:
> > 
> > > I guess you will update to LMTX..? Unfortunately I use MkIV, because of
> > > other
> > > math bugs in LMTX. Do you know any (can be ugly) way of doing this without
> > > the
> > > new stuff?
> > 
> > You could just use a framed.
> > 
> > \define[1]\multilinetext{\vcenter{\framed[align=middle,frame=off]{#1}}}
> > 
> > \startTEXpage[offset=2mm]
> >    \startformula
> >      \left\{ \multilinetext{Quaternion algebra over $\rationals$ \\ up to
> >      isomorphisms} \right\}
> >    \stopformula
> > \stopTEXpage
> indeed, the lmtx definiton sis similar:
> 
> \permanent\tolerant\protected\def\mparagraph[#1]#*#:#2%
>    {\vcenter class \mathconstructcode \bgroup
>       \framed
>         [\c!offset=\v!overlay,
>          \c!frame=\v!overlay,
>          \c!align=\v!middle,
>          #1]{#2}%
>     \egroup}
> 
> Hans
> 
> -----------------------------------------------------------------
>                                            Hans Hagen | PRAGMA ADE
>                Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>         tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
> -----------------------------------------------------------------
> ______________________________________________________________________________
> _____
> 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
> ______________________________________________________________________________
> _____
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-06-30 14:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29  9:42 Multiline text in mathmode Johann Birnick via ntg-context
2022-06-29 18:12 ` Hans Hagen via ntg-context
2022-06-29 23:34   ` Johann Birnick via ntg-context
2022-06-30  5:13     ` Aditya Mahajan via ntg-context
2022-06-30  5:58       ` Hans Hagen via ntg-context
2022-06-30 14:03         ` Johann Birnick via ntg-context

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).