fancy page headers
WARNING: Please update your bookmarks! The content of this site has been moved to http://dille.name where it will be updated as needed. This page will remain unchanged.
fancy headers allow you to customize the header and footer line:- document layout:
% ... \usepackage{fancyhdr} % ... \begin{document} % ... \end{document} - index page:
to find out how to force your index to use fancy headers see indexing - example for an article:
% ... \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} \fancyhf{} \fancyhead[LE,RO]{\bfseries\thepage} \fancyhead[LO]{\bfseries\rightmark} \fancyhead[RE]{\bfseries\leftmark} \renewcommand{\headrulewidth}{0.5pt} \renewcommand{\footrulewidth}{0.5pt} \addtolength{\headheight}{0.5pt} \addtolength{\footskip}{0.5pt} \cfoot{<author>} % ... \begin{document} % ... \end{document}
NOTE: fancyhdr will use margin lengths (as in small page margins), therefore margins should be set before fancyhdr.



