> On 15 May 2016, at 19:14, Hans Hagen <pra...@wxs.nl> wrote:
> 
> On 5/15/2016 2:33 PM, Hans Åberg wrote:
>> 
>>> On 14 May 2016, at 23:26, Aditya Mahajan <adit...@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
> 
> why not use something more natural unicode
> 
> \startformula  \zwnj^2 - a \stopformula

The TeX Book recommends using {} for superscripts to the lefts side, eg.
\startformula  {}_a^b C_d^e \stopformula

What is \zwnj?


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to