From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81701 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: How to change the color of numbers just before the footnote text? Date: Mon, 15 Apr 2013 10:52:18 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: multipart/mixed; boundary="===============0205164554==" X-Trace: ger.gmane.org 1366016002 9964 80.91.229.3 (15 Apr 2013 08:53:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Apr 2013 08:53:22 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Apr 15 10:53:26 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from [195.12.62.10] (helo=balder.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1URfAC-0000aC-Ph for gctc-ntg-context-518@m.gmane.org; Mon, 15 Apr 2013 10:53:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CE5761032F; Mon, 15 Apr 2013 10:52:23 +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 2i6V-qUVcRZB; Mon, 15 Apr 2013 10:52:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 4F2BE10329; Mon, 15 Apr 2013 10:52:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D992010329 for ; Mon, 15 Apr 2013 10:52:20 +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 O2Hhu7ed+HS1 for ; Mon, 15 Apr 2013 10:52:20 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 12B5010323 for ; Mon, 15 Apr 2013 10:52:20 +0200 (CEST) Original-Received: from mail-bk0-x230.google.com (mail-bk0-x230.google.com [IPv6:2a00:1450:4008:c01::230]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3F8qI7t003290 for ; Mon, 15 Apr 2013 10:52:19 +0200 Original-Received: by mail-bk0-f48.google.com with SMTP id jf3so2172594bkc.7 for ; Mon, 15 Apr 2013 01:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:content-type:message-id:mime-version:subject:date :references:to:in-reply-to:x-mailer; bh=vH92bVu+cYXJUxdN4R/s8QFLBj/OINHL9h0CSr2GOPw=; b=uxYHze6jYjE/fuoRw5fSPqTuamI1nXBrQZkfNB3L6AJT06fe1Qo2eI0Y4G40rSFUpe NdFrozLnrPdx3OIWXCkgYhlQoNpv1h87JkWxH5JSVNDvHGy310eZFliC/mkkKgGO6K/T Zh0lvZbp54SZ1hVsoPWO9fLXeFpXcSPl69Ol0VyBfhEx2dl7pZSRHspGW1QqMX/jL9F5 q5m/4xuKITlz1+leVSRqecM2qx3wnjuFjBEsEKMhiJ2oCWCv2Rk8nCcUDjJwGWinpG4n qpWi10zYrAXv5kp2F9TSUEA3hFaObCOmqnHjW5ZoQOzMamw0+2NXKww8fhc4Rwa4OpwT c7Mw== X-Received: by 10.204.200.139 with SMTP id ew11mr7892517bkb.70.1366015938824; Mon, 15 Apr 2013 01:52:18 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4d073c87.pool.mediaWays.net. [77.7.60.135]) by mx.google.com with ESMTPS id fs20sm7978923bkc.8.2013.04.15.01.52.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 01:52:18 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4008:c01::230; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07Jo8Qjw4 - dd5842b8af43 - 20130415 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81701 Archived-At: --===============0205164554== Content-Type: multipart/alternative; boundary="Apple-Mail=_C6BF2CE6-3659-465B-8514-50D9D3BC200F" --Apple-Mail=_C6BF2CE6-3659-465B-8514-50D9D3BC200F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=GB2312 Am 15.04.2013 um 10:44 schrieb Tim Li : > Now I have to change the color of numbers just before the footnote = text so that it can match the color of text area. I try to do it like = this: > =20 > \def\myfootnotecolor#1{% > \startcolor[red]#1\stopcolor} > =20 > \setupfootnotes > [numbercommand=3D{\myfootnotecolor}] > =20 > or > =20 > \setupfootnotes > [foregroundcolor=3Dred] > =20 > either method has no effect. For the number in the running text you have to use \setupnote[footnote][textcolor=3Dred] while for the number in the footnote block you have to use \setupnotation[footnote][headcolor=3Dred] Wolfgang --Apple-Mail=_C6BF2CE6-3659-465B-8514-50D9D3BC200F Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=GB2312
Am 15.04.2013 um = 10:44 schrieb Tim Li <timli2013@outlook.com>:
=
Now I have to change = the color of numbers just before the footnote text so that it can match = the color of text area.  I try to do it like = this:
 
\def\myfootnotecolor#1{%
    = \startcolor[red]#1\stopcolor}
 
\setupfootnotes
  = = [numbercommand=3D{\myfootnotecolor}]
 
or
 
\setupfo= otnotes
   [foregroundcolor=3Dred]
 
either = method has no = effect.

For the number in the = running text you have to use

  = \setupnote[footnote][textcolor=3Dred]

while for = the number in the footnote block you have to = use

  = \setupnotation[footnote][headcolor=3Dred]

Wolfgan= g

= --Apple-Mail=_C6BF2CE6-3659-465B-8514-50D9D3BC200F-- --===============0205164554== 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 ___________________________________________________________________________________ --===============0205164554==--