Hi all,
I am starting a new assignment and have tried to include a title page to my previous assignment template, but now I have an annoying page number at the bottm centre of the page, where I prefer it to be in the header (as it is).
How can I disable the number at the bottom but keep the page numbering in header?
Text will follow my thanks.
many thanks all.
\documentclass[a4paper]{article}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{enumerate}
\addtolength{\oddsidemargin}{-.875in}
\addtolength{\evensidemargin}{-.875in}
\addtolength{\textwidth}{1.75in}
\addtolength{\topmargin}{-.875in}
\addtolength{\textheight}{1.75in}
\lhead {\bfseries Shayne Berry}
\rhead{\bfseries {\thepage}}
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\begin{document}
\begin{titlepage}
\begin{center}
% Upper part of the page
\textsc{\LARGE [Your University]}\\[1.5cm]
\textsc{\Large [Course]}\\[0.5cm]
\textsc{\large [Course Title]}\\[0.5cm]
% Title
\HRule \\[0.4cm]
{ \huge \bfseries Title}\\[0.4cm]
\HRule \\[1.5cm]
% Author
\begin{center} \Large
\emph{Author:}\\
John \textsc{Smith}\\[3cm]
\end{center}
% Bottom of the page
{\large January 1, 2009}\\[4cm]
%\includegraphics{Logo}\\[1cm] % Department/University logo
\vfill
\end{center}
\end{titlepage}
\pagestyle{fancy}
Then begin entering your work here
\newpage
\end{document}
Page Layout ⇒ Unwanted page number 1
Unwanted page number 1
Last edited by srengam on Thu Sep 29, 2011 8:39 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.
Re: Unwanted page number 1
Solved.
Putting blank footer commands has solved it:
\lfoot{}
\cfoot{}
\rfoot{}
Putting blank footer commands has solved it:
\lfoot{}
\cfoot{}
\rfoot{}
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Unwanted page number 1
LaTeX.org admin