MWE (compiled w/ pdflatex)
Note that I use this file in conjunction with a bunch of other files that contain the content in the dissertation. The relevant \include statements were removed for brevity and ease of compilation of the MWE. I did not, however, remove any of the packages I am using, even though they aren't directly necessary for the MWE, because part of me suspects that there could be a conflict between packages.
Code: Select all
\documentclass[12pt,letterpaper,oneside]{book}
\usepackage{listings}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{pdflscape}
\usepackage{captcont}
\usepackage{setspace}
\usepackage{url}
\usepackage{fancyhdr}
\usepackage{textcomp}
\usepackage{longtable}
\usepackage[page,titletoc]{appendix}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[mathscr]{eucal}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{array}
\usepackage[Sonny]{fncychap}
\usepackage[top=1in, bottom=1in, left=1.5in, right=1in, includefoot]{geometry}
\usepackage[pdftex,bookmarks=true]{hyperref}
\hypersetup{ linkbordercolor={1 1 1},citebordercolor={1 1 1} }
\pagestyle{fancy}
\begin{document}
\onehalfspacing
\lstset{language=C}
\fancyhead{}
\rhead{\footnotesize{\emph{Texas Tech University, Bryan Hughes, December 2009}}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\frontmatter
\chapter{Frontmatter test}
This is some information on the first page where no header \emph{is not} present
\pagebreak
This is some information on the second page where the header \emph{is} present
\mainmatter
\chapter{Mainmatter Test}
This is some information on the first page where no header \emph{is not} present
\pagebreak
This is some information on the second page where the header \emph{is} present
\end{document}