[NTG-context] Nolimits not working with Unicode characters

Hans Åberg haberg-1 at telia.com
Sun May 15 14:33:04 CEST 2016

> On 14 May 2016, at 23:26, Aditya Mahajan <adityam at umich.edu> wrote:

> Be careful with empty group in math mode:
> \startformula{}     -a \stopformula
> \startformula\relax -a \stopformula

Maybe a way to distinguish between unary prefix operator “-“, and binary infix operator “-“: {} is interpreted as an empty operand, thus infix “-", whereas \relax is removed from the input meaning no operand, so prefix “-“. But \relax can have sub-/super-scripts, just as {}, and then in both cases, “–“ becomes binary:

\startformula     {}^2 - a \stopformula
\startformula \relax^2 - a \stopformula

More information about the ntg-context mailing list