![](https://secure.gravatar.com/avatar/f9e9dd3220e37293a296542813bee6bd.jpg?s=120&d=mm&r=g)
Selon Aditya Mahajan
Quoting morgan.brassel@free.fr:
Selon Aditya Mahajan
: On Wed, 30 Jan 2008, morgan.brassel@free.fr wrote:
Hi,
I need to typeset theorems with ConTeXt, and I would like to get your advice before I begin. I read an interesting post about it on the dev list:
Enhancements to core-des for theorems
http://archive.contextgarden.net/message/20070601.055815.50e07e4d.en.html
But I was unable to understand the very conclusion of it... Are there
some
particular commands concerning theorems? or is \setupenumerations the only solution?
Enumerations have been enhanced to take care of theorems. See if the examples on the mailing list can get you started. Otherwise, just ask here.
Thank you. Actually, I already have a question about the endmarker option. The following example doesn't produce any endmark. Am I missing anything?
Yes, the sanitizing of options done by Hans. Use closesymbol=X.
Thank you, Aditya. I hadn't noticed that... Best regards, Morgan
Aditya
\defineenumeration[theorem][endmarker=X] \starttext \starttheorem Hello \stoptheorem \stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net
___________________________________________________________________________________