From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69936 Path: news.gmane.org!not-for-mail From: Andreas Richter Newsgroups: gmane.comp.tex.context Subject: theorem environment Date: Wed, 13 Jul 2011 07:15:26 +0200 Message-ID: <4E1D29EE.4020309@googlemail.com> 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: dough.gmane.org 1310537086 31736 80.91.229.12 (13 Jul 2011 06:04:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2011 06:04:46 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 13 08:04:40 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QgsYq-0003Mx-Bj for gctc-ntg-context-518@m.gmane.org; Wed, 13 Jul 2011 08:04:40 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C94BCAE1E; Wed, 13 Jul 2011 08:04:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gKTXmLJPfIoi; Wed, 13 Jul 2011 08:04:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C57C5CAD97; Wed, 13 Jul 2011 08:04:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2FD0BCAD97 for ; Wed, 13 Jul 2011 07:15:45 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bOQZ8OeBP-m9 for ; Wed, 13 Jul 2011 07:15:32 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id E7453CAC8D for ; Wed, 13 Jul 2011 07:15:31 +0200 (CEST) Original-Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6D5FUFj032011 for ; Wed, 13 Jul 2011 07:15:31 +0200 Original-Received: by fxe23 with SMTP id 23so5405438fxe.15 for ; Tue, 12 Jul 2011 22:15:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=R7N34+9cnHWhHJo6vrQH7Em9I+ko13hg8mecfZazGdE=; b=voKfcQ3diDC4NlYyoOAtIGd3ARQJFIbzQ6xYcTKF3snRkHqmgFtJIJR9OZ5L+RBK8R wIhVLULS/BgJ7QFNeInPO1Jh4sxlIz3fTwI5uIE2SmveGbOf2mkIbPK911DXJGO+swv7 iOZqbvK170BI862IuBZrFxS3Dyzev2yZsYRV8= Original-Received: by 10.223.20.154 with SMTP id f26mr1075747fab.104.1310534130690; Tue, 12 Jul 2011 22:15:30 -0700 (PDT) Original-Received: from [192.168.2.102] (p54BC6EDD.dip.t-dialin.net [84.188.110.221]) by mx.google.com with ESMTPS id n20sm6970722fad.40.2011.07.12.22.15.28 (version=SSLv3 cipher=OTHER); Tue, 12 Jul 2011 22:15:29 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.42; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dF7hfuSw - f90d2417bdda - 20110713 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-Mailman-Approved-At: Wed, 13 Jul 2011 08:04:31 +0200 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:69936 Archived-At: Hello, Using ConTeXt, I would like to define environments to appear like ---------------------------------------------- Theorem 1.4 (Pythagoras) In any right triangle, $c^2 = a^2 + b^2$ holds where ... ---------------------------------------------- and --- Example 1.1 ------------------- Let $a=2$ ... ----------------------------------- and (e. g. small, slanted or whatever) Remark 1.3 ---------- | Euclidean ... | ... . After browsing the documentation on the web, focussing on \defineenummeration, I'm still nowhere near the solution. Could anyone please give examples of how to do this? Regards, Andreas ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________