ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Strange extra space when using cases in an inner align in math
@ 2024-08-20  9:50 Gerion Entrup
  2024-08-20 10:41 ` [NTG-context] " Mikael Sundqvist
  0 siblings, 1 reply; 5+ messages in thread
From: Gerion Entrup @ 2024-08-20  9:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1.1: Type: text/plain, Size: 717 bytes --]

Hi,

I currently have the case of a strange extra space in math mode when using cases in inner align.

Here is a MWE to demonstrate the problem:
```
\definemathsimplealign[inneralign]
\startdocument
\startformula
	\startalign
		\NC a = b \NR
		\NC \NC \startinneralign[n=3,align={1:right,2:middle,3:left}]
			\NC A \NC = \NC B \NR
			\NC f(x,y) \NC = \NC \startcases
				 \NC \text{strange}  \NC a \NR
				 \NC \text{normal}  \NC b \NR
				 \NC \text{also normal}  \NC b \NR
			\stopcases
		\stopinneralign
	\stopalign
\stopformula
\stopdocument
```

"strange" and "normal" are not aligned what I would expect but strange has more space in front of it.
Is this a usage error or a bug in the math engine?

Best,
Gerion

[-- Attachment #1.1.2: mwe.pdf --]
[-- Type: application/pdf, Size: 12464 bytes --]

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2024-09-27  9:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-20  9:50 [NTG-context] Strange extra space when using cases in an inner align in math Gerion Entrup
2024-08-20 10:41 ` [NTG-context] " Mikael Sundqvist
2024-08-25 13:53   ` Gerion Entrup
2024-08-25 20:11     ` Mikael Sundqvist
2024-09-27  9:24       ` Gerion Entrup

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