ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Is \not still supported?
@ 2024-09-08 15:19 Wolfgang Schuster
  2024-09-08 18:21 ` [NTG-context] " Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2024-09-08 15:19 UTC (permalink / raw)
  To: ntg-context

Hi,

is the \not command still supported in math mode or should users replace 
it with the combined form, e.g. \notin instead of \not\in.

%%%% begin example
\starttext

\im{x \in M}

\im{x \notin M}

\im{x \not\in M}

\stoptext
%%%% end example

Wolfgang

___________________________________________________________________________________
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] 4+ messages in thread

* [NTG-context] Re: Is \not still supported?
  2024-09-08 15:19 [NTG-context] Is \not still supported? Wolfgang Schuster
@ 2024-09-08 18:21 ` Hans Hagen
  2024-09-08 20:25   ` Wolfgang Schuster
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2024-09-08 18:21 UTC (permalink / raw)
  To: ntg-context

On 9/8/2024 5:19 PM, Wolfgang Schuster wrote:
> Hi,
> 
> is the \not command still supported in math mode or should users replace 
> it with the combined form, e.g. \notin instead of \not\in.
> 
> %%%% begin example
> \starttext
> 
> \im{x \in M}
> 
> \im{x \notin M}
> 
> \im{x \not\in M}
> 
> \stoptext
> %%%% end example
indeed, because old school \not was a symbols that got overlayed.

we could of course make some clever not but i hav eto discuss that with 
MS .. if there are \not cases at all

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@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] 4+ messages in thread

* [NTG-context] Re: Is \not still supported?
  2024-09-08 18:21 ` [NTG-context] " Hans Hagen
@ 2024-09-08 20:25   ` Wolfgang Schuster
  2024-09-08 21:54     ` Aditya Mahajan
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2024-09-08 20:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Hans Hagen schrieb am 08.09.2024 um 20:21:
> On 9/8/2024 5:19 PM, Wolfgang Schuster wrote:
>> Hi,
>>
>> is the \not command still supported in math mode or should users 
>> replace it with the combined form, e.g. \notin instead of \not\in.
>>
>> %%%% begin example
>> \starttext
>>
>> \im{x \in M}
>>
>> \im{x \notin M}
>>
>> \im{x \not\in M}
>>
>> \stoptext
>> %%%% end example
> indeed, because old school \not was a symbols that got overlayed.
>
> we could of course make some clever not but i hav eto discuss that 
> with MS .. if there are \not cases at all

My main reason for the question was to get clarification about the 
status of the command.

Using the proper commands (e.g. \notin) was always the better choice 
because they produce better output than \not does.

Wolfgang

___________________________________________________________________________________
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] 4+ messages in thread

* [NTG-context] Re: Is \not still supported?
  2024-09-08 20:25   ` Wolfgang Schuster
@ 2024-09-08 21:54     ` Aditya Mahajan
  0 siblings, 0 replies; 4+ messages in thread
From: Aditya Mahajan @ 2024-09-08 21:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 8 Sep 2024, Wolfgang Schuster wrote:

> Using the proper commands (e.g. \notin) was always the better choice because
> they produce better output than \not does.

One could do something like this: 

\define[1]\not
  {\ifdefined\csname not#1 \endcsname\relax
      \csname not#1 \endcsname
   \else
      \normalnot#1%
   \fi}

Aditya
___________________________________________________________________________________
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] 4+ messages in thread

end of thread, other threads:[~2024-09-08 21:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-08 15:19 [NTG-context] Is \not still supported? Wolfgang Schuster
2024-09-08 18:21 ` [NTG-context] " Hans Hagen
2024-09-08 20:25   ` Wolfgang Schuster
2024-09-08 21:54     ` Aditya Mahajan

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