I am using white colored font on black page and somehow I am losing my page numbers. I suppose the page number is still in black color. So How do we set the color of page number? And while on the topic, how about color of page runners etc.
[Tex/LaTex] How to set the color of page number
colorheader-footer
Best Answer
You can add all the colour information into your page style using
fancyhdr
.In the following MWE, I've defined
mypagestyle
to set the page number inred
(using\textcolor{red}{\thepage}
) and modified the header rule macro\headrule
:The same would hold if you're interested in having a coloured footer rule. I've included the
\footrule
definition in comment, for completeness.