[NTG-context] Multiline text in mathmode
Johann Birnick
johann.birnick at hotmail.de
Thu Jun 30 16:03:53 CEST 2022
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 at 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
> ______________________________________________________________________________
> _____
More information about the ntg-context
mailing list