From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Theorems with arguments like amsthm
Date: Fri, 29 May 2009 15:15:10 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.00.0905291512480.18523@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <4A202390.6050602@telefonica.net>
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
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
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-05-29 19:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-29 18:04 Xan
2009-05-29 19:15 ` Aditya Mahajan [this message]
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=alpine.LNX.2.00.0905291512480.18523@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--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).