From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50903 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Re: Theorems with arguments like amsthm Date: Fri, 29 May 2009 21:47:44 +0200 Message-ID: <4A203BE0.5040208@telefonica.net> References: <4A202390.6050602@telefonica.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243626525 32043 80.91.229.12 (29 May 2009 19:48:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 May 2009 19:48:45 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 29 21:48:42 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1MA84G-0000rl-9m for gctc-ntg-context-518@m.gmane.org; Fri, 29 May 2009 21:48:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9241C1FDFE; Fri, 29 May 2009 21:48:39 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16529-05-2; Fri, 29 May 2009 21:47:56 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 628261FD8C; Fri, 29 May 2009 21:47:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 12DFB1FC77 for ; Fri, 29 May 2009 21:47:55 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16529-05 for ; Fri, 29 May 2009 21:47:46 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by ronja.ntg.nl (Postfix) with ESMTP id 5A51F1FD8C for ; Fri, 29 May 2009 21:47:46 +0200 (CEST) Original-Received: from ctsmtpout2.frontal.correo (outmailhost.telefonica.net [213.4.149.242]) by filter3-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4TJljpi016956 for ; Fri, 29 May 2009 21:47:45 +0200 Original-Received: from [172.26.0.4] (81.37.196.250) by ctsmtpout2.frontal.correo (7.2.056.6) (authenticated as dxpublica) id 4A1E4E5F0005CA0E for ntg-context@ntg.nl; Fri, 29 May 2009 21:47:44 +0200 User-Agent: Thunderbird 2.0.0.21 (X11/20090318) In-Reply-To: <4A202390.6050602@telefonica.net> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.4.149.242; country=ES; region=29; city=Madrid; latitude=40.4000; longitude=-3.6833; http://maps.google.com/maps?q=40.4000,-3.6833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 234354874 - a6a2951e8821 - 20090529 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:50903 Archived-At: 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. ___________________________________________________________________________________ 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 ___________________________________________________________________________________