From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45468 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: small problem with minimals Date: Tue, 11 Nov 2008 15:45:45 +0100 Message-ID: <115224fb0811110645v43a7db0cwb8a55b26dc81cf74@mail.gmail.com> References: <900ACA75-454E-4609-B1AA-02D6BC65AB49@uni-bonn.de> <49185E5C.2070408@wxs.nl> <6DD4FCC1-3047-4DAE-B11C-0EF8C786CDDE@uni-bonn.de> <49186B7E.1080803@wxs.nl> <115224fb0811110625m7615604diedf8e550eabd79af@mail.gmail.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" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226414870 17244 80.91.229.12 (11 Nov 2008 14:47:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2008 14:47:50 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 11 15:48:51 2008 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 1KzuXp-0006JT-LL for gctc-ntg-context-518@m.gmane.org; Tue, 11 Nov 2008 15:48:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B61DA1FC78; Tue, 11 Nov 2008 15:47:30 +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 12298-01-5; Tue, 11 Nov 2008 15:46:26 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 68E481FC67; Tue, 11 Nov 2008 15:46:24 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 063481FC5D for ; Tue, 11 Nov 2008 15:46:23 +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 08923-10-12 for ; Tue, 11 Nov 2008 15:45:48 +0100 (CET) Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by ronja.ntg.nl (Postfix) with ESMTP id C948A1FC7C for ; Tue, 11 Nov 2008 15:45:47 +0100 (CET) Original-Received: by an-out-0708.google.com with SMTP id d40so544045and.29 for ; Tue, 11 Nov 2008 06:45:47 -0800 (PST) Original-Received: by 10.103.233.12 with SMTP id k12mr4566673mur.36.1226414745748; Tue, 11 Nov 2008 06:45:45 -0800 (PST) Original-Received: by 10.103.213.18 with HTTP; Tue, 11 Nov 2008 06:45:45 -0800 (PST) In-Reply-To: Content-Disposition: inline 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:45468 Archived-At: On Tue, Nov 11, 2008 at 3:36 PM, Aditya Mahajan wrote: > On Tue, 11 Nov 2008, Wolfgang Schuster wrote: > >> And how could one change the font/style for the number? > > Do you mean with textext, or with the macro that Hans is proposing to > define? I mean in the example from Hans with textext(decimal value). > textext(string) will typeset the string using context, so you can add > "\switchtobodyfont[whatever]" in there. > > The new label macro can use labelfont (or defaultfont, I always forget > what metapost uses) to switch the font. In that case there should also be > a label color, unless > draw textext("something") withcolor red ; > works (sorry, I haven't tested this) I prefer \doattributes with a setup command and use this in my modules. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________