I'm looking to get chapter names in the header of my document. I am using the article
class, and the code below is an example of how each chapter/section begins.
\noindent {\huge \textbf {Chapter 1}}
\section{Introduction}
What I'm looking to achieve is a header with the following on the right-hand side:
CHAPTER 1: INTRODUCTION
The header for the pages in chapter two should be:
CHAPTER 2: THEORY
and so on.
Could anyone assist me with this? I know a little about the fancyhdr
package, but as I understand, it uses the chapter name in the book
class, while I am looking to insert text, and the section name in the article
class.
\chapter
in other document classes that have them. What do you want on the left page header? Do you only have one\section
per "chapter"? – Werner Apr 24 '14 at 14:20\section
? – Werner Apr 24 '14 at 14:26book
class if you have chapters? – egreg Apr 24 '14 at 14:26report
class. You can have chapters (and I have them in myfancyhdr
output. Incidentally, I have just inserted an abstract by just writing "Abstract" and putting some text after it. I don't really understand the point of the abstract environment TBH! – FionaSmith Apr 24 '14 at 15:03