Re: Capital K as operator like \sum

Matthias Weber <[email protected]> Mon, 15 Jun 2026 10:51:52 -0400
Newsgroups gmane.comp.tex.context
Message-ID <[email protected]>
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.

Matthias

> On Jun 15, 2026, at 9:18 AM, Henning Hraban Ramm <[email protected]> wrote:
> 
> Am 15.06.26 um 13:22 schrieb Matthias Weber:
>> Gauss introduced the capital Greek letter K to denote continued fractions (“Kettenbruch”), using it like Sigma in \sum and Pi in \prod.
>> Is there a way to add the K as an operator so that it scales and behaves like \sum and \prod?
>> I have tried the MNWE
>> \definemathsymbol[kb][operator]["039A] % capital Greek Kappa
>> \starttext
>> \startformula
>> \kb_{i=1}^\infty\frac{a_i}{b_i} \ne \sum_{i=1}^\infty \frac1{2^i}
>> \stopformula
>> \stoptext
> 
> There’s \definemathoperator and \setupmathoperator; have a look into the math manual (mathincontext) if there’s enough information.
> 
> Hraban
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________

___________________________________________________________________________________
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
___________________________________________________________________________________