My objective is to add a footer only in the first page of my document, but the problem is that the page numbering is missing. How can i please fix this issue and have the footer only in the first page without missing the page numbering for all pages? Here is the code I'm using:
before \begin{document}
:
\usepackage{lipsum}
\usepackage{fancyhdr}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyfoot[L]{my sentence}
\pagestyle{empty}
and after \maketitle
:
\thispagestyle{fancy}
Here is the full code:
\documentclass[journal]{IEEEtran}
\usepackage[cmex10]{amsmath}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\usepackage{lipsum}
\usepackage{fancyhdr} %\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancyfoot[L]{..footer sentence..}
\begin{document}
\title{..the tiltle..}
\maketitle
\thispagestyle{fancy}
\begin{abstract} ..the abstract.. \end {abstract}
..\\ ..the body.. \newpage ... \newpage ...
\end{document}
\fancyhf{}
remmoves everything. Remmove that line.