From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70262 Path: news.gmane.org!not-for-mail From: Paul Menzel Newsgroups: gmane.comp.tex.context Subject: Re: theorem environment: Is *enumeration* or the `annotation` module recommended? Date: Mon, 25 Jul 2011 00:59:34 +0200 Message-ID: <1311548374.3866.98.camel@mattotaupa> References: <4E1D29EE.4020309@googlemail.com> <793DC50B-3E68-4908-B936-E94D51293866@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1116733984==" X-Trace: dough.gmane.org 1311548401 9741 80.91.229.12 (24 Jul 2011 23:00:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 24 Jul 2011 23:00:01 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 25 00:59:57 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 1Ql7eO-0001Zc-Qx for gctc-ntg-context-518@m.gmane.org; Mon, 25 Jul 2011 00:59:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E3F4CCAE73; Mon, 25 Jul 2011 00:59:55 +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 86r651FovwrD; Mon, 25 Jul 2011 00:59:53 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EF8DECAE55; Mon, 25 Jul 2011 00:59:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B9D6ACAE55 for ; Mon, 25 Jul 2011 00:59:50 +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 Jn4KJ7UzxwBf for ; Mon, 25 Jul 2011 00:59:38 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id 2779DCAE44 for ; Mon, 25 Jul 2011 00:59:38 +0200 (CEST) Original-Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6OMxaIn032265 for ; Mon, 25 Jul 2011 00:59:37 +0200 Original-Received: from f053045092.adsl.alicedsl.de ([78.53.45.92] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ql7f2-0000R1-9R for ntg-context@ntg.nl; Sun, 24 Jul 2011 23:00:36 +0000 In-Reply-To: <793DC50B-3E68-4908-B936-E94D51293866@googlemail.com> X-Mailer: Evolution 2.32.3 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=188.40.100.199; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06FbWXBTm - acfa05b412fd - 20110725 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:70262 Archived-At: --===============1116733984== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-RSKabZfQshGIsUVH+D5Q" --=-RSKabZfQshGIsUVH+D5Q Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear Wolfgang, Am Mittwoch, den 13.07.2011, 15:11 +0200 schrieb Wolfgang Schuster: > Am 13.07.2011 um 07:15 schrieb Andreas Richter: [=E2=80=A6] > > 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? >=20 > You can change the style, color and spacing with \setupenumerations > but for the rules etc. you need other commands. >=20 > \defineenumeration[theorem][text=3DTheorem,title=3Dyes] > \defineenumeration[example][text=3DExample] > \defineenumeration[remark] [text=3DRemark] >=20 > \setupenumerations > [theorem] > [ before=3D{\startframedtext[frame=3Doff,topframe=3Don,bottomframe=3D= on,width=3Dbroad,offset=3D.5ex]}, > after=3D\stopframedtext, > inbetween=3D{\blank[small]}] the first off topic question is, what editor do you use and what commands to align the options at the =C2=BB=3D=C2=AB? > \setupenumerations > [example] > [ command=3D\textrule, > after=3D\textrule, > inbetween=3D{\blank[nowhite]}] >=20 > \setupenumerations > [remark] > [style=3Ditalic] [=E2=80=A6] My second question is, what is the recommended way to define theorems? The Wiki [1] says `\setupenumarations` as you did, but if I am not mistaken there was a thread where your module `annotations` was used. What is more =E2=80=9Cfuture proof=E2=80=9D and recommended? Thanks, Paul [1] http://wiki.contextgarden.net/Latex_Packages#theorem --=-RSKabZfQshGIsUVH+D5Q Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEABECAAYFAk4so9YACgkQPX1aK2wOHViBDQCdG93/qpFFt9LUhaPC3P8KYeFe 2fgAn1Omtyr2To9eSrFSh5XUbvcXJ78b =V8OZ -----END PGP SIGNATURE----- --=-RSKabZfQshGIsUVH+D5Q-- --===============1116733984== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1116733984==--