ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mikael P. Sundqvist" <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Strange behavior in math mode: < and minus sign give leftarrow
Date: Wed, 10 Apr 2019 09:40:51 +0200	[thread overview]
Message-ID: <CAHy-LL-J2iv_jTLv87U5xA8dJRj_OGSPgqZhW0eo8NjodnQ0Vg@mail.gmail.com> (raw)
In-Reply-To: <6184EE48-2A2F-4C6A-BD78-1919E1E94A23@gmail.com>

On Wed, Apr 10, 2019 at 9:21 AM Otared Kavian <otared@gmail.com> wrote:
>
> Hi Hans,
>
> While testing old documents with lmtx, I noticed that with recent versions of mkiv, as well as LuaMetaTeX, there is a strange behavior in math mode: when the characters < and - follow each other one gets \leftarrow… This is embarrassing when one writes inequalities for negative numbers.
> So one has to separate them in order to obtain with curly braces. Can this be fixed or is it intended ?
>
> \starttext
> $\alpha < -1$
>
> $\alpha \leftarrow 1$
>
> $\alpha < {-1}$
>
> $\alpha {<} - 1$
> \stoptext
>
> Best regards: OK
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

Hi!

I asked about this before, and it is a feature.

It can be switched off with

\setupmathematics[
collapsing=1,
]

Hope it helps!

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2019-04-10  7:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-10  7:21 Otared Kavian
2019-04-10  7:40 ` Mikael P. Sundqvist [this message]
2019-04-10  7:53   ` Hans Hagen
2019-04-10  8:09     ` Otared Kavian
2019-04-10 14:41       ` Alan Braslau
2019-04-10 12:19     ` Aditya Mahajan
2019-04-10 21:01       ` Hans Hagen
2019-04-10  7:57   ` Otared Kavian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHy-LL-J2iv_jTLv87U5xA8dJRj_OGSPgqZhW0eo8NjodnQ0Vg@mail.gmail.com \
    --to=mickep@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).