Setting 0 margin in header using LaTeX's fancyhdr
- by Morten
Hi,
I'm trying to define a custom layout for my report for which I'm using fancyhdr. On the pages which contains a chapter start I want my header to contain a colorbox spanning across the whole page (0 cm margins) although keeping my defaults margin in the text area. I can get the box to span across the "margin notes" area, but not the other side. Here's some of my code:
\fancypagestyle{plain}{ % pages containing chapter start
\fancyhead{}
\fancyhead[RO]{\colorbox{NavyBlue}{\textcolor{White}{\raisebox{0cm}[1cm][0.5cm]{\makebox[3cm][c]{\textbf{\CNoV\thechapter}}}}}
}
Any ideas on how to do it?