Re: Capital K as operator like \sum

Florent Michel <[email protected]> Mon, 15 Jun 2026 13:31:17 +0100
Newsgroups gmane.comp.tex.context
Message-ID <CALOhoeKiP80=TXT3fbuuvbsvntkzNwhJ1ox=J-mG1_9xVppjxA@mail.gmail.com>
Hi,

Maybe something like that? (The numbers may need to be adjusted to get a
good output; I presume there must be a more automatic solution.)

\def\kb{%
  \mathop{%
    \mathchoice
      {\lower.7ex\hbox{\switchtobodyfont[20pt]$\Kappa$}}
      {\lower.5ex\hbox{\switchtobodyfont[14pt]$\Kappa$}}
      {\lower.35ex\hbox{\switchtobodyfont[10pt]$\Kappa$}}
      {\lower.25ex\hbox{\switchtobodyfont[7pt]$\Kappa$}}
  }
}

\starttext
  \startformula
    \kb_{i=1}^\infty\frac{a_i}{b_i} \ne \sum_{i=1}^\infty \frac1{2^i}
  \stopformula
  \startformula
    2^{\kb_{i=1}^\infty\frac{a_i}{b_i}} \ne 2^{\sum_{i=1}^\infty
\frac1{2^i}}
  \stopformula
\stoptext

Cheers,
Florent

Le lun. 15 juin 2026 à 12:26, Matthias Weber <[email protected]> a
écrit :

> Dear All,
>
> 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
>
>
> But that obviously doesn't look good.
>
> Thanks,
>
> Matthias
>
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________