I want to color all elements of a footnote, but I cannot find how to do this.
Minimal example:

\def\rednumber#1{\color[red]{#1}}
\starttext
\setupfootnotes[textcolor=red,numbercommand=\rednumber,foregroundcolor=red]
This text\footnote{the footnote} contains a footnote.
\stoptext

The footnotenumber in the text is the only element that gets colored because of the [textcolor=red] parameter setting.

In the command reference it is [numbercommand=\rednumber]. Shouldn't that have made the color of the footnotenumber below?

Since \setupfootnotes inherits from setupframed I expected [foregroundcolor=red] to do the trick for the content of the footnote, but it doesn't.

How to?

Hans van der Meer

Attachment: footnotecolor.pdf
Description: Adobe PDF document

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

Reply via email to