Dear Aditya, 


yes, thank you so much, this works. 


Uschi 


Von: Aditya Mahajan <adityam@umich.edu>
Gesendet: Freitag, 17. November 2023 15:47:40
An: mailing list for ConTeXt users
Betreff: [NTG-context] Re: It works after a few changes but ..
 
On Fri, 17 Nov 2023, Ursula Hermann wrote:

> Dear List,
> After a few changes i have here an example:
> It works, but what I wanted to know is why are there
>
> round brackets after writing \starttheroem if i compile it.
> Should be without round brackets.

Are you looking for something like this?

\defineenumeration
  [theorem]
  [   
    text=Theorem,
    title=yes,
    width=fit,
    distance=0.5em,
    alternative=serried,
  ]

\starttext
  \starttheorem
    The square on the hypotenuse is equal to the sum of the squares on the
    other two sides. Ach is das schön, dass du da bist
  \stoptheorem
\stoptext

Aditya