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
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 -----------------------------------------------------------------
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 ______________________________________________________________________________ _____
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
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 -----------------------------------------------------------------
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 ______________________________________________________________________________ _____
participants (3)
-
Aditya Mahajan
-
Hans Hagen
-
Johann Birnick