From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33690 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Re: Some questions about context Date: Tue, 06 Mar 2007 10:26:49 +0100 Message-ID: <45ED33D9.9050206@telefonica.net> References: <45EC1087.7040109@telefonica.net> <20070305144429.a3878c60.schuster.wolfgang@googlemail.com> <45EC79BA.2000509@telefonica.net> <45EC7BBF.4070709@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-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1173173230 6875 80.91.229.12 (6 Mar 2007 09:27:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Mar 2007 09:27:10 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 06 10:27:01 2007 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 1HOVwh-0008PR-B0 for gctc-ntg-context-518@m.gmane.org; Tue, 06 Mar 2007 10:26:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A9DA216D; Tue, 6 Mar 2007 10:22:44 +0100 (CET) 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 17269-01-2; Tue, 6 Mar 2007 10:22:38 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C6AC3110; Tue, 6 Mar 2007 10:22:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C0EED1FDFE for ; Tue, 6 Mar 2007 10:22:37 +0100 (CET) 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 17269-01 for ; Tue, 6 Mar 2007 10:22:35 +0100 (CET) Original-Received: from ctsmtpout4.frontal.correo (smtp.telefonica.net [213.4.149.66]) by ronja.ntg.nl (Postfix) with ESMTP id 49BE8110 for ; Tue, 6 Mar 2007 10:22:35 +0100 (CET) Original-Received: from [192.168.1.4] (83.58.161.14) by ctsmtpout4.frontal.correo (7.2.056.6) (authenticated as DXpublica) id 45ECFA7E00009934 for ntg-context@ntg.nl; Tue, 6 Mar 2007 10:26:50 +0100 User-Agent: Mozilla Thunderbird 1.5.0.9 (X11/20070104) In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:33690 Archived-At: En/na Aditya Mahajan ha escrit: > On Mon, 5 Mar 2007, Xan wrote: > = >> Another question: how get the equivalent of ams theorem package? >> Sorry for no ask this before and another time, thanks > = > enumerations. This is what I ususally do > = > \defineenumeration[theorem][style=3Ditalic,text=3DTheorem,location=3Dhang= ing] > = > \starttheorem > This is an important theorem > \stoptheorem > = > They do almost everything on what is needed for theorems. I am working = > on providing missing features, so if you find something is missing, = > feel free to ask. Thank you very much for give me this opportunity. Enumerations work but I need more customization: 1) How can you change the style of the text (Theorem in our example)? 2) How can you change the position of the counter: "1 Theorem" rather than "Theorem 1" 3) Is it possible to change the counter? In LaTeX, with much effort and help, I could write some code for displaying something like: Theorem [number of theorem].[numberofpageitappears]. .... If you want to see the code, I could give you 4) What about the indentation of the "body" of the theorem?. If you put: \starttheorem This is an important theorem skjdskad sda sdas dsad asdas das dsafs f dsfsdfsdf dfsdf sdf dsfsd fsdfsd fds fdsf ds fsd fds fsdfsdfs fdsfsd f \stoptheorem the text is indented a little bit after the begginning of the line. We could have a normal indentation (like AMS theorem do)? 5) Is there an equivalent to \newenvironment in latex? I think about the demostration: \newenvironment{demo}{\medskip Demostraci=F3.}{\hfill $\Box$} I'm sure all of that is possible to do with context.... And another question (in other topic): how we can do lines at header and footer like fancyheaders in latex? Thanks another time, Xan. > = > Aditya > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context