Hi Taco,

> This should normally work, but it depends on the current math
> encoding (see the math-xxx.tex files  in the distribution):
>
>    \definemathcharacter [+] [ord] [mr] ["2B] % [bin] is default

Just tried this but to no avail :-( It seems like the definition  
isn't found at all:

---

\def\ket#1{\lvert#1\rangle}

\startmathcollection[default]
        \definemathcharacter [myplus] [ord] [mr] ["2B]
\stopmathcollection

\starttext

Note the spacing in
\startformula
\startmathalignment
\NC\ket{+}\NR
\NC\ket{++}\NR
\NC\ket{+++}\NR
\NC\ket{++++}\NR
\NC\ket{\myplus\myplus\myplus\myplus}\NR
\NC\ket{000}\NR
\stopmathalignment
\stopformula

\stoptext

---

Is this caused by some wrong math encoding scheme? Or is there  
something else that I miss?

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

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to