En/na Xan ha escrit:
On Fri, 29 May 2009, Xan wrote:
/ Hi, />/ />/ I have my environment of context that defines the theorems and lemmas like />/ amsthm in latex. For example, for lemmas, I have: />/ />/ \defineenumeration />/ [lemma] />/ [text={Lemma},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, />/ stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,style=italic] />/ />/ The question is how can I get the typical argument of lemmas: "Lema 4.1 />/ (superadditive lemma)"? How can I add the possibility that lemma _could_ have />/ one argument (the phrase in parentesis)?. />/ I'm not a TeX programmer, such a ConTeXt user. />/ />/ Any hint? / Use [title=yes] and then
\startlemma[reference]{A brilliant result} ... \stoplemma
But if I do that, there is no space between the parentesis and number (like "Theorem 4.1(My great result)" and the parentesis and the contents of the parentesis are in bold. How can I solve that?
For details, see my article in last year's MAPS.
Theorems in ConTeXt (English), MAPS 36, 2008, 27-32 (http://www.ntg.nl/maps/36/index.html)
Unfortunately, the issue is not available online yet.
Aditya
Yes, I tried to download it previosly (because I think it's missing documentation about something equivalent of amsthm in context) and I get that.... Can you give me it privately? Regards, a lot, Xan.