* Issue with location parameter in matrix
@ 2023-01-06 16:48 Jacob Kauffmann via ntg-context
2023-01-09 17:59 ` Jacob Kauffmann via ntg-context
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Kauffmann via ntg-context @ 2023-01-06 16:48 UTC (permalink / raw)
To: ntg-context; +Cc: Jacob Kauffmann
[-- Attachment #1.1.1: Type: text/plain, Size: 868 bytes --]
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
[-- Attachment #1.1.2: Type: text/html, Size: 1738 bytes --]
[-- Attachment #1.2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Issue with location parameter in matrix
2023-01-06 16:48 Issue with location parameter in matrix Jacob Kauffmann via ntg-context
@ 2023-01-09 17:59 ` Jacob Kauffmann via ntg-context
0 siblings, 0 replies; 2+ messages in thread
From: Jacob Kauffmann via ntg-context @ 2023-01-09 17:59 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Jacob Kauffmann
[-- Attachment #1.1.1: Type: text/plain, Size: 1636 bytes --]
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@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
>
>
[-- Attachment #1.1.2: Type: text/html, Size: 2723 bytes --]
[-- Attachment #1.2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
[-- Attachment #2: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-01-09 17:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-06 16:48 Issue with location parameter in matrix Jacob Kauffmann via ntg-context
2023-01-09 17:59 ` Jacob Kauffmann 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).