Dear List,

I would like to get something like:

1.1 Theorem instead of Theorem 1.1.

Seems simple enough but can't figure out how to switch the number and the
text. I have the following MWE:

\defineenumeration[theorem][
  prefix=chapter,
  text=Theorem,
  style=italic,
  headstyle=bold,
  headcommand=\groupedcommand{}{.},
]
\starttext

\chapter{}
\section{}
\starttheorem
This is a theorem
\stoptheorem
\stoptext

Many thanks,
Jethro
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
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
___________________________________________________________________________________

Reply via email to