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: Re: Theorems with arguments like amsthm
Date: Fri, 29 May 2009 21:52:52 +0200	[thread overview]
Message-ID: <4A203D14.90006@telefonica.net> (raw)
In-Reply-To: <4A203BE0.5040208@telefonica.net>

En/na Xan ha escrit:
> 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?

Mmm... with \titledistance I have to put space between () and numbers. 
But what is the dimensions of one space? 1em?

Now it remains only the bold topic.
Thanks a lot,
Xan.
>
>
>> 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
___________________________________________________________________________________


  reply	other threads:[~2009-05-29 19:52 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
2009-05-29 19:47 ` Xan
2009-05-29 19:52   ` Xan [this message]
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=4A203D14.90006@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).