I am looking to see how I can apply \fancyhdr
to make the page number appear at the bottom. What I found inside the TEX forum doesn't seem to work because I am using the \newpage
command to create new pages when starting new sections. I am new to TEX and don't know how to create a work around. How can I adjust what I have written below so that the page number will appear at the bottom of every page? Also inside the table of contents.
\documentclass[12pt,a4paper]{report}
\usepackage[a4paper,margin=6mm]{geometry}
\usepackage{amsmath}
\usepackage{lipsum}
\usepackage{fancyhdr}
\fancypagestyle{axionstyle}{%
\fancyhf{}
\renewcommand{\headrulewidth}{5pt}
\cfoot{\huge \textbf{\thepage}} % for example
}
\title{COMPUTATIONAL METHODS FOR THE RIEMANN ZETA FUNCTION}
\author{Axion004}
\begin{document}
\maketitle
\tableofcontents
\clearpage
\section*{Summary}
\addcontentsline{toc}{section}{Summary}
\pagenumbering{gobble}
\setcounter{page}{1}
.
.
.
\newpage
\section*{Introduction}
\addcontentsline{toc}{section}{Introduction}
.
.
.
\newpage
\section*{The Cauchy-Schlomilch transformation and Zeta(s)}
\addcontentsline{toc}{section}{The Cauchy-Schlomilch transformation and Zeta(s)}
.
.
.
\end{document}
Here is an example of how the Table of Contents looks like
And some pages without a page number