Page Layout ⇒ Unwanted page number 1
Unwanted page number 1
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}
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Unwanted page number 1
Putting blank footer commands has solved it:
\lfoot{}
\cfoot{}
\rfoot{}
- Stefan Kottwitz
- Site Admin
- Posts: 10397
- Joined: Mon Mar 10, 2008 9:44 pm