From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49518 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Demostrations ala AMS Date: Fri, 17 Apr 2009 15:36:59 +0200 Message-ID: <49E885FB.7000908@telefonica.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1239975514 15300 80.91.229.12 (17 Apr 2009 13:38:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 Apr 2009 13:38:34 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 17 15:39:53 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 1LuoHm-0008Gb-Ki for gctc-ntg-context-518@m.gmane.org; Fri, 17 Apr 2009 15:39:18 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 51DB01FB49; Fri, 17 Apr 2009 15:37:50 +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 03584-08; Fri, 17 Apr 2009 15:37:15 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A81331FADF; Fri, 17 Apr 2009 15:37:15 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4C2E81FADF for ; Fri, 17 Apr 2009 15:37:14 +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 00594-04 for ; Fri, 17 Apr 2009 15:37:07 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 0D8731FAD7 for ; Fri, 17 Apr 2009 15:37:07 +0200 (CEST) Original-Received: from ctsmtpout3.frontal.correo (outmailhost.telefonica.net [213.4.149.242]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n3HDax1a012083 for ; Fri, 17 Apr 2009 15:37:02 +0200 Original-Received: from [172.26.0.4] (83.55.69.81) by ctsmtpout3.frontal.correo (7.2.056.6) (authenticated as dxpublica) id 49E649600005F49F for ntg-context@ntg.nl; Fri, 17 Apr 2009 15:36:59 +0200 User-Agent: Thunderbird 2.0.0.21 (X11/20090318) 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: 210212761 - 82b01c948a47 - 20090417 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:49518 Archived-At: Hi, I like to have the same environments in ConTeXt like in amsthm LaTeX. With defineenumeration I did emulate thm and others, but now I trying to = have something like demostration. My code is: % AMSTHM \defineenumeration [exercici] = [text=3D{Problema},headstyle=3Dbold,between=3D\blank,titledistance=3D0em,te= xtdistance=3D1em, stopper=3D{.\space},location=3Dserried,left=3D{\bgroup\bf},right=3D{\egroup= },width=3Dfit, before=3D{\bgroup\startframedtext[background=3Dscreen,frame=3Doff,width=3Db= road]}, after=3D{\stopframedtext\egroup}] \defineenumeration [lemma] = [text=3D{Lema},headstyle=3Dbold,between=3D\blank,titledistance=3D0em,textdi= stance=3D1em, stopper=3D{.\space},location=3Dserried,left=3D{\bgroup\bf},right=3D{\egroup= },width=3Dfit,style=3Ditalic] \definedescription[demo][location=3Dserried,text=3D{Demostraci=F3n.},headst= yle=3Dbold, indentnext=3Dyes,between=3D\blank,before=3D{\bgroup},after=3D{$\Box$\egroup= }] The **problem** is how to put qed symbol (for example $\Box$ in my case) = at the end of demo. I try with after but it's not works: \Box appears in = the next line at the begginning. Can someone help me? Thanks, Xan. ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________