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: Sat, 30 May 2009 11:32:15 +0200	[thread overview]
Message-ID: <4A20FD1F.4060708@telefonica.net> (raw)
In-Reply-To: <4A203D14.90006@telefonica.net>


> Hi Xan,
>
> Thanks to your example and Aditya's explanantion I learned too…
>   

I'm glad for that :-)
> Here is how you can get what you want:
>
> %%% begin example
>
> \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,
> 	title=yes,
> 	titledistance=.3em,
> 	titlestyle=sc] % or italic, or whatever you like
>
>   

I think titledistance=1ex is better spacing. I don' t know what is 
exactly the space between number and (). What width has space?
> \starttext
>
> \startlemma[reference]{ A brilliant result}
> If $a=2$ then the set $H(a)$ is not empty.
> \stoplemma
>
> \stoptext
>
> %%% end example
>
>
> Best regards: OK
>   

Thanks to you, Otared.

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
___________________________________________________________________________________

  parent reply	other threads:[~2009-05-30  9:32 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
2009-05-29 20:05     ` Otared Kavian
2009-05-30  9:32     ` Xan [this message]
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=4A20FD1F.4060708@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).