I'm still relatively with using LaTeX but I've done a lot of searching to try and fix my problem (may have not been enough).
My issue is that I am after the page number in the top right of the header on every page, the chapter # and title (i.e., "Chapter 1. Introduction") in the top left of the header on every page and the footers empty on every page.
Also trying to get roman numerals on everything from the title to the start of the chapters and normal numbering from then onwards.
The two files I have are a title page (done in the \begin{titlepage}
) and the other is just a normal document done in the \chapter{}
, etc.
Below is my code, any help would be appreciated as I've been trying different things for roughly a month now.
\documentclass[pdftex,12pt,a4paper]{report}
\usepackage{graphicx}
% using fancy heading and footing
\usepackage{fancyhdr}
% need lastpage package to print 'Page 1 of 2' in footer
\usepackage{lastpage}
\usepackage{epstopdf}
\usepackage{setspace}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\setlength{\parindent}{0in}
\begin{document}
\pagestyle{fancy}
\fancyhead[LE,LO]{\slshape \leftmark}
\fancyhead[RO,RE]{\thepage}
\fancyfoot{}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\setlength{\parindent}{0in}
\input{./title_draft.tex}
\pagenumbering{roman}
\setcounter{tocdepth}{4}
\tableofcontents
\addcontentsline{toc}{chapter}{Contents}
\pagenumbering{arabic}
\input{./nom1.tex}
\end{document}