ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to change the color of numbers just before the footnote text?
@ 2013-04-15  8:44 Tim Li
  2013-04-15  8:52 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Li @ 2013-04-15  8:44 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 338 bytes --]

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={\myfootnotecolor}] or \setupfootnotes   [foregroundcolor=red] either method has no effect. 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 681 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to change the color of numbers just before the footnote text?
  2013-04-15  8:44 How to change the color of numbers just before the footnote text? Tim Li
@ 2013-04-15  8:52 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2013-04-15  8:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 666 bytes --]


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={\myfootnotecolor}]
>  
> or
>  
> \setupfootnotes
>    [foregroundcolor=red]
>  
> either method has no effect.

For the number in the running text you have to use

  \setupnote[footnote][textcolor=red]

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

  \setupnotation[footnote][headcolor=red]

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 1620 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-15  8:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-15  8:44 How to change the color of numbers just before the footnote text? Tim Li
2013-04-15  8:52 ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).