How can I make sure that the references page has no number in the header (i. e., I still want a header, but without a number).
MWE with the problem:
\documentclass[]{article}
\usepackage{fancyhdr}
\fancyhf{} % clear the headers
\fancyhead[LE,RO]{%
% We want italics
\itshape
% The chapter number only if it's greater than 0
\ifnum\value{section}>0 \thesection. \fi
% The chapter title
\leftmark}
\fancyfoot[C]{\thepage}
\fancypagestyle{plain}{
\renewcommand{\headrulewidth}{0pt}
\fancyhf{}
\fancyfoot[C]{\thepage}
}
\setlength{\headheight}{14.5pt}
\pagestyle{fancy}
\begin{document}
\section{Example}
\clearpage
\renewcommand{\thepage}{}
\begin{thebibliography}{99}
\end{thebibliography}
\end{document}
Best Answer
Define a new page style, say,
bib
likewithout the section number and then just before
\begin{thebibliography}{99}
issue\pagestyle{bib}
Code: