I am writing my bachelor's thesis and the requirements for the first page are:

• in the header - name of the intitution
• in the center - the title of the paper
• in the footer - the town and the year

How can I do this?

I have tried to use the fancyhdr package and have managed to change the header, but that applies only on the pages in my paper, and not to the first page. The header does not have to be underlined. Also, on the next pages, I don't want any header to appear.

This is what I have so far:

\documentclass[a4paper,10pt]{report}
\usepackage{fancyhdr}

\pagestyle{fancy}
\title{Title}
\author{Author}

\begin{document}
\end{document}


Try This:

\documentclass[a4paper,10pt]{report}
\usepackage{fancyhdr}

% \pagestyle{fancy}
\fancypagestyle{empty}{%
\fancyhf{}% removes h/f
\fancyfoot[r]{Town and year}
}

\title{Title}
\author{Author}

\begin{document}
\maketitle

\begin{abstract}
\thispagestyle{plain}
\end{abstract}
\end{document}

• It works, only I have one more problem. My abstract is on a separate page and the header and footer also appear there. Can I erase them from that page? Dec 30, 2013 at 11:59
• I have edited my post
– Umz
Dec 30, 2013 at 12:08

or in this way

\pagestyle{fancy} % options: empty , plain , fancy