[OS X TeX] suppressing page number in report class

Joshua Smith josh at virginia.edu
Tue Aug 8 18:43:36 CEST 2006


Hello all,

I am trying to format a dissertation using the report document class 
with the following structure: title page, abstract page, table of 
contents page, followed by main chapters.  I am using fancyhdr to 
control the page numbering.  I would like "Abstract" to appear in the 
same typeface as the chapter titles so I use \chapter*{Abstract}, but I 
cannot seem to suppress the page number on that page.  I am using the 
following (simplified) latex code below.  Why does 
\thispagestyle{empty} clear the page number for the title page but not 
the abstract page?  Any ideas around this?

Thank you for any help.

Josh Smith
University of Virginia


\documentclass{report}
\usepackage{fancyhdr}

% For the page numbers in the corner
\pagestyle{fancy}
\fancyhf{}
\fancyhead[R]{\thepage}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancypagestyle{plain}{
	\fancyhf{}
	\fancyhead[R]{\thepage}
	\renewcommand{\headrulewidth}{0pt}
	\renewcommand{\footrulewidth}{0pt}}
\fancypagestyle{empty}{
	\fancyhf{}
	\renewcommand{\headrulewidth}{0pt}
	\renewcommand{\footrulewidth}{0pt}}

\begin{document}

\thispagestyle{empty}

Sample Title

\newpage

\thispagestyle{empty}

\chapter*{Abstract}

\tableofcontents

\chapter{First Chapter}

\end{document}

------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list