Hi Mikael,
On Mon, May 01, 2023 at 05:48:40PM +0200, Mikael Sundqvist via ntg-context
wrote:
> [...]
> This works here (but maybe there should be a simpler way):
>
> \definemathfunction
> [argmax]
> [mathlimits=auto]
>
> \setupmathlabeltext
> [en]
>
t; Stefan
>
> [1]: https://wiki.contextgarden.net/Math/functions
This works here (but maybe there should be a simpler way):
\definemathfunction
[argmax]
[mathlimits=auto]
\setupmathlabeltext
[en]
[argmax=arg\sixperemspace max
tstyle=bold,
textcolor=green]
\starttext
$\arsinh x\ \text{and}\ n_{\mtext{air}}$.
\stoptext
———
or, alternatively this (if the user wants also to define a label text for
his function):
———
\setupmathlabeltext[arsinh=Arsinh]
\definemathcommand[arsinh]{\normalmathop
Sorry, I did 3 typos in my previous post.
— First typo:
> 3. Using only \mathlabeltext with \setuplabeltext is also more consistent
with the current \labeltext that works with \setuplabeltext.
3. Using only \mathlabeltext with \setupmathlabeltext is also more
consistent with the curr
>> Here is the example:
>>
>> % begin weaklim.tex
>> \definemathcommand [weaklim] [limop] {\mfunctionlabeltext{weaklim}}
>> \starttext
>>
>>
ps to define the label
\setupmathlabeltext[en][weaklim=wlim]
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 8