Re: Capital K as operator like \sum

Mikael Sundqvist <[email protected]> Mon, 15 Jun 2026 17:16:06 +0200
Newsgroups gmane.comp.tex.context
Message-ID <CAHy-LL-tP+LSvbj0+qY1i0cs0-DMOs6SC8-by+9JV2LU-4sToA@mail.gmail.com>
Hi,

On Mon, 15 Jun 2026 at 16:54, Matthias Weber <[email protected]> wrote:
>
> I have tried this (copying what is done in math-lop.mkxl)
>
> \unprotect
> \definemathoperator [cfracts]
> \setupmathoperators [cfracts]  [\c!size=\v!auto]
> \definemathoperator [kb]       [cfracts]   [\c!left="039A]
> %\registermathsymbolcommand "039A \kb
>
> \protect
>
> \starttext
> \startformula
> \kb_{i=1}^\infty \frac1i \ne \sum_{i=1}^\infty \frac1i
> \stopformula
> \stoptext
>
>
> But the K does not scale for reasons beyond my limited understanding.

No scaling is used for other operators either. For the integral, for
example, different sizes are used (the font has different sizes) in
different situations. If the font has an extensible mechanism for it,
it can grow just as a parenthesis can. But the glyph itself is not
scaled.

So, the proper solution here is probably to fix/use a font that has
this operator K (I guess not unicode exists for it), also with a
larger variant. Letting it scale arbitrarily will probably not look
good.

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

maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________