From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55981 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: colors without \definecolor Date: Sun, 7 Feb 2010 01:24:24 -0500 (EST) Message-ID: References: <20100204204103.GB10019@aides.aides.com> <4B6BC957.1010205@googlemail.com> <20100205144942.GA689@aides.aides.com> <4B6D2056.7080702@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: ger.gmane.org 1265523889 17338 80.91.229.12 (7 Feb 2010 06:24:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Feb 2010 06:24:49 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 07 07:24:47 2010 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 1Ne0ZY-00068I-Qt for gctc-ntg-context-518@m.gmane.org; Sun, 07 Feb 2010 07:24:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 745EEC9C71; Sun, 7 Feb 2010 07:26:06 +0100 (CET) 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 rjKx2IdtszX8; Sun, 7 Feb 2010 07:26:03 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B1F56C9C33; Sun, 7 Feb 2010 07:26:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4EA6C9C33 for ; Sun, 7 Feb 2010 07:26:02 +0100 (CET) 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 n9Eo8ycn7bJy for ; Sun, 7 Feb 2010 07:25:57 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by balder.ntg.nl (Postfix) with ESMTP id D6B6CC9BD1 for ; Sun, 7 Feb 2010 07:25:56 +0100 (CET) Original-Received: FROM [172.17.169.97] (Unknown [198.212.147.114]) By hellskitchen.mr.itd.umich.edu ID 4B6E5C9B.D12EA.19433 ; Authuser adityam; 7 Feb 2010 01:24:28 EST In-Reply-To: <4B6D2056.7080702@googlemail.com> User-Agent: Alpine 2.01 (LNX 1266 2009-07-14) 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:55981 Archived-At: On Sat, 6 Feb 2010, Wolfgang Schuster wrote: > Am 05.02.10 15:49, schrieb Philipp Gesang: > >> Is there a difference (other than >> syntax) between \colored[rgb] and the according \definecolor[name][rgb] >> -- \color[name] commands? > > No, \colored is \definecolor + \color except you can use it in the form > > \colored[rgb]{...} > > and > > {\colored[rgb]...} > > while \color can only be used as > > \color[rgb]{...}. No. Both \color[rgb]{...} and {\color[rgb]...} are valid \definecolor[myred][r=0.65] \starttext {normal text \color[myred]{red text} normal text} {normal text {\color[myred]red text} normal text} \stoptext Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________