27 Apr
2015
27 Apr
'15
1:55 p.m.
On Mon, 27 Apr 2015, Maggyero wrote:
do you have an example of usage
Yes, I am trying to create the command \operatorname in ConTeXt. I know that in LaTeX \operatorname{xyz} is equivalent to
\mathop{\newmcodes@\kern\z@\operator@font xyz}\csname nolimits@\endcsname}
I also know that there is the ConTeXt command \definemathcommand[nolop]{xyz} which I thought stands as an equivalent to the \operatorname wrapper \DeclareMathOperator, but apparently not since it doe not use the 3 commands 1. \newmcodes@ 2. \kern\z@ 3. \operator@font in it, so I wonder the point of such a wrapper since all it seems it does is translates to
Does \definemathcommand [xyz] [nolop] {xyz} do what you want? Aditya