Changing page style defination of "fancyhdr" package.

In this post I will show how to change the definition of the page style (say empty) if you are using fancyhdr package. Just add the following type of code in the preamble of the document (before the \begin{document}):

\fancypagestyle{empty}{%
\fancyhf{} % clear all header and footer fields
\fancyfoot[R]{\bfseries \em \thepage } % except the center
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{1pt}}

Here you can use all kind of fancyhdr package command to specify you options and formatting.

Hope this will be helpful.

Cheers
APaul

Comments

Popular posts from this blog

Changing caption width in latex

Subtitle in latex

Send in Email in Background in Thunderbird