On 9/14/2026 3:41 PM, Aditya Mahajan wrote:
On Sun, 13 Sep 2026, Hans Hagen via ntg-context wrote:

On 9/13/2026 5:25 AM, Aditya Mahajan wrote:
On Sat, 12 Sep 2026, Mikael Sundqvist wrote:

On Sat, 12 Sept 2026 at 16:33, Fabrice Couvreur
<[email protected]> wrote:

I don't know why the \not\subset symbol isn't correct ?

Try \nsubset. Or \subset\not, I guess the \not is some kind of modifier.

To me \rel\not is really atypical way to write the expression. Is there a
particular reason why the behavior was changed from \not\rel to \rel\not?

\showmakeup[mathglue]

\startTEXpage[offset=1ts]
     \scale[width=1tw]{\strut\im {
         a \rel\not b \nsubset c
     }}

     \tttf
     \blank[2*line] \meaningfull\rel
     \blank[2*line] \meaningfull\not
\stopTEXpage

so \rel ia a atom creator

Sorry, I was using \rel just as a placeholder for any binary relation.

If I understand, the rational is the following. Unicode (for better or worse) 
decided that 0x338 (the glyph corresponding to \not) must come after the binary 
relation; so if I type

0x3C + 0x338

it should show up as

0x226E

In ConTeXt, we map 0x3C to \le and 0x338 to \not. So, to be consistent with 
unicode logic, we simply type \le\not and it gives us \nless. Is this correct?

However, I wonder, if we can still have the equivalent of

\let\originalnot\not
\redefine[1]\not{#1\originalnot}

That way, if someone literally types 0x3C + 0x338, they will get the behavior designed by 
unicode, but typing \not\le will still work "as expected".

redefining \not is not possible because we protect all math character definitions against overload but you can of course say

\protected\def\notso#1{#1\not\relax}

  \im {\notso \le}

and hope for th ebest with:

  \im {\notso}

but then, we have unicode math for a reason ...

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 : [email protected] / 
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
___________________________________________________________________________________

Reply via email to