[NTG-context] Issue with location parameter in matrix
Jacob Kauffmann
jacobkauffmann at me.com
Mon Jan 9 18:59:50 CET 2023
One trick is to wrap the matrices inside a framed environment and putting the location parameter there:
\starttext
\startformula
\startmatrix[left={\left(},right={\right)}]
\NC A \NC B \NR \NC C \NC D \NR
\stopmatrix
=
\startframed[location=top,frame=no,offset=none]
\startmatrix[left={\left(},right={\right)}]
\NC A \NC B \NR \NC C \NC D \NR
\stopmatrix
\stopframed
=
\startframed[location=bottom,frame=no,offset=none]
\startmatrix[left={\left(},right={\right)}]
\NC A \NC B \NR \NC C \NC D \NR
\stopmatrix
\stopframed
\stopformula
\stoptext
> Am 06.01.2023 um 17:48 schrieb Jacob Kauffmann via ntg-context <ntg-context at ntg.nl>:
>
> Signierter PGP-Teil
> Hi all,
>
> Thank you for your recent assistance with calligraphic math fonts.
>
> I am trying to use a matrix example from math-ali.mkxl, but I am running into an issue.
> When I try to use the location parameter, I receive the error
> A <box> was supposed to be here.
>
> I have also tried both location=bottom and location=top, but both give the same error.
>
> Do you have any ideas on how I can get the matrix in the desired locations?
> Thank you in advance for your help.
>
> Best regards,
> Jacob
>
> \starttext
>
> \startformula
> \startmatrix[left={\left(},right={\right)}]
> \NC A \NC B \NR \NC C \NC D \NR
> \stopmatrix
> =
> \startmatrix[left={\left(},right={\right)},location=low]
> \NC A \NC B \NR \NC C \NC D \NR
> \stopmatrix
> =
> \startmatrix[left={\left(},right={\right)},location=high]
> \NC A \NC B \NR \NC C \NC D \NR
> \stopmatrix
> \stopformula
>
> \stoptext
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20230109/e1778256/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20230109/e1778256/attachment.sig>
More information about the ntg-context
mailing list