Jethro Djan schrieb am 04.05.2024 um 04:57:
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{}{.},
]

\defineenumeration [theorem]
  [...,
   text=,
   stopper=.,
   numbercommand=\groupedcommand{}{ Theorem},
   ...]

or

\defineenumeration [theorem]
  [...,
   text=,
   stopper=.,
   right={ Theorem},
   ...]

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