Can we change the color of a logical type of text, say every header or every footer, by a single command? Header and footer is using fancyhdr.
I believe it should be a \renewcommand but won't it affect dependent packages like fancyhdr? I could define newer macros from the one which fancyhdr uses like \rfoot or \cfoot, to say \rfootcolored or \cfootcolored. But then I have to redesign the entire header/footer from scratch...which I don't want to do..
A MWE..
\documentclass{book}
\usepackage{lipsum}
\usepackage{fancyhdr}
\begin{document}
\pagestyle{fancy}
\chapter{Lipsum}
\lipsum[1-6]
\section{lipsumsection}
\lipsum[7-10]
\chapter{Lipsum2}
\lipsum[2-7]
\end{document}

fancyhdr, and then you might answer "Actually, I'm usingmemoir, and this approach isn't working". You should always try to make questions as concrete and detailed as possible. – Jake Jun 25 '12 at 12:40ifelsestatement would be the simplest way here. – azetina Jun 25 '12 at 14:30\documentclassand the appropriate packages. This will also serve as a test case and ensure that the solution actually works for you. – Peter Grill Jun 26 '12 at 5:13