Saturday, June 5, 2010

Latex fancyhdr does not print the header/footer

Make sure that :
is present after the last usepackage tag. The following the begin{document} tag use the following code:
\pagestyle{fancy} %\thispagestyle{fancy}
\fancyhead{\textbf{--- This is a draft ---}}
The most important part is to remember that this code should be placed after the begin{document} tag, else the header will not print. The code mentioned above can be customized to make sure the header is printed as per custom requirements.


Post a Comment