ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Xan <dxpublica@telefonica.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Theorems with arguments like amsthm
Date: Fri, 29 May 2009 20:04:00 +0200	[thread overview]
Message-ID: <4A202390.6050602@telefonica.net> (raw)

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?

Thanks,
Xan.
___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2009-05-29 18:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-29 18:04 Xan [this message]
2009-05-29 19:15 ` Aditya Mahajan
2009-05-29 19:47 ` Xan
2009-05-29 19:52   ` Xan
2009-05-29 20:05     ` Otared Kavian
2009-05-30  9:32     ` Xan
2009-05-30  9:35       ` Theorems with arguments like amsthm--> demostration space Xan
2009-05-30 12:27         ` Aditya Mahajan
2009-05-30 14:54         ` Xan
2009-05-30 15:12           ` Aditya Mahajan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A202390.6050602@telefonica.net \
    --to=dxpublica@telefonica.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).